The J2S compiler does not take into account changes in the .js generated file

5 views
Skip to first unread message

scenic scenic

unread,
Jun 23, 2011, 5:36:13 AM6/23/11
to Java2Script
Hi,

When i modify a java class (like Display.java) and lunch the ant
build.xml in net.sf.j2s.lib eclipse project, the javascript generated
do not match with the .java class. The J2S compiler does not take into
account changes in the .js generated file . Why.

Thank you.

Zhou Renjian

unread,
Jun 23, 2011, 5:40:46 AM6/23/11
to java2...@googlegroups.com
Generated *.js has no relationship with build.xml in net.sf.j2s.lib.

Check the same folder where *.class is generated by Eclipse Java compiler. *.js should be there if you configure Java2Script correctly.

Regards,
Zhou Renjian

--
http://webuzz.im/ web instant messengers (Gtalk/MSN/Yahoo!/Facebook/AIM/ICQ/Jabber)
http://j2s.sourceforge.net/ Java2Script



--
You received this message because you are subscribed to the Google Groups "Java2Script" group.
To post to this group, send email to java2...@googlegroups.com.
To unsubscribe from this group, send email to java2script...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/java2script?hl=en.


scenic scenic

unread,
Jun 23, 2011, 9:05:19 AM6/23/11
to Java2Script
Hi,

Thank you for your response.

I have this case : in net.sf.j2s.java.org.eclipse.swt eclipse project,
i have changed the org.eclipse.swt.widgets.Display class and cleaned
the eclipse project (folder bin). After i lunch rebuild project action
under Eclipse. I do not see the Display.js in project bin folder.

Can you help me to regenerate the Display.js after changing the
Display java class.

Thanks.





On 23 juin, 11:40, Zhou Renjian <zhourenj...@gmail.com> wrote:
> Generated *.js has no relationship with build.xml in net.sf.j2s.lib.
>
> Check the same folder where *.class is generated by Eclipse Java compiler.
> *.js should be there if you configure Java2Script correctly.
>
> Regards,
> Zhou Renjian
>
> --http://webuzz.im/web instant messengers
> (Gtalk/MSN/Yahoo!/Facebook/AIM/ICQ/Jabber)http://j2s.sourceforge.net/Java2Script
>
Reply all
Reply to author
Forward
0 new messages