Loading a single file

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

Loading a single file

Alexandre Bergel-5
Hi!

How can I load a single file within a configuration? I tried the following:

spec project: 'Additional parsers' with: [
        spec
                className: 'PetitXml';
                file: 'PetitXml';
                repository: 'http://www.squeaksource.com/PetitParser'.
        spec
                className: 'PetitSmalltalk';
                file: 'PetitSmalltalk';
                repository: 'http://www.squeaksource.com/PetitParser'. ].
       ].

But I got an error (no version found).

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Reply | Threaded
Open this post in threaded view
|

Re: Loading a single file

Mariano Martinez Peck


On Tue, Nov 23, 2010 at 9:16 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

How can I load a single file within a configuration? I tried the following:

spec project: 'Additional parsers' with: [
       spec
               className: 'PetitXml';
               file: 'PetitXml';
               repository: 'http://www.squeaksource.com/PetitParser'.


   spec
               package: 'PetitXml';
               repository: 'http://www.squeaksource.com/PetitParser'.
 
does it work?


       spec
               className: 'PetitSmalltalk';
               file: 'PetitSmalltalk';
               repository: 'http://www.squeaksource.com/PetitParser'. ].
      ].

But I got an error (no version found).

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.