Subversion Repositories eFlore/Applications.cel

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1867 → Rev 1868

/trunk/src/org/tela_botanica/cel2.gwt.xml
14,9 → 14,9
<!-- Parsing JSON -->
<inherits name='com.google.gwt.json.JSON' />
<!-- Encore des trucs pour les cartes -->
<!-- cartes -->
<inherits name="com.google.gwt.maps.GoogleMaps" />
<!-- Encore des trucs pour les user extensions -->
<inherits name='com.gwtext.GwtExt'/>
<inherits name='com.gwtextux.GwtExtUx' />
<!-- Specify the app entry point class. -->
/trunk/src/org/tela_botanica/public
New file
Property changes:
Added: svn:ignore
+*
/trunk/src/org/tela_botanica/cel-test.gwt.xml
New file
0,0 → 1,10
<module rename-to="org.tela_botanica.cel2">
<!--
http://stackoverflow.com/questions/1011863/how-do-i-speed-up-the-gwt-compiler
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/useragent/UserAgent.gwt.xml
http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml
-->
<inherits name="org.tela_botanica.cel2" />
<set-property name="user.agent" value="gecko1_8" />
<set-property name="locale" value="default" />
</module>
/trunk/build.properties
New file
0,0 → 1,9
projectName = org.tela_botanica.cel2
# pour la compilation "rapide" (ant quick)
projectTestName = org.tela_botanica.cel-test
celhost = cel # ou localhost
 
# doit contenir ext-all.js, resources et adapter/ext/ext-base.js
extjsdir = ${user.home}/extjs
 
# note: les répertoires de gwt, gwt-google-api, gwtext et gwtextux sont fixé relatif à $HOME dans build.xml
/trunk/build.xml
1,7 → 1,7
<project name="cel_GWT2" xmlns:artifact="urn:maven-artifact-ant" basedir=".">
 
<property name="projectName" value="org.tela_botanica.cel2" />
<property name="celhost" value="cel" /> <!-- ou localhost -->
<property file="build.properties"/>
<property name="extjsdestdir" value="src/org/tela_botanica/public/js/ext"/>
 
<target name="init">
<property file="local.properties" />
35,24 → 35,36
<pathelement location="src" />
</path>
 
<target name="compile">
<!-- todo: must be inside cel2.gwt.xml in some way -->
<target name="link-resources">
<mkdir dir="${extjsdestdir}"/>
<mkdir dir="${extjsdestdir}/adapter/ext"/>
<symlink overwrite="true" link="${extjsdestdir}/adapter/ext/" resource="${extjsdir}/adapter/ext/ext-base.js"/>
<symlink overwrite="true" link="${extjsdestdir}" resource="${extjsdir}/ext-all.js"/>
<symlink overwrite="true" link="${extjsdestdir}" resource="${extjsdir}/resources"/>
</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="-style DETAILED ${projectName}"/>
<arg line="-localWorkers 2 -style DETAILED ${projectName}"/>
<!-- <arg line="-out build/gwtOutput"/> -->
<classpath refid="gwt"/>
</java>
</target>
 
<target name="quick">
<target name="quick" depends="link-resources">
<java classname="com.google.gwt.dev.Compiler" fork="true">
<arg line="-style DETAILED -draftCompile ${projectName}" />
<arg line="-style DETAILED -draftCompile ${projectTestName}" />
<classpath refid="gwt"/>
</java>
</target>
 
 
<target name="debug">
<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}" />