On 1 October 2010 08:48, Mariano Martinez Peck <marianopeck@gmail.com> wrote:With a little effort, you can embed source code into method trailers.
>
>
> On Thu, Sep 30, 2010 at 11:07 PM, Johan Fabry <jfabry@dcc.uchile.cl> wrote:
>>
>> Hi all,
>>
>> I am planning to put online a minimal image that contains AspectMaps, with
>> some models pre-loaded. Two questions:
>> - Is there an easy way to strip this image of dev tools et cetera?
>
> Not really. The easiest way is to have a Configuration of Metacello that
> takes care of loading all your code with all your dependencies. Then, take a
> PharoCore and load your code there.
> In addition, you may want to evaluate "ScriptLoader cleanUpForProduction" at
> the end. Check the method to see what it does.
>
>>
>> - How can I make it so that I can distribute it without the changes file?
>> (Right now the image complains of a missing changes file if it is not there
>> ...)
>>
>
> I am aware of "Smalltalk abandonSources"� to avoid using .sources. You won't
> see things like the temp names, and stuff will be decompiled instead.
Then you won't need .sources nor .chanes to see the real source
instead of decompiling it.
But you will loose method stamps.
yeah.
> For the .changes you can start the image without them, there will raise a
> popup at the beginning. The problem is if you then do sometthing that should
> be written there. Not sure here...
>
--
> cheers
>
> Mariano
>
>
>
>>
>> Thanks in advance!
>> --
>> Johan Fabry
>> jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry
>> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> Pharo-users@lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> _______________________________________________
> Pharo-users mailing list
> Pharo-users@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
Pharo-users mailing list
Pharo-users@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users