Subversion Repositories eFlore/Applications.coel

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1646 → Rev 1647

/trunk/build.properties
New file
0,0 → 1,12
projectName = org.tela_botanica.Coel
# pour la compilation "rapide" (ant quick)
projectTestName = org.tela_botanica.Coel-dev
celhost = coel
 
# le répertoire "resources" de gxt (doit contenir "chart", "css", ...). Eg;
# svn co http://extjs-public.googlecode.com/svn/gxt-2.x/release/resources ~/gxt/gxt-2.2.5/resources
gxtresdir = ${user.home}/gxt/gxt-2.2.5/resources
 
# note: les répertoires de gwt et gwtext sont fixé relatif à $HOME dans build.xml
 
 
/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>
/trunk/src/org/tela_botanica/Coel-dev.gwt.xml
1,9 → 1,5
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
<module>
<!-- I18n -->
<inherits name="com.google.gwt.i18n.I18N"/>
<extend-property name="locale" values="fr"/>
<module rename-to="coel">
<inherits name="org.tela_botanica.Coel"/>
<!-- Log -->
<inherits name="com.google.gwt.logging.Logging"/>
22,4 → 18,5
<!-- Permet d'accélérer le temps de compilation en compilant que pour Firefox > à 1.5 -->
<!-- Bien mettre gecko1_8 (et pas gecko) sinon ne marche pas dans Firefox > à 1.5 -->
<set-property name="user.agent" value="gecko1_8"/>
</module>
<set-property name="locale" value="default"/>
</module>
/trunk/src/org/tela_botanica/public/gxt
New file
0,0 → 1,0
link /home/raphael/gxt/gxt-2.2.5/resources
Property changes:
Added: svn:special
+*
\ No newline at end of property
/trunk/src/org/tela_botanica/Coel.gwt.xml
15,9 → 15,6
<!-- <inherits name="com.google.gwt.junit.JUnit"/> -->
<extend-property name="locale" values="fr, en"/>
<!-- Paramétrage de l'application en fonction du mode. -->
<inherits name="org.tela_botanica.Coel-dev"/>
<!-- Specify the app entry point class. -->
<entry-point class="org.tela_botanica.client.Coel"/>
</module>
</module>
/trunk/war/WEB-INF
Property changes:
Modified: svn:ignore
classes
+deploy
/trunk/.
Property changes:
Modified: svn:ignore
.settings
.classpath
.project
+gwt-unitCache