Re: [codenameone-discussions] Re: ios builds failing

2017-03-28 Thread Dave Dyer
I can construct a simple example, after I regain the ability to make builds at all. -- 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-discu

Re: [codenameone-discussions] Dynamically Change Component Position

2017-03-28 Thread David
Hi Steve, I set Container1 to border layout and add the following code for a button action: findContainer1(c.getComponentForm()).add(BorderLayout.CENTER, new Component() { @Override public void paint(Graphics g) { g.setColor(0xff); g.fillRect(getX(), getY(), getWidth(), getHeight()); } });

Re: [codenameone-discussions] how to remove a Form from memory after showback()

2017-03-28 Thread Dr. Roman Javier Canoniero
steve: i use : myForm form1 = new myForm(Display.getInscance().getCurrent()); form1.show(); and when i postback i put: prevForm.showBack(); in my custom form class i set prevForm with the Display.getInscance().getCurrent() what i sent

Re: [codenameone-discussions] Re: ios builds failing

2017-03-28 Thread Steve Hannah
> > > for my excessive build times have been discussed at length on other > threads. > I recall must talk of your long build times in other threads, and your description in general terms of changes that would speed your build times up, but I haven't seen any concrete examples or test cases. If yo

[codenameone-discussions] Re: ios builds failing

2017-03-28 Thread Dave Dyer
> When you say 50 minutes there is a good chance you spend a lot of that in > a queue behind one of the other guys in this thread that is hogging the > servers. > Nope, the builds usually switch over from "queued" to "in progress" pretty quickly, and the best time is still on the order of 55

Re: [codenameone-discussions] Dynamically Change Component Position

2017-03-28 Thread Steve Hannah
I wouldn't override Label. Rather just override Component since you're going to be doing custom drawing anyways -- you don't need the default rendering of Label. Since this is your first custom component, you should start simple. Just draw a rectangle and then test. When you get that working an

Re: [codenameone-discussions] Re: Unable to generate android build

2017-03-28 Thread Steve Hannah
It sounds like something is screwed up in the project config. You might want to try grepping the project (especially build and properties files) for the string "javac1.8" to see where it is. Other than that, try creating a fresh project and copy your source into it, and build that project. One o

Re: [codenameone-discussions] how to remove a Form from memory after showback()

2017-03-28 Thread Steve Hannah
As long as you're not keeping an active reference to the Form object, it will be garbage collected. Steve On Mon, Mar 27, 2017 at 8:26 PM, wrote: > Hi! what is the right way to remove a Form from memory after a showBack? > > thanks! > > > If you are experiencing an issue please mention the full

Re: [codenameone-discussions] Re: ios builds failing

2017-03-28 Thread mcellinpaul
mine has just built :) On Tue, Mar 28, 2017 at 3:02 PM +0100, "Shai Almog" wrote: I'm on the bootcamp right now but it was probably bad to set this up right before I started so I'm upping this to 25 minutes. Notice this applies to everyone (even us and enterprise developers), thi

Re: [codenameone-discussions] Dynamically Change Component Position

2017-03-28 Thread David
Hi Steve, I'm trying to use drawImage() method of Graphics class. I have inserted a new label on the form, using the Codename One Designer and I should override the paint method of the label to draw the image on it, right? I'm having trouble doing that, could you please give me a hint? Best re

[codenameone-discussions] Re: ios builds failing

2017-03-28 Thread Shai Almog
I'm on the bootcamp right now but it was probably bad to set this up right before I started so I'm upping this to 25 minutes. Notice this applies to everyone (even us and enterprise developers), this isn't an attempt to grab money but rather to force you to share the common resource nicely...

[codenameone-discussions] Re: ios builds failing

2017-03-28 Thread Jérémy MARQUER
My iOS build are also too long ! Most of the time, about 15 minutes. Sometimes, more than 25 minutes ... For android build, it tooks between 1 or 2 minutes only!! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from t

[codenameone-discussions] Re: ios builds failing

2017-03-28 Thread mcellinpaul
I'm getting this too I'm afraid. My builds normally take a lot more than 15 minutes. Paul On Monday, March 27, 2017 at 3:29:47 AM UTC+1, Dave Dyer wrote: > > > IOS builds are failing (again, sigh) same build, 4x in a row for me. > > /zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build6096280022432961172xx

Re: [codenameone-discussions] Re: Unable to generate android build

2017-03-28 Thread CODENAME1
classpath="lib/CodenameOne.jar:${build.classes.dir}:lib/impl/cls"> - this is what i have on line 155 this is part of the below code. Also, java variables are set as below JAVA_HOME C:\Program Files\Java\jdk1.8.0_121 if i replace java 1.8 with 1.7 everything works well... i a