Skip to content
Permalink
Browse files

provide distro w/o junit as well as w/ junit

  • Loading branch information...
lukasj committed Dec 30, 2011
1 parent 89f3b06 commit f5c4b35193a0c7cf2b1d0b45dd0570f6a948bb59
Showing with 15 additions and 2 deletions.
  1. +1 −0 build-tests.xml
  2. +1 −0 build.properties
  3. +13 −2 build.xml
@@ -14,6 +14,7 @@
<path id="compile.cp">
<pathelement location="${testng.jar}" />
<fileset dir="${lib.dir}" includes="${guice2.jar}" />
<fileset dir="${lib.dir}" includes="${junit.jar}" />
</path>

<target name="env:info">
@@ -40,6 +40,7 @@ all.jar.files=${beanshell.jar},${junit.jar},${ant.jar},${jcommander.jar},${yaml.
#
testng.jar=${target}/${testng.fullname}.jar
sources.testng.jar=${testng.fullname}-sources.jar
testng.junit.jar=${testng.fullname}-junit.jar
testng.nobsh.noguice.jar=${testng.fullname}-nobsh-noguice.jar
testng.bsh.noguice.jar=${testng.fullname}-bsh-noguice.jar
testng.nobsh.guice.jar=${testng.fullname}-nobsh-guice.jar
@@ -75,7 +75,6 @@
<jar jarfile="${testng.jar}" update="true">
<zipfileset src="${lib.dir}/${beanshell.jar}" />
<zipfileset src="${lib.dir}/${jcommander.jar}" />
<zipfileset src="${lib.dir}/${junit.jar}" />
<zipfileset src="${lib.dir}/${yaml.jar}" />
</jar>

@@ -189,7 +188,19 @@

<target name="dist" depends="build,all-jar-flavors,dist-all-zip,eclipse" />

<target name="all-jar-flavors" depends="dist-nobsh-guice,dist-bsh-noguice,dist-nobsh-noguice" />
<target name="all-jar-flavors" depends="dist-junit,dist-nobsh-guice,dist-bsh-noguice,dist-nobsh-noguice" />

<target name="dist-junit">
<antcall target="create-jar">
<param name="jar.file" value="${other.jars.dir}/${testng.junit.jar}" />
</antcall>
<jar jarfile="${other.jars.dir}/${testng.junit.jar}" update="true">
<zipfileset src="${lib.dir}/${beanshell.jar}" />
<zipfileset src="${lib.dir}/${jcommander.jar}" />
<zipfileset src="${lib.dir}/${junit.jar}" />
<zipfileset src="${lib.dir}/${yaml.jar}" />
</jar>
</target>

<target name="dist-nobsh-guice">
<antcall target="create-jar">

0 comments on commit f5c4b35

Please sign in to comment.
You can’t perform that action at this time.