Skip to main content

ant task in Version 1.2 throws an Exception when compile

4 replies [Last post]
joersch
Offline
Joined: 2008-11-06
Points: 0

I design in the new designer from 1.2 release a simple gradient menu. After Export i get this code:

<br />
Menu.bgGradient=102,10066431,1.0,1.0<br />
Command.sel\#bgGradient=10066431,102,0.5,0.5<br />
Menu.bgType=GRADIENT_LINEAR_HORIZONTAL<br />
CommandList.margin=10,10,2,2<br />
Command.sel\#bgType=GRADIENT_LINEAR_HORIZONTAL<br />

if i compile this with the ant task back to e resource file i get this error:

<br />
java.lang.ArrayIndexOutOfBoundsException: 4<br />
        at com.sun.lwuit.util.EditableResources.saveTheme(EditableResources.java:606)<br />
        at com.sun.lwuit.util.EditableResources.save(EditableResources.java:422)<br />
        at com.sun.lwuit.tools.resourcebuilder.LWUITTask.execute(LWUITTask.java:78)<br />
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)<br />
        at sun.reflect.GeneratedMethodAccessor729.invoke(Unknown Source)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)<br />
        at org.apache.tools.ant.Task.perform(Task.java:348)<br />
        at org.apache.tools.ant.Target.execute(Target.java:357)<br />
        at org.apache.tools.ant.Target.performTasks(Target.java:385)<br />
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)<br />
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)<br />
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)<br />
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)<br />
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)<br />
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)<br />
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)<br />

At this moment i cant open a issue. The service is at the moment unavailable.
regards joersch

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joersch
Offline
Joined: 2008-11-06
Points: 0

today, the issue tracker is working.
i open a new issue with #173

Shai Almog

I think the problem is related to the LWUIT Designer, I will try to fix
the version in Web Start in the near future so you would be able to use
that. I will update the issue when this is solved.
> today, the issue tracker is working.
> i open a new issue with #173
> [Message sent by forum member 'joersch' (joersch)]
>
> http://forums.java.net/jive/thread.jspa?messageID=356198
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>

--
Shai Almog

LWUIT Blog http://lwuit.blogspot.com/
LWUIT FAQ https://lwuit.dev.java.net/faq.html
YouTube Channel http://www.youtube.com/user/vprise
Applications in LWUIT https://lwuit.dev.java.net/nonav/featuredapp.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

joersch
Offline
Joined: 2008-11-06
Points: 0

Hi Shai,
is there a fix for the ant task-bug (#171 and #173) available? Unfortunately, our project is at the moment pending on this issue.

I found another behavior of lwuit designer, that you should look at. I open a issue with #183.

regards
joersch

Shai Almog

Hi,
I fixed the issue 183 and will update the LWUIT designer JWS version
before the next drop.
The ant task requires a drop to distribute, so this will take some time
to deliver hopefully this will come out soon but I can't comment on
dates right now.
> Hi Shai,
> is there a fix for the ant task-bug (#171 and #173) available? Unfortunately, our project is at the moment pending on this issue.
>
> I found another behavior of lwuit designer, that you should look at. I open a issue with #183.
>
> regards
> joersch
> [Message sent by forum member 'joersch' (joersch)]
>
> http://forums.java.net/jive/thread.jspa?messageID=357697
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>

--
Shai Almog

LWUIT Blog http://lwuit.blogspot.com/
LWUIT FAQ https://lwuit.dev.java.net/faq.html
YouTube Channel http://www.youtube.com/user/vprise
Applications in LWUIT https://lwuit.dev.java.net/nonav/featuredapp.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net