Creating a new Configuration

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

Creating a new Configuration

Sean DeNigris


MetacelloConfigTemplate class>>createConfigurationForPackage: aString
        "self createConfigurationForPackage: 'WebClient'"

        (MetacelloConfigTemplate duplicateClassWithNewName:
'ConfigurationOf' , aString)
                category: 'ConfigurationOf' , aString
Reply | Threaded
Open this post in threaded view
|

Re: Creating a new Configuration

Sean DeNigris
Hit send by accident...

Title: Intention revealing Creation of a new ConfigurationOfXxx

I added the following method to MetacelloConfigTemplate class, making
this step from the tutorial a 1st class member of the API...

MetacelloConfigTemplate class>>createConfigurationForPackage: aString
        "self createConfigurationForPackage: 'WebClient'"

        (MetacelloConfigTemplate duplicateClassWithNewName:
'ConfigurationOf' , aString)
                category: 'ConfigurationOf' , aString

I filed a bug report @ http://code.google.com/p/metacello/issues/detail?id=97
because I wasn't sure how to attach a file here.

Sean
Reply | Threaded
Open this post in threaded view
|

Re: Creating a new Configuration

Dale Henrichs
Sean DeNigris wrote:

> Hit send by accident...
>
> Title: Intention revealing Creation of a new ConfigurationOfXxx
>
> I added the following method to MetacelloConfigTemplate class, making
> this step from the tutorial a 1st class member of the API...
>
> MetacelloConfigTemplate class>>createConfigurationForPackage: aString
> "self createConfigurationForPackage: 'WebClient'"
>
> (MetacelloConfigTemplate duplicateClassWithNewName:
> 'ConfigurationOf' , aString)
> category: 'ConfigurationOf' , aString
>
> I filed a bug report @ http://code.google.com/p/metacello/issues/detail?id=97
> because I wasn't sure how to attach a file here.
>
> Sean

Excellent ... I prefer the issue tracker...easier to keep track of what
was done and not done ...

Dale