[7.8] Packaging with the SettingsDomain class

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

[7.8] Packaging with the SettingsDomain class

Carl Gundel-2
I created a subclass of SettingsDomain for my application.  This works
great in the development environment, but I'm having a very hard time
including this functionality when I try to package a runtime
application.  Has anyone else tried this?  Any suggestions?

This functionality is described in the docs like it is meant for
general application use, but it is in the Tools-IDE bundle.  Why is
this?

Thanks,

-Carl Gundel
http://www.libertybasic.com
http://www.runbasic.com
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Packaging with the SettingsDomain class

Runar Jordahl
Take a look at RuntimePackager.RuntimeBuilderItems>>defaultPackageNamesDeleted.

It seems like this bundle is removed by default.

I would consider not using SettingsDomain, or any other class in
Tools-IDE bundle, in runtime code.

Kind regards,
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Packaging with the SettingsDomain class

jarober
In reply to this post by Carl Gundel-2
I just don't rip that package (Tools-IDE) out when I package.  If you use RTP, tell it not to take it out.  If you don't use RTP, that's easier to accomplish.

On Jul 3, 2012, at 10:21 PM, Carl Gundel wrote:

> I created a subclass of SettingsDomain for my application.  This works
> great in the development environment, but I'm having a very hard time
> including this functionality when I try to package a runtime
> application.  Has anyone else tried this?  Any suggestions?
>
> This functionality is described in the docs like it is meant for
> general application use, but it is in the Tools-IDE bundle.  Why is
> this?
>
> Thanks,
>
> -Carl Gundel
> http://www.libertybasic.com
> http://www.runbasic.com
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

James Robertson
http://www.jarober.com
[hidden email]




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Packaging with the SettingsDomain class

Shiro Ogawa
I think RTP tries to strip too much. In the present day environment
with most computers have at least 4GB memory, the demand to make
application foot-prints as small as possible does not exist. James put
out a nice Smalltalk Daily of how to make a run-time package by
scripting.

Shiro Ogawa

On 7/4/12, James Robertson <[hidden email]> wrote:

> I just don't rip that package (Tools-IDE) out when I package.  If you use
> RTP, tell it not to take it out.  If you don't use RTP, that's easier to
> accomplish.
>
> On Jul 3, 2012, at 10:21 PM, Carl Gundel wrote:
>
>> I created a subclass of SettingsDomain for my application.  This works
>> great in the development environment, but I'm having a very hard time
>> including this functionality when I try to package a runtime
>> application.  Has anyone else tried this?  Any suggestions?
>>
>> This functionality is described in the docs like it is meant for
>> general application use, but it is in the Tools-IDE bundle.  Why is
>> this?
>>
>> Thanks,
>>
>> -Carl Gundel
>> http://www.libertybasic.com
>> http://www.runbasic.com
>> _______________________________________________
>> vwnc mailing list
>> [hidden email]
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
> James Robertson
> http://www.jarober.com
> [hidden email]
>
>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.8] Packaging with the SettingsDomain class

Niall Ross
In reply to this post by jarober
Dear Carl,
    in 7.10, I'm fixing a bug that allows the RTP sometimes to strip the
superclass of a class it's been ordered to keep.  Your example - a
subclass you've created whose superclass is in a package stripped by
default - is IIRC just such a case.  To avoid, as James suggests,
override the default strip-outs to leave in either all Tools-IDE if your
space requirements and etc. are happy with it or else just the bundle
with the superclass and anything it needs.

             Yours faithfully
                   Niall Ross

>I just don't rip that package (Tools-IDE) out when I package.  If you use RTP, tell it not to take it out.  If you don't use RTP, that's easier to accomplish.
>
>On Jul 3, 2012, at 10:21 PM, Carl Gundel wrote:
>
>  
>
>>I created a subclass of SettingsDomain for my application.  This works
>>great in the development environment, but I'm having a very hard time
>>including this functionality when I try to package a runtime
>>application.  Has anyone else tried this?  Any suggestions?
>>
>>This functionality is described in the docs like it is meant for
>>general application use, but it is in the Tools-IDE bundle.  Why is
>>this?
>>
>>Thanks,
>>
>>-Carl Gundel
>>http://www.libertybasic.com
>>http://www.runbasic.com
>>_______________________________________________
>>vwnc mailing list
>>[hidden email]
>>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>>    
>>
>
>James Robertson
>http://www.jarober.com
>[hidden email]
>
>
>
>
>_______________________________________________
>vwnc mailing list
>[hidden email]
>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
>  
>


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc