summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorcarnold <[email protected]>2008-04-02 23:30:49 +0000
committercarnold <[email protected]>2008-04-02 23:30:49 +0000
commit5a9a757147b2b5121ad4bd3b7b15fc69d74c970f (patch)
tree13cc5a925a3686792f6de45594399be2f4004c5e /build.xml
parentb2c2b80334d413d87884b31a41956ab220a3f067 (diff)
Bug 1760649: Make Maven and Ant built jars have identical structure
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/cpptasks/trunk@164 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml38
1 files changed, 23 insertions, 15 deletions
diff --git a/build.xml b/build.xml
index aa4dbdb..ed3a0f7 100644
--- a/build.xml
+++ b/build.xml
@@ -1,18 +1,19 @@
<?xml version="1.0"?>
<!--
-Copyright 2001-2006 The Ant-Contrib project
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You 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
- 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
- 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.
+ 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.
-->
<project default="jars" basedir=".">
@@ -22,7 +23,7 @@ Copyright 2001-2006 The Ant-Contrib project
<property name="Name" value="cpptasks"/>
<property name="name" value="cpptasks"/>
- <property name="version" value="1.0b4"/>
+ <property name="version" value="1.0b5"/>
<property name="debug" value="true" />
<property name="deprecation" value="false" />
@@ -147,10 +148,17 @@ Copyright 2001-2006 The Ant-Contrib project
depends="build"
description="--> creates the jar">
<mkdir dir="${build.lib}"/>
- <jar jarfile="${build.lib}/${name}.jar" manifest="${resources.dir}/cpptasks.mf">
- <fileset dir="." includes="LICENSE NOTICE"/>
+ <jar jarfile="${build.lib}/${name}.jar">
<fileset dir="${build.classes}"/>
- <fileset dir="${resources.dir}" includes="cpptasks.tasks,cpptasks.types,net/sf/antcontrib/cpptasks/antlib.xml"/>
+ <fileset dir="${resources.dir}" excludes="META-INF"/>
+ <manifest>
+ <section name="net.sf.antcontrib.cpptasks">
+ <attribute name="Implementation-Title" value="cpptasks: Compiler Tasks for Apache Ant."/>
+ <attribute name="Implementation-Vendor" value="Ant-Contrib Project"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ </section>
+ </manifest>
+ <metainf dir="${resources.dir}/META-INF"/>
</jar>
</target>