This xml files will help you to create GWT apps and manage their dependencies with Apache Ivy.
-
Create a GWT project with your IDE or with the GWT-SDK;
-
Copy the build.xml,
ivy-setting.xml
andivy.xml
to the root of the project. -
Alter build.xml to your prefered project name and module name. Basically, you need to change these lines by something like this:
project name="gwt-bree" xmlns:ivy="antlib:org.apache.ivy.ant" default="build" basedir="." !-- some code -- property name="application.module" value="com.geekvigarista.gwt.ivy.Gwt_bree" / property name="application.name" value="gwtbree" / !-- some code -- /project
In this example I changed the gwt-ivy default name by gwt-bree, thats also a real app managed by gwt-bree.
ant war
will do everything necessary and make a war in application root directory.ant libs
will download (if necessary) and copy all libs to a folder named lib in your root application diretory.
TODO