Browse Source

Make the test actually test anything apart from my copy-paste errors

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1462888 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 12 years ago
parent
commit
e7726a439b
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/tests/antunit/taskdefs/manifest-test.xml

+ 4
- 4
src/tests/antunit/taskdefs/manifest-test.xml View File

@@ -141,7 +141,7 @@
<mkdir dir="${output}/bin"/> <mkdir dir="${output}/bin"/>
<mkdir dir="${input}/org/example"/> <mkdir dir="${input}/org/example"/>
<echo file="${input}/org/example/AntFail.java"><![CDATA[ <echo file="${input}/org/example/AntFail.java"><![CDATA[
package com.antfail;
package org.example;


public class AntFail { public class AntFail {
public static public static
@@ -150,7 +150,7 @@ public class AntFail {
} }
} }
]]></echo> ]]></echo>
<javac srcdir="${input}" destdir="${output}" includeantruntime="no" />
<javac srcdir="${input}" destdir="${output}/bin" includeantruntime="no" />
</target> </target>


<target name="testJava5JarProblemManifestInSeparateTask" <target name="testJava5JarProblemManifestInSeparateTask"
@@ -162,7 +162,7 @@ public class AntFail {
<jar manifest="${output}/MANIFEST.MF" destfile="${output}/antfail.jar" <jar manifest="${output}/MANIFEST.MF" destfile="${output}/antfail.jar"
basedir="${output}/bin" /> basedir="${output}/bin" />
<java jar="${output}/antfail.jar" fork="true"/>
<java jar="${output}/antfail.jar" fork="true" failonerror="true"/>
</target> </target>


<target name="testJava5JarProblemManifestAsNestedElement" <target name="testJava5JarProblemManifestAsNestedElement"
@@ -175,6 +175,6 @@ public class AntFail {
<attribute name="Main-Class" value="org.example.AntFail" /> <attribute name="Main-Class" value="org.example.AntFail" />
</manifest> </manifest>
</jar> </jar>
<java jar="${output}/antfail.jar" fork="true"/>
<java jar="${output}/antfail.jar" fork="true" failonerror="true"/>
</target> </target>
</project> </project>

Loading…
Cancel
Save