Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-05 Thread Shai Almog
This can't be fixed in the old GUI builder conceptually. The new GUI 
builder might work, it's not something we tested but it doesn't have 
architectural limits.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/d180e405-d046-4462-9931-a3e9b0019d80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-05 Thread Gareth Murfin
Im assuming if I move to the new gui builder I can do this? Otherwise it 
should be implemented.

On Friday, August 5, 2016 at 2:13:18 PM UTC+8, Shai Almog wrote:
>
> No. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e5ef8f46-c33d-4d43-bb28-623f9ddd47bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-04 Thread Shai Almog
No. 

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/089b1f1b-13d6-410d-978b-d21fa986c656%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-04 Thread Gareth Murfin
So  you or cant do createContainer? i just want to load up some stuff from 
my theme.res inside a lib.

On Wednesday, August 3, 2016 at 12:59:03 AM UTC+8, Steve Hannah wrote:
>
> The old GUIBuilder is not amenable to splitting things into modules - it 
> uses a monolithic app structure.  Themes, however, can be packaged into 
> cn1libs quite nicely, and the new GUI builder can also work in a modular 
> way, since the generated form classes take a Resources object as a 
> parameter.
>
> However, my in my personal experience, many of these IDE features aren't 
> easily available inside library projects.  Usually if I want to do 
> something creative, I just use a regular application project, and then 
> create a custom ANT script for packaging what I need into a cn1lib.  The 
> format of a cn1lib is pretty straight forward, so it's pretty easy to just 
> wrap whatever I want into it.
>
> Steve
>
> On Tue, Aug 2, 2016 at 9:39 AM, Gareth Murfin  > wrote:
>
>> Thanks a lot. Also since there is no statemachine in a cn1lib, how do you 
>> do things like createContainer? Can you actually have a lib with a theme in 
>> it, and gui forms etc? I want to bundle up my chat functionality into a 
>> lib, including screens etc. The it would be an extremely easy way for any 
>> app to add a chat room.
>>
>> On Wednesday, August 3, 2016 at 12:33:57 AM UTC+8, Steve Hannah wrote:
>>>
>>> If you want to develop a lib that depends on another lib, just add the 
>>> "build/classes" of the "depended upon" library project to the classpath of 
>>> the project's lib.
>>>
>>> E.g.  If project A depends on project B, add B/build/classes to the 
>>> classpath of A.
>>>
>>> Steve
>>>
>>> On Tue, Aug 2, 2016 at 9:27 AM, Gareth Murfin  
>>> wrote:
>>>
 Is it possible to have a lib inside another lib? The option for 
 freshing libs seems to be ghosted out.

 -- 
 You received this message because you are subscribed to the Google 
 Groups "CodenameOne Discussions" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to codenameone-discussions+unsubscr...@googlegroups.com.
 Visit this group at 
 https://groups.google.com/group/codenameone-discussions.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/codenameone-discussions/be979355-6991-4e33-88a4-b42b290d0dc0%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Steve Hannah
>>> Software Developer
>>> Codename One
>>> http://www.codenameone.com
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to codenameone-discussions+unsubscr...@googlegroups.com 
>> .
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/a00536d2-1330-47b9-9b21-2150330f34e8%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c408febd-ad3f-4062-aa3b-4e349521c05f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-02 Thread Steve Hannah
The old GUIBuilder is not amenable to splitting things into modules - it
uses a monolithic app structure.  Themes, however, can be packaged into
cn1libs quite nicely, and the new GUI builder can also work in a modular
way, since the generated form classes take a Resources object as a
parameter.

However, my in my personal experience, many of these IDE features aren't
easily available inside library projects.  Usually if I want to do
something creative, I just use a regular application project, and then
create a custom ANT script for packaging what I need into a cn1lib.  The
format of a cn1lib is pretty straight forward, so it's pretty easy to just
wrap whatever I want into it.

Steve

On Tue, Aug 2, 2016 at 9:39 AM, Gareth Murfin 
wrote:

> Thanks a lot. Also since there is no statemachine in a cn1lib, how do you
> do things like createContainer? Can you actually have a lib with a theme in
> it, and gui forms etc? I want to bundle up my chat functionality into a
> lib, including screens etc. The it would be an extremely easy way for any
> app to add a chat room.
>
> On Wednesday, August 3, 2016 at 12:33:57 AM UTC+8, Steve Hannah wrote:
>>
>> If you want to develop a lib that depends on another lib, just add the
>> "build/classes" of the "depended upon" library project to the classpath of
>> the project's lib.
>>
>> E.g.  If project A depends on project B, add B/build/classes to the
>> classpath of A.
>>
>> Steve
>>
>> On Tue, Aug 2, 2016 at 9:27 AM, Gareth Murfin 
>> wrote:
>>
>>> Is it possible to have a lib inside another lib? The option for freshing
>>> libs seems to be ghosted out.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to codenameone-discussions+unsubscr...@googlegroups.com.
>>> Visit this group at
>>> https://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/codenameone-discussions/be979355-6991-4e33-88a4-b42b290d0dc0%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Steve Hannah
>> Software Developer
>> Codename One
>> http://www.codenameone.com
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/a00536d2-1330-47b9-9b21-2150330f34e8%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVgHLRbGqK9043Ztq5QJ0a0r452Rv45X-iKB4Obn23OeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-02 Thread Gareth Murfin
Thanks a lot. Also since there is no statemachine in a cn1lib, how do you 
do things like createContainer? Can you actually have a lib with a theme in 
it, and gui forms etc? I want to bundle up my chat functionality into a 
lib, including screens etc. The it would be an extremely easy way for any 
app to add a chat room.

On Wednesday, August 3, 2016 at 12:33:57 AM UTC+8, Steve Hannah wrote:
>
> If you want to develop a lib that depends on another lib, just add the 
> "build/classes" of the "depended upon" library project to the classpath of 
> the project's lib.
>
> E.g.  If project A depends on project B, add B/build/classes to the 
> classpath of A.
>
> Steve
>
> On Tue, Aug 2, 2016 at 9:27 AM, Gareth Murfin  > wrote:
>
>> Is it possible to have a lib inside another lib? The option for freshing 
>> libs seems to be ghosted out.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to codenameone-discussions+unsubscr...@googlegroups.com 
>> .
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/be979355-6991-4e33-88a4-b42b290d0dc0%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a00536d2-1330-47b9-9b21-2150330f34e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Including a Lib inside a Lib

2016-08-02 Thread Steve Hannah
If you want to develop a lib that depends on another lib, just add the
"build/classes" of the "depended upon" library project to the classpath of
the project's lib.

E.g.  If project A depends on project B, add B/build/classes to the
classpath of A.

Steve

On Tue, Aug 2, 2016 at 9:27 AM, Gareth Murfin 
wrote:

> Is it possible to have a lib inside another lib? The option for freshing
> libs seems to be ghosted out.
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/be979355-6991-4e33-88a4-b42b290d0dc0%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKU3Andr3PyQ%3DWRv6MvJG0Wa%3D0A55yeuar31jSuo2v0MPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.