You are viewing a plain text version of this content. The canonical link for it is here.
Posted to easyant-commits@incubator.apache.org by jl...@apache.org on 2012/08/15 15:08:51 UTC
svn commit: r1373450 - in
/incubator/easyant/buildtypes/trunk/build-std-java: module.ivy
src/main/resources/build-std-java.ant
Author: jlboudart
Date: Wed Aug 15 15:08:51 2012
New Revision: 1373450
URL: http://svn.apache.org/viewvc?rev=1373450&view=rev
Log:
Update build-std-java binding
Modified:
incubator/easyant/buildtypes/trunk/build-std-java/module.ivy
incubator/easyant/buildtypes/trunk/build-std-java/src/main/resources/build-std-java.ant
Modified: incubator/easyant/buildtypes/trunk/build-std-java/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/buildtypes/trunk/build-std-java/module.ivy?rev=1373450&r1=1373449&r2=1373450&view=diff
==============================================================================
--- incubator/easyant/buildtypes/trunk/build-std-java/module.ivy (original)
+++ incubator/easyant/buildtypes/trunk/build-std-java/module.ivy Wed Aug 15 15:08:51 2012
@@ -17,7 +17,7 @@
<ivy-module version="2.0" xmlns:ea="http://www.easyant.org">
<info organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.9">
<description>A standard build for simple java modules, relying on standard phases, and providing compilation, execution and unit tests</description>
- <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.9"/>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
</info>
<configurations>
<conf name="default" description="runtime dependencies artifact can be used with this conf"/>
Modified: incubator/easyant/buildtypes/trunk/build-std-java/src/main/resources/build-std-java.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/buildtypes/trunk/build-std-java/src/main/resources/build-std-java.ant?rev=1373450&r1=1373449&r2=1373450&view=diff
==============================================================================
--- incubator/easyant/buildtypes/trunk/build-std-java/src/main/resources/build-std-java.ant (original)
+++ incubator/easyant/buildtypes/trunk/build-std-java/src/main/resources/build-std-java.ant Wed Aug 15 15:08:51 2012
@@ -22,6 +22,7 @@
<property file="${org.apache.easyant.buildtypes#build-std-java.properties.file}" />
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.9" />
<ea:import mrid="org.apache.easyant.plugins#clean-std;0.9" />
<ea:import mrid="org.apache.easyant.plugins#ivy-provisioning;0.9" />
<ea:import mrid="org.apache.easyant.plugins#default-version-strategy;0.9" />
@@ -32,19 +33,24 @@
<ea:import mrid="org.apache.easyant.plugins#test-junit;0.9" />
<ea:import mrid="org.apache.easyant.plugins#manifest;0.9" />
<ea:import mrid="org.apache.easyant.plugins#package-jar;0.9" />
- <ea:import mrid="org.apache.easyant.plugins#source-jar;0.9" />
<ea:import mrid="org.apache.easyant.plugins#ivy-utils;0.9" />
<!-- plugin binding -->
- <bindtargets targets="compile-java:compile,manifest:manifest,manifest:manifest-runnable,resources-std:copy-resources" extensionPoint="package-jar:jar-ready" />
+ <bindtargets targets="manifest:manifest-runnable,resources-std:copy-resources" extensionPoint="abstract-package:package-ready" />
<bindtargets targets="compile-test-java:compile,resources-std:copy-test-resources" extensionPoint="abstract-test:test-ready" />
- <bindtargets targets="package-jar:jar,source-jar:main" extensionPoint="ivy-publication:publish-ready" />
+ <bindtargets targets="package-jar:jar" extensionPoint="ivy-publication:publish-ready" />
- <!-- friendly target names -->
- <target name="clean" depends="clean-std:clean" description="Clean the project" />
- <target name="compile" depends="compile-java:compile" description="Compile the project" />
- <target name="test" depends="test-junit:run" description="Launch the unit tests" />
+ <!-- bind high level targets -->
+ <bindtargets targets="clean-std:clean" extensionPoint="clean"/>
+ <bindtargets targets="abstract-compile:compile-finished" extensionPoint="compile"/>
+ <bindtargets targets="abstract-test:test-run" extensionPoint="test"/>
+ <bindtargets targets="abstract-package:package-finished" extensionPoint="package"/>
+ <bindtargets targets="ivy-publication:publish-local" extensionPoint="publish-local"/>
+ <bindtargets targets="ivy-publication:publish-shared" extensionPoint="publish-shared"/>
+ <bindtargets targets="ivy-publication:release" extensionPoint="release"/>
+
+ <!-- additionnal friendtly target names -->
<target name="dist" depends="ivy-publication:publish-ready" description="Produce every artifact to be distributed" />
- <target name="install" depends="ivy-publication:publish-local" description="Install the artifacts into the repository" />
+ <target name="install" depends="ivy-publication:publish-local" description="Install the artifacts into local repository" />
</project>