Ignat, Just FYI.. this script was very useful for our team. Specifically with Test/Doc Integration in our GWT Build.
Thank you very much for sharing. Todd On Jan 7, 12:00 am, Ignat Alexeyenko <[email protected]> wrote: > Hello, > > If you want to compile the project that is using GWT2.0 with ANT please look > at the following script: > > ##build.xml################################ > <?xml version="1.0" encoding="UTF-8"?> > <project name="[email protected]" default="gwt2.0.compile"> > > <target name="gwt2.0.compile" description="Compiles gwt resources"> > <tstamp/> > <echo message="-------------------------------------" /> > <echo message="Started at: ${TSTAMP}" /> > <echo message="-------------------------------------" /> > <antcall target="real-compile"/> > > </target> > > <target name="real-compile"> > <!-- REVIEW WHETHER YOU NEED TO CHANGE BUILD DIRECTORY (. or ..) > !!!! --> > <property name="build.directory" value="."/> > <!-- SET CORRECT PATH TO GWT DIRECTORY HERE!!!! --> > <property name="gwt.directory" value="/usr/local/java/gwt-2.0.0"/> > > <java classname="com.google.gwt.dev.Compiler" > fork="yes" > maxmemory="768m" > dir="${basedir}" > failonerror="true"> > <jvmarg value="-Xms512m"/> > > <!-- Gwt compilation styles : OBFUSCATED, PRETTY, DETAILED --> > <arg line="-style PRETTY"/> > <!-- Gwt compilation log levels : ERROR, WARN, INFO, TRACE, > DEBUG, SPAM, ALL --> > <arg line="-logLevel WARN"/> > > <!-- UPDATE OUT DIRECTORY!!!! --> > <arg line="-war /home/user/OUT"/> > <!-- SET YOUR MODULE NAME HERE!!!! --> > <arg value="your.module.Name"/> > > <classpath> > <pathelement path="${gwt.directory}/gwt-dev.jar"/> > <pathelement path="${gwt.directory}/gwt-user.jar"/> > <!-- SET THE SRC DIR HERE --> > <pathelement path="../gwtmodule/src"/> > </classpath> > </java> > </target> > > </project> > ############################################ > > -- > Kind regards, > Ignat Alexeyenko > > On Tue, Dec 29, 2009 at 6:11 PM, Rodrigue Lagoue > <[email protected]>wrote: > > > > > Hi, > > > did somebody already wrote fully ant script for building (to javascript) an > > gwt 2.0 project? The built project should use an custom gwt library packed > > in a jar file... > > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
