Browse Source

Change extention of ant libraries to "atl" for Ant Type Library. (more representative of content than .tsk).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269148 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
3b8aee8b39
2 changed files with 8 additions and 5 deletions
  1. +2
    -2
      proposal/myrmidon/build.xml
  2. +6
    -3
      proposal/myrmidon/src/make/sample.ant

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

@@ -123,14 +123,14 @@ Legal:


</jar> </jar>


<jar jarfile="${build.lib}/core.tsk" basedir="${build.classes}">
<jar jarfile="${build.lib}/core.atl" basedir="${build.classes}">
<include name="org/apache/ant/modules/**" /> <include name="org/apache/ant/modules/**" />
<zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml"> <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
<include name="core-ant-descriptor.xml"/> <include name="core-ant-descriptor.xml"/>
</zipfileset> </zipfileset>
</jar> </jar>


<jar jarfile="${build.lib}/runtime.tsk" basedir="${build.classes}">
<jar jarfile="${build.lib}/runtime.atl" basedir="${build.classes}">
<include name="org/apache/myrmidon/libs/runtime/**"/> <include name="org/apache/myrmidon/libs/runtime/**"/>
<zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml"> <zipfileset dir="${manifest.dir}" fullpath="META-INF/ant-descriptor.xml">
<include name="runtime-ant-descriptor.xml"/> <include name="runtime-ant-descriptor.xml"/>


+ 6
- 3
proposal/myrmidon/src/make/sample.ant View File

@@ -16,6 +16,9 @@ Legal:


<project name="MySample" default="main" basedir="."> <project name="MySample" default="main" basedir=".">


<projectref name="prim" location="primitive-tests.ant" />
<import library="core.atl" />

<property name="year" value="2000"/> <property name="year" value="2000"/>


<target name="main" depends="typedef-test, converterdef-test, datatype-test, namespace-test" /> <target name="main" depends="typedef-test, converterdef-test, datatype-test, namespace-test" />
@@ -23,7 +26,7 @@ Legal:
<target name="all" depends="property-test, typedef-test, converterdef-test, ant-call-test, datatype-test, namespace-test" /> <target name="all" depends="property-test, typedef-test, converterdef-test, ant-call-test, datatype-test, namespace-test" />


<!-- <!--
<register-tasklib lib="../../dist/lib/core.tsk" />
<register-tasklib lib="../../dist/lib/core.atl" />
--> -->


<target name="property-test"> <target name="property-test">
@@ -37,7 +40,7 @@ Legal:
<typedef name="echo2" <typedef name="echo2"
type="task" type="task"
classname="org.apache.ant.modules.basic.Echo" classname="org.apache.ant.modules.basic.Echo"
lib="../../dist/lib/core.tsk" />
lib="../../dist/lib/core.atl" />


<echo2 message="Luke to Echo base. Can you hear me?"/> <echo2 message="Luke to Echo base. Can you hear me?"/>
</target> </target>
@@ -46,7 +49,7 @@ Legal:
<converterdef classname="org.apache.ant.modules.basic.StringToClassConverter" <converterdef classname="org.apache.ant.modules.basic.StringToClassConverter"
source-type="java.lang.String" source-type="java.lang.String"
destination-type="java.lang.Class" destination-type="java.lang.Class"
lib="../../dist/lib/core.tsk" />
lib="../../dist/lib/core.atl" />
</target> </target>


<target name="ant-call-test"> <target name="ant-call-test">


Loading…
Cancel
Save