SF.net SVN: ant-contrib: [164] cpptasks/trunk
[email protected] Wed, 02 Apr 2008 16:30:49 -0700
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 164
http://ant-contrib.svn.sourceforge.net/ant-contrib/?rev=164&view=rev
Author: carnold
Date: 2008-04-02 16:30:49 -0700 (Wed, 02 Apr 2008)
Log Message:
-----------
Bug 1760649: Make Maven and Ant built jars have identical structure
Modified Paths:
--------------
cpptasks/trunk/build.xml
cpptasks/trunk/pom.xml
Modified: cpptasks/trunk/build.xml
===================================================================
--- cpptasks/trunk/build.xml 2008-04-02 23:28:48 UTC (rev 163)
+++ cpptasks/trunk/build.xml 2008-04-02 23:30:49 UTC (rev 164)
@@ -1,19 +1,20 @@
<?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 @@
<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 @@
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>
Modified: cpptasks/trunk/pom.xml
===================================================================
--- cpptasks/trunk/pom.xml 2008-04-02 23:28:48 UTC (rev 163)
+++ cpptasks/trunk/pom.xml 2008-04-02 23:30:49 UTC (rev 164)
@@ -81,8 +81,9 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.2</source>
+ <source>1.3</source>
<target>1.1</target>
+ <optimize>true</optimize>
</configuration>
</plugin>
<plugin>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace