Browse Source

* Fix antlib.xml so that the descriptors end up in the typelibs.

* Generate descriptors into build/gen.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271093 13f79535-47bb-0310-9956-ffa450edef68
master
adammurdoch 23 years ago
parent
commit
782824df16
2 changed files with 4 additions and 2 deletions
  1. +2
    -2
      proposal/myrmidon/antlib.xml
  2. +2
    -0
      proposal/myrmidon/build.xml

+ 2
- 2
proposal/myrmidon/antlib.xml View File

@@ -24,7 +24,7 @@ Legal:
<property name="lib.dir" value="lib"/>

<!-- directory where you place generated code -->
<property name="gen.dir" value="gen"/>
<property name="gen.dir" value="${build.dir}/gen"/>

<property name="antlib.name" value="NONAME"/>
<property name="antlib.include" value="org/apache/antlib/${antlib.name}/**"/>
@@ -66,7 +66,7 @@ Legal:
<target name="jar" depends="xdoclet">
<jar jarfile="${build.lib}/${antlib.name}.atl" basedir="${build.classes}">
<include name="${antlib.include}" />
<zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
<zipfileset dir="${gen.dir}" fullpath="META-INF/ant-descriptor.xml">
<include name="${antlib.descriptor}"/>
</zipfileset>
</jar>


+ 2
- 0
proposal/myrmidon/build.xml View File

@@ -59,6 +59,8 @@ Legal:
<property name="dist.lib" value="${dist.dir}/lib"/>
<property name="dist.ext" value="${dist.dir}/ext"/>

<property name="gen.dir" value="${build.dir}/gen"/>

<property name="test.dir" value="${build.dir}/test"/>
<property name="test.working.dir" value="${test.dir}/testcases"/>
<property name="test.classes" value="${test.dir}/classes"/>


Loading…
Cancel
Save