[Metacello] Adding existing metacello project to my new project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Metacello] Adding existing metacello project to my new project

sergio_101

okay, i have finally decided to spend some time figuring out metacello..

for those doing the same, i would say, do this first:


then, use the “deep into pharo” chapter as needed..

anyway.. i am having a little bit of trouble doing one thing.

I need to include VoyageMongo in my project. It’s available in the project catalog, so i tried doing something like:

baseline01: spec
<version: '0.1-baseline'>
spec
for: #common
do: [ spec blessing: #baseline.
spec repository: 'http://smalltalkhub.com/mc/sergio101/InternetRadioRest/main'.
spec package: 'InternetRadioJam'.
spec package: 'VoyageMongo’ ]

but that doesn’t work. i tried several other configurations with no luck..

The website for VoyageMongo shows:

Metacello new  
    repository: 'github://pharo-nosql/voyage/mc';
    baseline: 'Voyage';
    load: 'mongo tests’


but i can’t quite figure out the proper syntax to make this happen..

ideas?

thanks!


----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

signature.asc (852 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Adding existing metacello project to my new project

philippeback
Check how seaside dependency is done in here: https://github.com/Pharophile/PechaKucha

Phil

On Wed, Feb 8, 2017 at 4:06 PM, sergio ruiz <[hidden email]> wrote:

okay, i have finally decided to spend some time figuring out metacello..

for those doing the same, i would say, do this first:


then, use the “deep into pharo” chapter as needed..

anyway.. i am having a little bit of trouble doing one thing.

I need to include VoyageMongo in my project. It’s available in the project catalog, so i tried doing something like:

baseline01: spec
<version: '0.1-baseline'>
spec
for: #common
do: [ spec blessing: #baseline.
spec package: 'InternetRadioJam'.
spec package: 'VoyageMongo’ ]

but that doesn’t work. i tried several other configurations with no luck..

The website for VoyageMongo shows:

Metacello new  
    repository: 'github://pharo-nosql/voyage/mc';
    baseline: 'Voyage';
    load: 'mongo tests’


but i can’t quite figure out the proper syntax to make this happen..

ideas?

thanks!


----
peace,
sergio
photographer, journalist, visionary


Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Adding existing metacello project to my new project

gcotelli
In reply to this post by sergio_101
Something like this:

...

spec
        baseline: 'Voyage' with: [ spec repository: 'github://pharo-nosql/voyage/mc'; load: #( 'mongo' 'tests') ];
import: 'Voyage'.

spec
        package: 'InternetRadioJam' with: [ spec requires: 'Voyage' ]

...

On Wed, Feb 8, 2017 at 12:06 PM, sergio ruiz <[hidden email]> wrote:

okay, i have finally decided to spend some time figuring out metacello..

for those doing the same, i would say, do this first:


then, use the “deep into pharo” chapter as needed..

anyway.. i am having a little bit of trouble doing one thing.

I need to include VoyageMongo in my project. It’s available in the project catalog, so i tried doing something like:

baseline01: spec
<version: '0.1-baseline'>
spec
for: #common
do: [ spec blessing: #baseline.
spec package: 'InternetRadioJam'.
spec package: 'VoyageMongo’ ]

but that doesn’t work. i tried several other configurations with no luck..

The website for VoyageMongo shows:

Metacello new  
    repository: 'github://pharo-nosql/voyage/mc';
    baseline: 'Voyage';
    load: 'mongo tests’


but i can’t quite figure out the proper syntax to make this happen..

ideas?

thanks!


----
peace,
sergio
photographer, journalist, visionary


Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Adding existing metacello project to my new project

sergio_101
I think i’m doing it wrong..

this is all i could find in there..




On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli ([hidden email]) wrote:

Check how seaside dependency is done in here: https://github.com/Pharophile/PechaKucha

Phil
----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

signature.asc (852 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Adding existing metacello project to my new project

sergio_101
In reply to this post by gcotelli
Hmmm.. gonna have to toy with this.. this is giving me other errors.. namely that baseline is no longer defined..

On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli ([hidden email]) wrote:

spec
        baseline: 'Voyage' with: [ spec repository: '<a href="github://pharo-nosql/voyage/mc" style="font-family: 'helvetica Neue', helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">github://pharo-nosql/voyage/mc'; load: #( 'mongo' 'tests') ];
import: 'Voyage'.
----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

signature.asc (852 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Adding existing metacello project to my new project

sergio_101
In reply to this post by gcotelli
found it.. 

load: #( 'mongo' 'tests') 

should be:

loads: #( 'mongo' 'tests') 

thanks!

On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli ([hidden email]) wrote:

spec
        baseline: 'Voyage' with: [ spec repository: '<a href="github://pharo-nosql/voyage/mc" style="font-family: 'helvetica Neue', helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">github://pharo-nosql/voyage/mc'; load: #( 'mongo' 'tests') ];
import: 'Voyage'.
----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

signature.asc (852 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Metacello] Adding existing metacello project to my new project

philippeback
In reply to this post by sergio_101

On Wed, Feb 8, 2017 at 8:29 PM, sergio ruiz <[hidden email]> wrote:
I think i’m doing it wrong..

this is all i could find in there..




On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli ([hidden email]) wrote:

Check how seaside dependency is done in here: https://github.com/Pharophile/PechaKucha

Phil