You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2012/03/22 17:50:45 UTC
svn commit: r1303888 - /pivot/trunk/build.xml
Author: smartini
Date: Thu Mar 22 16:50:45 2012
New Revision: 1303888
URL: http://svn.apache.org/viewvc?rev=1303888&view=rev
Log:
add package-tests to generate the jar for the tests subproject (usually needed only to run Interactive GUI Tests) from a jar
Modified:
pivot/trunk/build.xml
Modified: pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/build.xml?rev=1303888&r1=1303887&r2=1303888&view=diff
==============================================================================
--- pivot/trunk/build.xml (original)
+++ pivot/trunk/build.xml Thu Mar 22 16:50:45 2012
@@ -62,6 +62,7 @@ limitations under the License.
<property name="jar.web-server" value="${ant.project.name}-web-server-${version}.jar" />
<property name="jar.wtk" value="${ant.project.name}-wtk-${version}.jar" />
<property name="jar.wtk-terra" value="${ant.project.name}-wtk-terra-${version}.jar" />
+ <property name="jar.tests" value="${ant.project.name}-tests-${version}.jar" />
<!-- Maven Sources Jar file names -->
<property name="jar.charts.sources" value="${ant.project.name}-charts-${version}-sources.jar" />
@@ -369,6 +370,11 @@ limitations under the License.
<package project="wtk-terra" jarFile="${jar.wtk-terra}" title="WTK Terra Theme Provider"/>
</target>
+ <!-- Package JAR file for tests, note that this could be needed only for interactive GUI Tests -->
+ <target name="package-tests" description="Packages only tests project into JAR files" depends="compile">
+ <package project="tests" jarFile="${jar.tests}" title="Tests"/>
+ </target>
+
<!-- Package Maven Sources JAR files -->
<target name="package-sources" description="Packages any project sources into a JAR file" depends="trim-whitespace, package">
<package-sources project="charts" jarFile="${jar.charts.sources}" title="Charts"/>