summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/build.xml18
-rw-r--r--build/package/build-widgetsets.xml8
2 files changed, 8 insertions, 18 deletions
diff --git a/build/build.xml b/build/build.xml
index e2327969df..f90e12416c 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -563,8 +563,9 @@
<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 -->
@@ -575,6 +576,7 @@
<fileset dir="${result-path}/src">
<patternset>
<exclude name="${toolkit-package}/demo/**" />
+ <exclude name="${toolkit-package}/tests/**" />
<exclude name="${toolkit-package}/launcher/**" />
</patternset>
</fileset>
@@ -584,18 +586,6 @@
</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 - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
diff --git a/build/package/build-widgetsets.xml b/build/package/build-widgetsets.xml
index 41d0118c58..f854c075f4 100644
--- a/build/package/build-widgetsets.xml
+++ b/build/package/build-widgetsets.xml
@@ -27,7 +27,7 @@ See configure target to adjust this buildfile.
-->
<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" />
@@ -45,9 +45,9 @@ See configure target to adjust this buildfile.
<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>
@@ -59,7 +59,7 @@ See configure target to adjust this buildfile.
<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>