Browse Source

Changed the build to pick up manifest files for antlibs out of src/manifest.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272034 13f79535-47bb-0310-9956-ffa450edef68
master
adammurdoch 23 years ago
parent
commit
210f56a301
3 changed files with 10 additions and 1 deletions
  1. +8
    -0
      proposal/myrmidon/antlib.xml
  2. +1
    -1
      proposal/myrmidon/build.xml
  3. +1
    -0
      proposal/myrmidon/src/manifest/empty-manifest.mf

+ 8
- 0
proposal/myrmidon/antlib.xml View File

@@ -80,11 +80,19 @@ Legal:
</fileset>
<!-- antdoc docsDestDir="${gen.dir}/docs"/-->
</antlib-descriptor>

<!-- Manifest -->
<copy todir="${gen.dir}">
<fileset dir="src/manifest" includes="${antlib.name}-manifest.mf" />
</copy>
<copy file="src/manifest/empty-manifest.mf" tofile="${gen.dir}/${antlib.name}-manifest.mf"/>

</target>

<!-- Generate an "atl" jar file for this antlib. -->
<target name="antlib-jar" depends="antlib-descriptors">
<antlib-jar jarfile="${build.lib}/${antlib.name}.atl"
manifest="${gen.dir}/${antlib.name}-manifest.mf"
descriptor="${gen.dir}/${antlib.descriptor}"
rolesDescriptor="${gen.dir}/${antlib.role.descriptor}">
<fileset dir="${build.classes}">


+ 1
- 1
proposal/myrmidon/build.xml View File

@@ -620,7 +620,7 @@ Legal:
</junit>
</target>

<target name="test" if="test.failed" depends="run-tests">
<target name="test" if="test.failed" depends="run-tests" description="Runs the unit tests">
<fail> - One or more tests failed.</fail>
</target>



+ 1
- 0
proposal/myrmidon/src/manifest/empty-manifest.mf View File

@@ -0,0 +1 @@
Manifest-version: 1.0

Loading…
Cancel
Save