Friday, March 04, 2011

Convert NetBeans 6.9 GWT web project to Ivy

My experience converting a NetBeans 6.9 GWT web project to Ivy.
  • Install IvyBeans via NetBeans plugin manager
  • Enabled Ivy in project properties
  • Had to edit the part of ivy-impl.xml that changes javac.classpath to put the ivy classpath first, as the GWT compile only seems to work with the GWT jars first in the classpath
  • Overwrite ant target that builds war as described here http://groups.google.com/group/usr-ivybeans/browse_thread/thread/f7716e6a189dbd83. WARNING: You have to be careful, though, as there are several war building ant tasks depending on whether you're using a custom manifest (whatever that means).
I'll describe how I replaced jar refs with Ivy dependencies in a subsequent post.

Labels:

0 Comments:

Post a Comment

<< Home