Subversion Repositories eFlore/Applications.cel

Rev

Rev 1857 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1857 Rev 1868
Line 1... Line 1...
1
<project name="cel_GWT2" xmlns:artifact="urn:maven-artifact-ant" basedir=".">
1
<project name="cel_GWT2" xmlns:artifact="urn:maven-artifact-ant" basedir=".">
Line 2... Line 2...
2
 
2
 
3
  <property name="projectName" value="org.tela_botanica.cel2" />
3
  <property file="build.properties"/>
Line 4... Line 4...
4
  <property name="celhost" value="cel" /> <!-- ou localhost -->
4
  <property name="extjsdestdir" value="src/org/tela_botanica/public/js/ext"/>
5
 
5
 
6
  <target name="init">
6
  <target name="init">
7
	<property file="local.properties" />
7
	<property file="local.properties" />
Line 33... Line 33...
33
	<fileset includes="*.jar" dir="${user.home}/gwt-ext/build/lib"/>
33
	<fileset includes="*.jar" dir="${user.home}/gwt-ext/build/lib"/>
34
	<fileset includes="*.jar" dir="${user.home}/gwt-ext-ux/build/lib"/>
34
	<fileset includes="*.jar" dir="${user.home}/gwt-ext-ux/build/lib"/>
35
	<pathelement location="src" />
35
	<pathelement location="src" />
36
  </path>
36
  </path>
Line -... Line 37...
-
 
37
 
37
 
38
  <!-- todo: must be inside cel2.gwt.xml in some way -->
-
 
39
  <target name="link-resources">
-
 
40
	<mkdir dir="${extjsdestdir}"/>
-
 
41
	<mkdir dir="${extjsdestdir}/adapter/ext"/>
-
 
42
	<symlink overwrite="true" link="${extjsdestdir}/adapter/ext/" resource="${extjsdir}/adapter/ext/ext-base.js"/>
-
 
43
	<symlink overwrite="true" link="${extjsdestdir}" resource="${extjsdir}/ext-all.js"/>
-
 
44
	<symlink overwrite="true" link="${extjsdestdir}" resource="${extjsdir}/resources"/>
-
 
45
  </target>
-
 
46
 
-
 
47
 
-
 
48
  <target name="test"><echoproperties/></target> <!-- sometimes useful -->
-
 
49
 
38
  <target name="compile">
50
  <target name="compile" depends="link-resources">
39
	<!-- <java classname="com.google.gwt.dev.GWTCompiler" fork="true"> -->
51
	<!-- <java classname="com.google.gwt.dev.GWTCompiler" fork="true"> -->
40
	<java classname="com.google.gwt.dev.Compiler" fork="true">
52
	<java classname="com.google.gwt.dev.Compiler" fork="true">
41
	  <arg line="-style DETAILED ${projectName}"/>
53
	  <arg line="-localWorkers 2 -style DETAILED ${projectName}"/>
42
	  <!-- <arg line="-out build/gwtOutput"/> -->
54
	  <!-- <arg line="-out build/gwtOutput"/> -->
43
	  <classpath refid="gwt"/>
55
	  <classpath refid="gwt"/>
44
	</java>
56
	</java>
Line 45... Line 57...
45
  </target> 
57
  </target> 
46
 
58
 
47
  <target name="quick">
59
  <target name="quick" depends="link-resources">
48
	<java classname="com.google.gwt.dev.Compiler" fork="true">
60
	<java classname="com.google.gwt.dev.Compiler" fork="true">
49
	  <arg line="-style DETAILED -draftCompile ${projectName}" />
61
	  <arg line="-style DETAILED -draftCompile ${projectTestName}" />
50
	  <classpath refid="gwt"/>
62
	  <classpath refid="gwt"/>
Line 51... Line 63...
51
	</java>
63
	</java>
52
  </target> 
64
  </target> 
53
 
65
 
54
 
66
 
55
  <target name="debug">
67
  <target name="debug" depends="link-resources">
56
	<java classname="com.google.gwt.dev.Compiler" fork="true">
68
	<java classname="com.google.gwt.dev.Compiler" fork="true">