Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1646 → Rev 1647

/trunk/build.xml
New file
0,0 → 1,63
<project name="coel" xmlns:artifact="urn:maven-artifact-ant" basedir=".">
 
<property file="build.properties"/>
<property name="gxtdestdir" value="src/org/tela_botanica/public"/>
 
<path id="gwt">
<fileset includes="*.jar" dir="${user.home}/gwt/build/lib"/>
<fileset includes="*.jar" dir="${user.home}/gwt-google-apis/maps/build/lib"/>
<fileset includes="gxt-2.2.5-gwt22.jar" dir="${user.home}/gxt"/>
<pathelement location="src" />
</path>
 
<!-- todo: must be inside coel*.gwt.xml in some way -->
<target name="link-resources">
<mkdir dir="${gxtdestdir}"/>
<!-- doit lier "resources" dans upstream à src/org/.../public/gxt -->
<symlink overwrite="true" link="${gxtdestdir}/gxt" resource="${gxtresdir}"/>
</target>
 
 
<target name="test"><echoproperties/></target> <!-- sometimes useful -->
 
<target name="compile" depends="link-resources">
<!-- <java classname="com.google.gwt.dev.GWTCompiler" fork="true"> -->
<java classname="com.google.gwt.dev.Compiler" fork="true">
<arg line="-localWorkers 2 -style DETAILED ${projectName}"/>
<!-- <arg line="-out build/gwtOutput"/> -->
<classpath refid="gwt"/>
</java>
</target>
 
<target name="quick" depends="link-resources">
<java classname="com.google.gwt.dev.Compiler" fork="true">
<arg line="-style DETAILED -draftCompile ${projectTestName}" />
<classpath refid="gwt"/>
</java>
</target>
 
 
<target name="debug" depends="link-resources">
<java classname="com.google.gwt.dev.Compiler" fork="true">
<arg line="-style DETAILED -logLevel DEBUG"/> <!-- TRACE -->
<arg value="${projectName}" />
<classpath refid="gwt"/>
</java>
</target>
 
 
<target name="testlive">
<java classname="com.google.gwt.dev.DevMode" spawn="true" fork="true">
<arg line="-startupUrl http://${celhost}/war/Coel.html -whitelist http://www.tela-botanica.org -noserver -codeServerPort auto ${projectName}" />
<classpath refid="gwt"/>
</java>
</target>
 
<target name="live">
<java classname="com.google.gwt.dev.DevMode" spawn="true" fork="true">
<arg line="-startupUrl http://${celhost}/war/Coel.html -whitelist http://www.tela-botanica.org -noserver -codeServerPort auto ${projectName}" />
<classpath refid="gwt"/>
</java>
</target>
 
</project>