|
From: <lh...@us...> - 2010-03-01 20:03:16
|
Revision: 165
http://tmapi.svn.sourceforge.net/tmapi/?rev=165&view=rev
Author: lheuer
Date: 2010-03-01 20:03:10 +0000 (Mon, 01 Mar 2010)
Log Message:
-----------
Updated build to create a tmapi-tests.pom etc
Modified Paths:
--------------
trunk/build.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2010-03-01 11:41:20 UTC (rev 164)
+++ trunk/build.xml 2010-03-01 20:03:10 UTC (rev 165)
@@ -45,11 +45,12 @@
<property name="dist.name" value="tmapi-${dist.version}"/>
<property name="tmapi.jar" value="${dist.name}.jar"/>
- <property name="tmapi-tests.jar" value="${dist.name}-tests.jar"/>
+ <property name="tmapi-tests.jar" value="tmapi-tests-${dist.version}.jar"/>
<property name="tmapi.tar" value="${dist.name}.tar"/>
<property name="tmapi.tar.gz" value="${tmapi.tar}.gz"/>
<property name="tmapi.zip" value="${dist.name}.zip"/>
<property name="tmapi.pom" value="${dist.name}.pom"/>
+ <property name="tmapi-tests.pom" value="tmapi-tests-${dist.version}.pom"/>
<property name="dir.build" value="${basedir}/build"/>
<property name="dir.dist.root" value="${dir.build}/dist"/>
@@ -197,7 +198,10 @@
</manifest>
</jar>
<checksum file="${dir.build}/${tmapi.jar}" algorithm="sha1"/>
- <antcall target="pom"/>
+ <antcall target="pom">
+ <param name="pom-file" value="${tmapi.pom}"/>
+ <param name="artifact" value="tmapi"/>
+ </antcall>
<checksum file="${dir.build}/${tmapi.pom}" algorithm="sha1"/>
</target>
@@ -216,14 +220,20 @@
<attribute name="Main-Class" value="org.tmapi.AllTests"/>
</manifest>
</jar>
+ <checksum file="${dir.build}/${tmapi-tests.jar}" algorithm="sha1"/>
+ <antcall target="pom">
+ <param name="pom-file" value="${tmapi-tests.pom}"/>
+ <param name="artifact" value="tests"/>
+ </antcall>
+ <checksum file="${dir.build}/${tmapi-tests.pom}" algorithm="sha1"/>
</target>
<target name="pom">
- <echoxml file="${dir.build}/${tmapi.pom}" namespacePolicy="elementsOnly">
+ <echoxml file="${dir.build}/${pom-file}" namespacePolicy="elementsOnly">
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>org.tmapi</groupId>
- <artifactId>tmapi</artifactId>
+ <artifactId>${artifact}</artifactId>
<version>${dist.version}</version>
</project>
</echoxml>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|