<jar jarfile="${output-dir}/lib/${lib-jar-name}" compress="true">
<fileset dir="${result-path}/classes">
<patternset>
- <exclude name="${toolkit-package}/demo/**/*" />
- <exclude name="${toolkit-package}/launcher/**/*" />
+ <exclude name="${toolkit-package}/demo/**" />
+ <exclude name="${toolkit-package}/tests/**" />
+ <exclude name="${toolkit-package}/launcher/**" />
</patternset>
</fileset>
<!-- fileupload, see build/external/fileupload/build.xml -->
<fileset dir="${result-path}/src">
<patternset>
<exclude name="${toolkit-package}/demo/**" />
+ <exclude name="${toolkit-package}/tests/**" />
<exclude name="${toolkit-package}/launcher/**" />
</patternset>
</fileset>
</patternset>
</fileset>
</jar>
- <!-- Create Toolkit source JAR -->
- <!-- Now included within lib-jar-name
- <jar jarfile="${output-dir}/lib/${lib-src-jar-name}" compress="true">
- <fileset dir="${result-path}/src">
- <patternset>
- <exclude name="${toolkit-package}/demo/**" />
- <exclude name="${toolkit-package}/tests/**" />
- <exclude name="${toolkit-package}/launcher/**" />
- </patternset>
- </fileset>
- </jar>
- -->
</target>
<!-- Demo - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-->
<target name="configure">
<!-- which platform we are in, possible values are windows, linux and mac -->
- <property name="platform" value="<platform></platform>" />
+ <property name="gwt-platform" value="<platform></platform>" />
<!-- where platform specific GWT distribution is located -->
<property name="gwt-location" value="gwt" />
<target name="init" depends="configure">
- <echo>Configured for ${platform} platform.</echo>
+ <echo>Configured for ${gwt-platform} platform.</echo>
<echo>Requirements for classpath:</echo>
- <echo> ${gwt-location}/gwt-dev-${platform}.jar</echo>
+ <echo> ${gwt-location}/gwt-dev-${gwt-platform}.jar</echo>
<echo> ${gwt-location}/gwt-user.jar</echo>
<echo> ${toolkit-jar-location}</echo>
<echo> ${client-side-src-location}</echo>
<pathelement path="${client-side-src-location}" />
<pathelement path="${toolkit-jar-location}" />
<pathelement path="${gwt-location}/gwt-user.jar" />
- <pathelement path="${gwt-location}/gwt-dev-${platform}.jar" />
+ <pathelement path="${gwt-location}/gwt-dev-${gwt-platform}.jar" />
</path>
</target>