blob: 8fb080a83cccbf63d6bca226511bab2a2acc4bbf [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
<project default="jar"
xmlns:artifact="artifact"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:maven="jelly:maven"
xmlns:deploy="deploy"
xmlns:ant="jelly:ant">
<goal name="jar-tool">
<!-- make the jar tool-->
<mkdir dir="target/jar-tool"/>
<mkdir dir="target/jar-tool"/>
<copy todir="target/jar-tool">
<fileset dir="target">
<include name="axis2*.jar"/>
</fileset>
</copy>
<j:if test="${context.getVariable('maven.jar.override').toString().trim().equalsIgnoreCase('on')}">
<copy file="${dependencies.dir}/ant-${ant.version}.jar" todir="target/jar-tool"/>
</j:if>
<j:if test="${context.getVariable('maven.jar.override').toString().trim().equalsIgnoreCase('off')}">
<copy file="${maven.repo.local}/ant/jars/ant-${ant.version}.jar" todir="target/jar-tool"/>
</j:if>
<copy file="src/script/jar-tool-UI.bat" todir="target/jar-tool"></copy>
</goal>
<preGoal name="itest:compile">
<u:file var="file" name="${maven.itest.src}"/>
<j:if test="${!file.exists()}">
<j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/>
</j:if>
</preGoal>
</project>