incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1071697 [32/42] - in /incubator/easyant: buildtypes/ buildtypes/trunk/ buildtypes/trunk/build-osgi-bundle-java/ buildtypes/trunk/build-osgi-bundle-java/src/ buildtypes/trunk/build-osgi-bundle-java/src/main/ buildtypes/trunk/build-osgi-bund...
Date Thu, 17 Feb 2011 17:01:56 GMT
Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="package-war"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides war packaging feature. </description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/package-war/0.1/package-war.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,118 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.
+-->
+<project name="org.apache.easyant.plugins#phases-std" xmlns:ea="antlib:org.apache.easyant">	
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<phase name="clean"
+			description="delete any artifacts from previous builds"/>
+	
+	<phase name="validate" 
+			description="validate the project is correct and all necessary information is available" />
+	
+	<phase name="provision" depends="validate"
+			description="supply provision required by this project" />
+	
+	<phase name="generate-sources" depends="validate"
+			description="generate any source code for inclusion in compilation" />
+	
+	<phase name="process-sources" depends="generate-sources"
+			description="process the source code, for example to filter any values" />
+	
+	<phase name="generate-resources" depends="validate"
+			description="generate resources for inclusion in the package" />
+	
+	<phase name="process-resources" depends="generate-resources"
+			description="copy and process the resources into the destination directory, ready for packaging" />
+	
+	<phase name="compile" depends="provision, process-sources"
+			description="compile the source code of the project" />
+	
+	<phase name="process-classes" depends="compile"
+			description="post-process the generated files from compilation, for example to do bytecode enhancement on Java classes" />
+	
+	<phase name="test-provision" depends="validate"
+			description="supply provision required to test this project" />
+	
+	<phase name="test-generate-sources" depends="validate"
+			description="generate any test source code for inclusion in compilation" />
+	
+	<phase name="test-process-sources" depends="test-generate-sources"
+			description="process the test source code, for example to filter any values" />
+	
+	<phase name="test-generate-resources" depends="validate"
+			description="create resources for testing" />
+	
+	<phase name="test-process-resources" depends="test-generate-resources"
+			description="copy and process the resources into the test destination directory" />
+	
+	<phase name="test-compile" depends="process-classes, test-provision, test-process-sources"
+			description="compile the test source code into the test destination directory" />
+	
+	<phase name="test" depends="test-compile, process-resources, test-process-resources" 
+			description="run tests using a suitable unit testing framework. These tests should not require the code be packaged or deployed" />
+	
+	<phase name="prepare-package" depends="process-classes, process-resources" 
+			description="perform any operations necessary to prepare a package before the actual packaging. This often results in an unpacked, processed version of the package" />
+	
+	<phase name="package" depends="prepare-package" 
+			description="take the compiled code and package it in its distributable format, such as a JAR." />
+	
+	<phase name="pre-integration-test" depends="package" 
+			description="perform actions required before integration tests are executed. This may involve things such as setting up the required environment" />
+	
+	<phase name="integration-test" depends="pre-integration-test" 
+			description="process and deploy the package if necessary into an environment where integration tests can be run" />
+
+	<phase name="post-integration-test" depends="integration-test" 
+			description="perform actions required after integration tests have been executed. This may including cleaning up the environment" />
+	
+	<phase name="verify" depends="test, post-integration-test" 
+			description="run any checks to verify the package is valid and meets quality criteria" />
+	
+	<phase name="generate-local-version" depends="validate"
+			description="generate a local version number"/>
+	
+	<phase name="generate-shared-version" depends="validate"
+			description="generate a version number for shared publication"/>
+	
+	<phase name="generate-release-version" depends="validate"
+			description="generate a version number for a release"/>
+	
+	<phase name="prepare-publication" depends="provision"
+			description="prepare publication"/>
+	
+	<phase name="publish-local" depends="generate-local-version, prepare-publication, package" 
+			description="publish the package into the local repository, for use as a dependency in other projects locally" />
+
+	<phase name="publish-shared" depends="generate-shared-version, prepare-publication, package" 
+				description="done in an integration environment, copies the final package to the remote repository for sharing with other developers and projects" />
+	
+	<phase name="release" depends="generate-release-version, prepare-publication, verify" 
+			description="done in an integration or release environment, copies the final package to the remote repository for sharing with other developers and projects" />
+
+	<phase name="report" description="generate report" />
+	
+	<!-- Documentation related phases -->
+	<phase name="process-documentation-resources" 
+			description="copy and process the documentation resources into the destination directory"/>
+	
+	<phase name="documentation" depends="process-documentation-resources" 
+			description="generate documentation" />
+</project>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="phases-std"
+	       status="milestone"
+	       revision="0.2">
+	       <description>Describes the standard phases of a build. These phase are directly inspired by maven 2 standard phases.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/phases-std/0.2/phases-std.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,102 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.
+-->
+<project name="org.apache.easyant.plugins#resources-std"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="process-resources" />
+		<ea:parameter phase="test-process-resources" />
+		
+		<ea:parameter property="src.main.resources" default="${basedir}/src/main/resources"
+				description="directory where main resources files are stored" />
+        <ea:parameter property="src.test.resources" default="${basedir}/src/test/resources"
+            description="directory with unit test resource files (configuration files, data files, etc)" />
+        <ea:parameter property="src.test.integration.resources" default="${basedir}/src/integration-test/resources"
+                description="directory for integration test resources (configuration files, data files, etc)"/>
+
+		<ea:parameter property="target.main.classes" required="true" 
+				description="destination directory where main resources should be put" />
+		<ea:parameter property="target.test.classes" required="true" 
+				description="destination directory where test resources should be put" />
+	
+		<ea:parameter property="target.test.integration.classes" default="${basedir}/target/integration-test/classes"
+				description="destination directory where integration test resources should be put" />
+		
+		
+		<ea:parameter property="resources.std.includes.pattern" default="**/*" 
+				description="Pattern describing files included in compilation process" />
+		<ea:parameter property="resources.std.excludes.pattern" default="" 
+				description="Pattern describing files excluded in compilation process" />
+		<ea:parameter property="resources.std.include.emptydir" default="true"
+				description="Specify if empty directory should be copied as resources"/>
+		
+		<ea:parameter property="resources.std.test.includes.pattern" default="**/*" 
+				description="Pattern describing files included in test compilation process" />
+		<ea:parameter property="resources.std.test.excludes.pattern" default="" 
+				description="Pattern describing files excluded in test compilation process" />
+	
+		<ea:parameter property="resources.std.test.integration.includes.pattern" default="**/*" 
+				description="Pattern describing files included in integration test compilation process" />
+		<ea:parameter property="resources.std.test.integration.excludes.pattern" default="" 
+				description="Pattern describing files excluded in integration test compilation process" />
+		
+		<filterset id="src.main.resources.filter"/>
+		<filterset id="src.test.resources.filter"/>
+		<filterset id="src.test.integration.resources.filter"/>
+	</target>
+
+    <target name="-check-resources">
+        <available file="${src.main.resources}" property="has.src.main.resources" />
+        <available file="${src.test.resources}" property="has.src.test.resources" />
+        <available file="${src.test.integration.resources}" property="has.src.test.integration.resources" />
+    </target>
+	
+	<target name=":copy-resources" depends="validate,-check-resources" if="has.src.main.resources"
+		phase="process-resources">
+		<mkdir dir="${target.main.classes}" />
+        <copy todir="${target.main.classes}" includeEmptyDirs="${resources.std.include.emptydir}">
+            <fileset dir="${src.main.resources}" includes="${resources.std.includes.pattern}" excludes="${resources.std.excludes.pattern}"/>
+        	<filterset refid="src.main.resources.filter"/>
+        </copy>
+	</target>	
+	
+	<target name=":copy-test-resources" depends="validate,-check-resources" if="has.src.test.resources"
+		phase="test-process-resources">
+		<mkdir dir="${target.test.classes}" />
+        <copy todir="${target.test.classes}" includeEmptyDirs="${resources.std.include.emptydir}">
+            <fileset dir="${src.test.resources}" includes="${resources.std.test.includes.pattern}" excludes="${resources.std.test.excludes.pattern}"/>
+        	<filterset refid="src.test.resources.filter"/>
+        </copy>
+	</target>
+	
+	<target name=":copy-test-integration-resources" depends="validate,-check-resources" if="has.src.test.integration.resources"
+		phase="test-process-resources">
+		<mkdir dir="${target.test.integration.classes}" />
+        <copy todir="${target.test.integration.classes}" includeEmptyDirs="${resources.std.include.emptydir}">
+            <fileset dir="${src.test.integration.resources}" includes="${resources.std.test.integration.includes.pattern}" excludes="${resources.std.test.integration.excludes.pattern}"/>
+        	<filterset refid="src.test.integration.resources.filter"/>
+        </copy>
+	</target>	
+
+	
+	<target name="doit" depends=":copy-resources, :copy-test-resources, :copy-test-integration-resources" />
+</project>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="resources-std"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides basic resources management, a la maven.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/resources-std/0.1/resources-std.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,53 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.
+-->
+<project name="org.apache.easyant.plugins#run-java" xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="compile" />
+
+		<ea:parameter property="target.main.classes" required="true" description="directory where main compiled classes are" />
+
+		<ea:parameter property="project.main.classname" description="Used to define the project main class. The mainclass will then be used by many plugins (manifest, run-java, etc...)" />
+		<ea:parameter property="run.main.classname" required="true" default="${project.main.classname}">
+Name of the main class to run.
+By default this property take the same value as 'project.main.classname'  property.
+If you are looking for a way to reference your mainclass one time for all plugins you should set project.main.classname instead.
+		</ea:parameter>
+
+		<ea:parameter path="compile.main.classpath" required="true" description="path used to compile main sources" />
+
+		<path id="run.main.classpath">
+			<pathelement location="${target.main.classes}" />
+			<path refid="compile.main.classpath" />
+		</path>
+
+	</target>
+
+	<target name=":run" depends="validate, compile, process-resources" description="run the application">
+		<available classname="${run.main.classname}" property="is.run.main.classname.configured" classpathref="run.main.classpath"/>
+		<fail unless="is.run.main.classname.configured" message="the 'run.main.classname' property is not properly configured. By default this property take the same value as 'project.main.classname'  property. If you're looking for a way to reference your mainclass one time for all plugins you should set project.main.classname instead."/>
+
+		<java classpathref="run.main.classpath" classname="${run.main.classname}" />
+	</target>
+
+	<target name=":doit" depends=":init, :run" />
+</project>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="run-java"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides java bytecode execution feature.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/run-java/0.1/run-java.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,63 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.
+-->
+<project name="org.apache.easyant.plugins#scaladoc"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="report" />
+		
+		<ea:parameter property="src.main.scala" required="true"
+			description="directory where sources to be compiled are" />
+		<ea:parameter property="src.test.scala" required="true"
+			description="directory where test sources to be compiled are" />
+		<ea:parameter path="compile.main.classpath" required="true" 
+			description="path used to compile main sources" />
+		<ea:parameter path="compile.test.classpath" required="true" 
+			description="path used to compile test sources" />
+		
+		<ea:parameter property="target.report" default="${target}/report" 
+			description="base directory for reports"/>
+		<ea:parameter property="target.scaladoc" default="${target.report}/javadoc" 
+			description="base directory where scaladoc will be generated" />
+				
+		<ea:parameter property="target.scaladoc.main" default="${target.scaladoc}/main" 
+			description="directory where scaladoc will be generated" />
+		<ea:parameter property="target.scaladoc.test" default="${target.scaladoc}/test" 
+			description="directory where scaladoc for tests will be generated" />
+		
+		<available file="${src.main.scala}" property="has.src.main.scala" />
+		<available file="${src.test.scala}" property="has.src.test.scala" />
+	</target>	
+
+	<target name="-main" if="has.src.main.scala">
+		<mkdir dir="${target.scaladoc.main}"/>
+		<scaladoc destdir="${target.scaladoc.main}" srcdir="${src.main.scala}" classpathref="compile.main.classpath"/>
+	</target>
+	
+	<target name="-test" if="has.src.test.scala">
+		<mkdir name="${target.scaladoc.test}"/>
+		<scaladoc destdir="${target.scaladoc.test}" srcdir="${src.test.scala}" classpathref="compile.test.classpath"/>
+	</target>
+	
+	<target name=":scaladoc" depends="validate,-main,-test" phase="report" description="generate scaladoc report for main classes and test classes"/>
+	<target name="doit" depends=":scaladoc" />
+</project>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="scaladoc"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides scaladoc feature.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scaladoc/0.1/scaladoc.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,79 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.
+-->
+<project name="org.apache.easyant.plugins#scm-svn" xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+    <target name=":init" phase="validate" >
+                <ea:parameter phase="validate" />
+		<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="org.apache.easyant.plugins#scm-svn.classpath" /> 
+    </target>
+
+    <target name="-config" depends=":init">
+	<ea:parameter property="scm.connection.username" description="defines the username used to connect to the SCM" default=""/>
+	<ea:parameter property="scm.connection.password" description="defines the password used to connect to the SCM" default=""/>
+	<ea:parameter property="scm.connection.baseurl" description="the base scm url of your project" required="true"/>
+	<ea:parameter property="scm.svn.javahl" description="set to 'false' to use command line interface instead of JNI JavaHL binding" default="true"/>
+	<ea:parameter property="scm.svn.svnkit" description="set to 'false' to use command line interface instead of SVNKit binding" default="false"/>
+	<ea:parameter property="scm.svn.failonerror" description="controls wheter an error stops the build or is merely reported to the screen" default="true"/>
+	<ea:parameter property="scm.svn.dateformatter" description="formatter definition used to format/parse date (e.g. when revision is specified as date)" default="MM/DD/YYYY HH:MM AM_PM"/>
+	<ea:parameter property="scm.svn.datetimezone" description="time zone used to format/parse dates (e.g. when revision is specified as date)" default="local"/>
+	<ea:parameter property="scm.working.copy" default="${basedir}" description="Define the source url (used for copy)"/>
+    </target>
+
+    <target name=":tag" description="tag the project" depends="-config">
+           <echo>creating tag on the project</echo>
+	   <ea:parameter property="scm.svn.base.tags" default="${scm.connection.baseurl}/tags" description="The url of tags base directory (used by svn protocol). It is not necessary to set it if you use the standard svn layout (branches/tags/trunk)."/>
+	   <ea:parameter property="scm.tag.name" required="true" description="name of the tag to create"/>
+	   <ea:parameter property="scm.commit.message" required="true" description="the commit message"/>
+	   <svn username="${scm.connection.username}" password="${scm.connection.password}" javahl="${scm.svn.javahl}" svnkit="${scm.svn.svnkit}" dateFormatter="${scm.svn.dateformatter}" dateTimeZone="${scm.svn.datetimezone}" failOnError="${scm.svn.failonerror}">
+		<copy srcPath="${scm.working.copy}" destUrl="${scm.svn.base.tags}/${scm.tag.name}" message="${scm.commit.message}"/>
+	   </svn>
+    </target>
+    <target name=":branch" description="branch the project" depends="-config">
+           <echo>creating branch on the project</echo>
+	   <ea:parameter property="scm.svn.base.branches" default="${scm.connection.baseurl}/branches" description="The url of tags base directory (used by svn protocol). It is not necessary to set it if you use the standard svn layout (branches/tags/trunk)."/>
+	   <ea:parameter property="scm.commit.message" required="true" description="the commit message"/>
+	   <ea:parameter property="scm.branch.name" default="${module.version.target}" description="name of the branch to create"/>
+	   <svn username="${scm.connection.username}" password="${scm.connection.password}" javahl="${scm.svn.javahl}" svnkit="${scm.svn.svnkit}" dateFormatter="${scm.svn.dateformatter}" dateTimeZone="${scm.svn.datetimezone}" failOnError="${scm.svn.failonerror}">
+		<copy srcPath="${scm.working.copy}" destUrl="${scm.svn.base.branches}/${scm.branch.name}" message="${scm.commit.message}"/>
+	   </svn>
+    </target>
+
+    <!-- release -->
+
+    <target name="-init-release">
+       <ea:parameter property="scm.tag.name" default="${version}" description="name of the tag to create"/>
+	   <ea:parameter property="scm.commit.message" default="EasyAnt: release ${version}" description="the commit message"/>
+    </target>
+
+    <target name=":release" phase="release" depends="generate-release-version,-init-release,:tag"/>
+
+    <!-- integration -->
+
+    <target name="-init-integration">
+	   <ea:parameter property="scm.tag.name" default="${version}" description="name of the tag to create"/>
+	   <ea:parameter property="scm.commit.message" default="EasyAnt: release ${version}" description="the commit message"/>
+    </target>
+
+    <target name=":integration" phase="publish-shared" depends="generate-shared-version,-init-integration,:tag"/>
+
+    <target name="doit" depends=":init" />
+
+</project>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,32 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0">
+	<info organisation="org.apache.easyant.plugins"
+	       module="scm-svn"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides svn feature.</description>
+	</info>
+        <publications>
+                <artifact type="ant"/>
+        </publications>
+        <dependencies>
+                <dependency org="svnant" name="svnant" rev="1.2.1"/>
+        </dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/scm-svn/0.1/scm-svn.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/ivy.xml.tpl
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/ivy.xml.tpl?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/ivy.xml.tpl (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/ivy.xml.tpl Thu Feb 17 17:01:07 2011
@@ -0,0 +1,7 @@
+<ivy-module version="1.0">
+    <info organisation="@skeleton.organisation@" module="@skeleton.module@" revision="@skeleton.revision@"/>
+    
+    <publications>
+    	<artifact type="@skeleton.type@"/>
+    </publications>
+</ivy-module>

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,220 @@
+<!--
+    Copyright 2008-2010 the EasyAnt project
+   
+    See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership.
+   
+    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.
+-->
+<project name="org.apache.easyant.plugins#skeleton"
+    xmlns:ac="antlib:net.sf.antcontrib"
+    xmlns:ivy="antlib:org.apache.ivy.ant"
+    xmlns:ea="antlib:org.apache.easyant">
+
+    <ea:core-version requiredrevision="[0.8,+]" />
+   
+    <dirname file="${ant.file.org.apache.easyant.plugins#skeleton}" property="ant.dir.org.apache.easyant.plugins#skeleton" />
+   
+    <target name=":init" phase="validate">
+        <ea:parameter phase="validate" />
+        <ea:parameter property="skeleton.default.basedir" default="${basedir}" description="define the root path of your skeleton project" />
+        <ea:parameter property="skeleton.default.excludes.pattern" default="target/**" description="define the default excludes pattern used to package a project skeleton" />
+        <ea:parameter property="skeleton.default.includes.pattern" default="" description="define the default excludes pattern used to package a project skeleton" />
+        <ea:parameter property="skeleton.default.type" default="zip" description="define the default type of a skeleton (jar/zip...)" />
+        <ea:parameter property="skeleton.default.to.resolver" default="easyant-shared-modules" description="the repository name where the skeleton jar will be published" />
+        <ea:parameter property="skeleton.default.status" default="release" description="The status of the skeleton that will be published" />
+        <ea:parameter property="skeleton.default.revision" default="0.1" description="The default revision if the skeleton that will be published"/>
+        <ea:parameter property="skeleton.default.organisation" default="org.apache.easyant.skeletons" description="The default organisation name of skeletons"/>
+        <ea:parameter property="skeleton.type.available" default="zip,jar,tar" description="define the available archive type of a skeleton (jar/zip...)" />
+        <ea:parameter property="skeleton.publish.overwrite" default="false" description="True to overwrite files in repository if the revision already exist, false to let it as is"/>
+       
+        <ea:parameter property="skeleton.interactive.mode" default="true" description="specify if easyant should ask questions instead of using -Dproperties" />
+               
+        <condition property="skeleton.is.interactive">
+            <istrue value="${skeleton.interactive.mode}"/>
+        </condition>
+    	
+    	<echo message="skeleton 0.1 has been deprecated, we strongly recommend you to switch to the most recent one compatible with your easyant distribution" level="warning"/>
+   
+    </target>
+   
+   
+    <!-- =================================
+                      target: create             
+                     ================================= -->
+    <target name="-create-usage">
+        <echo level="info">This target will now create a new project from a project skeleton.</echo>
+        <echo level="info">This target can be called with -Dparameters, refer to the skeleton plugin documentation to have more informations.</echo>
+    	<ac:if>
+    		<and>
+    			<isset property="skeleton.org"/>
+    			<isset property="skeleton.module"/>
+    			<isset property="skeleton.rev"/>
+    		</and>
+    		<ac:then>
+    			<echo level="info">    Example: easyant skeleton:create -Dskeleton.org=${skeleton.org} -Dskeleton.module=${skeleton.module} -Dskeleton.rev=${skeleton.rev} -Dproject.org=org.mycompany -Dproject.module=myproject -Dproject.ref=0.1</echo>
+    		</ac:then>
+    		<ac:else>
+    			<echo level="info">    Example: easyant skeleton:create -Dskeleton.org=foo -Dskeleton.module=bar-skeleton -Dskeleton.rev=0.1 -Dproject.org=org.mycompany -Dproject.module=myproject -Dproject.ref=0.1</echo>
+    		</ac:else>
+    	</ac:if>
+    </target>
+
+    <target name="-check-create" if="skeleton.is.interactive">
+        <input message="Organisation name of the skeleton project" addproperty="skeleton.org" defaultvalue="${skeleton.default.organisation}"/>
+        <input message="Module name of the skeleton project" addproperty="skeleton.module"/>
+        <input message="Revision number of the skeleton project" addproperty="skeleton.rev"/>
+       
+        <input message="The path where the skeleton project will be unzipped" addproperty="skeleton.target.dir" defaultvalue="${skeleton.default.basedir}"/>
+       
+        <input message="Organisation name of YOUR project" addproperty="project.org"/>
+        <input message="Module name of YOUR project" addproperty="project.module"/>
+        <input message="Revision number of YOUR project" addproperty="project.rev" defaultvalue="0.1"/>
+    </target>
+   
+    <target name="-generate" depends="validate" if="skeleton.is.interactive">
+    	<echo>Choose a skeleton in the following list:</echo>
+        <ea:searchmodule organisation="org.apache.easyant.skeletons" module="*" revision="*" propertyprefix="skeleton" settingsRef="easyant.ivy.instance"/>
+    </target>
+   
+    <target name=":generate" depends="-generate,:create" description="generate a new project from skeleton" if="skeleton.is.interactive"/>
+
+    <target name=":create" depends="validate,-create-usage, -check-create" description="create a new project from skeleton">
+        <ea:parameter property="skeleton.org" default="${skeleton.default.organisation}" description="Organisation name of the skeleton project" />
+        <ea:parameter property="skeleton.module" required="true" description="Module name of the skeleton project" />
+        <ea:parameter property="skeleton.rev" required="true" description="Revision number of the skeleton project" />
+        <ea:parameter property="skeleton.target.dir" default="${skeleton.default.basedir}" description="The path where the skeleton project will be unzipped"/>
+        <ea:parameter property="project.org" required="true" description="Organisation name of YOUR project" />
+        <ea:parameter property="project.module" required="true" description="Module name of YOUR project" />
+        <ea:parameter property="project.rev" default="0.1" description="Revision number of YOUR project" />
+        <ea:parameter property="skeleton.postinstall.script" default="${skeleton.target.dir}/skeleton.postinstall.ant" description="An optional postinstall script"/>
+
+        <echo>Retrieving project skeleton : ${skeleton.org}#${skeleton.module};${skeleton.rev}</echo>
+        <ivy:retrieve organisation="${skeleton.org}" module="${skeleton.module}" revision="${skeleton.rev}" inline="true" pattern="${skeleton.target.dir}/[artifact].[ext]" log="quiet" settingsRef="easyant.ivy.instance"/>
+        <ivy:artifactproperty organisation="${skeleton.org}" module="${skeleton.module}" revision="${skeleton.rev}" inline="true" name="skeleton.artifact.name" value="[artifact].[ext]" settingsRef="easyant.ivy.instance"/>
+
+        <!--
+            In the case where artifacts exist but does not match with skeleton.type, ivy does throw an error.
+            So we should check it manually
+        -->
+        <property name="skeleton.download.artifact" value="${skeleton.target.dir}/${skeleton.artifact.name}"/>
+        <available file="${skeleton.download.artifact}" property="skeleton.download.artifact.exist"/>
+        <fail unless="skeleton.download.artifact.exist" message="Impossible to find the downloaded artifact!"/>
+       
+        <!-- Unzip the project skeleton -->
+        <echo>Unzipping project skeleton to ${skeleton.target.dir}</echo>
+        <unzip dest="${skeleton.target.dir}" src="${skeleton.download.artifact}"/>
+       
+        <filterset id="skeleton.create.replace.filter">
+            <filter token="project.module" value="${project.module}" />
+            <filter token="project.organisation" value="${project.org}" />
+            <filter token="project.revision" value="${project.rev}" />
+        </filterset>
+       
+        <!-- Replacing filter pattern -->
+        <echo level="info">Trying to replace property related to YOUR project in .tpl files</echo>
+        <move todir="${skeleton.target.dir}">
+            <fileset dir="${skeleton.target.dir}" includes="**/*.tpl" />
+            <filterset refid="skeleton.create.replace.filter"/>
+            <mapper type="glob" from="*.tpl" to="*" />
+        </move>
+           
+        <condition property="skeleton.postinstall.script.exists">
+            <available file="${skeleton.postinstall.script}"/>
+        </condition>
+        <ac:if>
+            <isset property="skeleton.postinstall.script.exists"/>
+            <ac:then>
+                <!-- compute absolute path for script -->
+                <property name="postinstall.script.path" location="${skeleton.postinstall.script}"/>
+
+                <!-- Run post install script (Optionnal) -->
+                <ant antfile="${postinstall.script.path}" inheritall="true" inheritrefs="true" dir="${skeleton.target.dir}"/>
+               
+                <!-- Delete skeleton post install script -->
+                <delete file="${skeleton.postinstall.script}"/>
+            </ac:then>
+        </ac:if>
+       
+        <!-- Delete the skeleton archive -->
+        <echo>Cleaning your ${skeleton.download.artifact} directory</echo>
+        <delete file="${skeleton.download.artifact}"/>
+        <delete dir="${skeleton.target.dir}" includes="**/*.tpl"/>
+               
+
+    </target>
+   
+    <!-- =================================
+                      target: install          
+                     ================================= -->
+    <target name="-install-usage">
+        <echo level="info">This target will now package a given directory into a project skeleton and install it on a repository (by default ${skeleton.default.to.resolver})</echo>
+        <echo level="info">This target can be called with -Dparameters, refer to the skeleton documentation to have more informations.</echo>
+        <echo level="info">Example: easyant skeleton:create -Dskeleton.org=foo -Dskeleton.module=bar -Dskeleton.rev=0.1</echo>
+    </target>
+    <target name="-check-install" if="skeleton.is.interactive">
+        <input message="Organisation name of the skeleton project" addproperty="skeleton.org" defaultvalue="${skeleton.default.organisation}"/>
+        <input message="Module name of the skeleton project" addproperty="skeleton.module"/>
+        <input message="Revision number of the skeleton project" addproperty="skeleton.rev" defaultvalue="${skeleton.default.revision}"/>
+
+        <input message="The path where the skeleton project that will be packaged" addproperty="skeleton.archive.dir" defaultvalue="${skeleton.default.basedir}"/>
+        <input message="The repository name where the skeleton will be published" addproperty="skeleton.to.resolver" defaultvalue="${skeleton.default.to.resolver}" />
+        <input message="The status of the skeleton that will be published" addproperty="skeleton.status" defaultvalue="${skeleton.default.status}"/>
+    </target>
+
+    <target name=":install" depends="validate,-install-usage,-check-install" description="install a project skeleton on a repository">
+        <ea:parameter property="skeleton.org" default="${skeleton.default.organisation}" description="Organisation name of the skeleton project" />
+        <ea:parameter property="skeleton.module" required="true" description="Module name of the skeleton project" />
+        <ea:parameter property="skeleton.rev" default="${skeleton.default.revision}" description="Revision number of the skeleton project" />
+       
+        <!-- Applying default values if properties are not set -->
+        <ea:parameter property="skeleton.archive.name" default="${skeleton.org}.zip" description="the name of the skeleton jar that will be packaged" />
+        <ea:parameter property="skeleton.archive.dir" default="${skeleton.default.basedir}" description="The path where the skeleton project that will be packaged"/>
+        <ea:parameter property="skeleton.to.resolver" default="${skeleton.default.to.resolver}" description="The repository name where the skeleton will be published"/>
+        <ea:parameter property="skeleton.status" default="${skeleton.default.status}" description="The status of the skeleton that will be published"/>
+        <ea:checkresolver resolver="skeleton.to.resolver" settingsRef="easyant.ivy.instance" description="name of the repository used to publish skeletons"/>
+        <!-- get the extention name -->
+        <ac:propertyregex property="skeleton.type" input="${skeleton.archive.name}" regexp=".+\.([^.]*$|$)" select="\1"/>
+       
+        <!-- TODO: introduce a condition test to check if skeleton.type is compatible with <zip> task -->
+       
+        <!-- zip the skeleton dir -->
+        <zip destfile="${skeleton.archive.name}">
+            <fileset dir="${skeleton.archive.dir}" excludes="${skeleton.default.excludes.pattern},${skeleton.archive.name},${skeleton.archive.name}.xml" includes="${skeleton.default.includes.pattern}" />
+        </zip>
+       
+        <property name="skeleton.ivy.template" value="${org.apache.easyant.plugins#skeleton.ivy.xml.tpl.file}"/>
+       
+        <filterset id="skeleton.filter">
+            <filter token="skeleton.organisation" value="${skeleton.org}" />
+            <filter token="skeleton.module" value="${skeleton.module}" />
+            <filter token="skeleton.revision" value="${skeleton.rev}" />
+            <filter token="skeleton.type" value="${skeleton.type}" />
+        </filterset>
+        <copy file="${skeleton.ivy.template}" tofile="${skeleton.archive.name}.xml" overwrite="true">
+            <filterset refid="skeleton.filter"/>   
+        </copy>
+       
+        <ivy:resolve conf="default" file="${skeleton.archive.name}.xml" log="quiet" settingsRef="easyant.ivy.instance"/>
+       
+        <!--publishing -->
+        <ivy:publish artifactspattern="${skeleton.archive.name}" srcivypattern="${skeleton.archive.name}.xml" resolver="${skeleton.to.resolver}" status="${skeleton.status}" overwrite="${skeleton.publish.overwrite}" settingsRef="easyant.ivy.instance"/>
+       
+        <!--clean environnement -->
+        <echo message="cleaning environnement..."/>
+        <delete file="${skeleton.archive.name}"/>
+        <delete file="${skeleton.archive.name}.xml"/>
+    </target>
+   
+    <target name="doit" depends="validate" />
+</project>
\ No newline at end of file

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,30 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="skeleton"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This modules provides targets to create or install skeleton of projects.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+		<artifact name="ivy.xml" type="tpl"/>
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.1/skeleton.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,173 @@
+<!--
+    Copyright 2008-2010 the EasyAnt project
+   
+    See the NOTICE file distributed with this work for additional information
+    regarding copyright ownership.
+   
+    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.
+-->
+<project name="org.apache.easyant.plugins#skeleton"
+    xmlns:ac="antlib:net.sf.antcontrib"
+    xmlns:ivy="antlib:org.apache.ivy.ant"
+    xmlns:ea="antlib:org.apache.easyant">
+
+    <ea:core-version requiredrevision="[0.8,+]" />
+   
+    <dirname file="${ant.file.org.apache.easyant.plugins#skeleton}" property="ant.dir.org.apache.easyant.plugins#skeleton" />
+   
+    <target name=":init" phase="validate">
+        <ea:parameter phase="validate" />
+        <ea:parameter property="skeleton.default.basedir" default="${basedir}" description="define the root path of your skeleton project" />
+        <ea:parameter property="skeleton.default.excludes.pattern" default="target/**" description="define the default excludes pattern used to package a project skeleton" />
+        <ea:parameter property="skeleton.default.includes.pattern" default="" description="define the default excludes pattern used to package a project skeleton" />
+        <ea:parameter property="skeleton.default.type" default="zip" description="define the default type of a skeleton (jar/zip...)" />
+        <ea:parameter property="skeleton.default.to.resolver" default="easyant-shared-modules" description="the repository name where the skeleton jar will be published" />
+        <ea:parameter property="skeleton.default.revision" default="0.1" description="The default revision if the skeleton that will be published"/>
+        <ea:parameter property="skeleton.default.organisation" default="org.apache.easyant.skeletons" description="The default organisation name of skeletons"/>
+    	<ea:parameter property="project.default.organisation" default="" description="The default organisation name of generated project"/>
+       
+        <ea:parameter property="skeleton.interactive.mode" default="true" description="specify if easyant should ask questions instead of using -Dproperties" />
+               
+        <condition property="skeleton.is.interactive">
+            <istrue value="${skeleton.interactive.mode}"/>
+        </condition>
+       
+    </target>
+   
+   
+    <!-- =================================
+                      target: generate             
+                     ================================= -->
+    <target name="-generate-usage">
+        <echo level="info">This target will now create a new project from a project skeleton.</echo>
+        <echo level="info">This target can be called with -Dparameters, refer to the skeleton plugin documentation to have more informations.</echo>
+    	<ac:if>
+    		<and>
+    			<isset property="skeleton.org"/>
+    			<isset property="skeleton.module"/>
+    			<isset property="skeleton.rev"/>
+    		</and>
+    		<ac:then>
+    			<echo level="info">    Example: easyant skeleton:create -Dskeleton.org=${skeleton.org} -Dskeleton.module=${skeleton.module} -Dskeleton.rev=${skeleton.rev} -Dproject.org=org.mycompany -Dproject.module=myproject -Dproject.ref=0.1</echo>
+    		</ac:then>
+    		<ac:else>
+    			<echo level="info">    Example: easyant skeleton:create -Dskeleton.org=foo -Dskeleton.module=bar-skeleton -Dskeleton.rev=0.1 -Dproject.org=org.mycompany -Dproject.module=myproject -Dproject.ref=0.1</echo>
+    		</ac:else>
+    	</ac:if>
+    </target>
+
+    <target name="-check-generate" if="skeleton.is.interactive">
+        <input message="Organisation name of the skeleton project" addproperty="skeleton.org" defaultvalue="${skeleton.default.organisation}"/>
+        <input message="Module name of the skeleton project" addproperty="skeleton.module"/>
+        <input message="Revision number of the skeleton project" addproperty="skeleton.rev"/>
+       
+        <input message="The path where the skeleton project will be unzipped" addproperty="skeleton.target.dir" defaultvalue="${skeleton.default.basedir}"/>
+       
+        <input message="Organisation name of YOUR project" addproperty="project.org" defaultvalue="${project.default.organisation}"/>
+        <input message="Module name of YOUR project" addproperty="project.module"/>
+        <input message="Revision number of YOUR project" addproperty="project.rev" defaultvalue="0.1"/>
+    </target>
+   
+    <target name="-select" depends="validate" if="skeleton.is.interactive">
+    	<echo>Choose a skeleton in the following list:</echo>
+        <ea:searchmodule organisation="org.apache.easyant.skeletons" module="*" revision="*" propertyprefix="skeleton" settingsRef="easyant.ivy.instance"/>
+    </target>
+   
+    <target name=":select" depends="-select,:generate" description="select and create a new project from a list of all available skeletons" if="skeleton.is.interactive"/>
+
+    <target name=":generate" depends="validate,-generate-usage, -check-generate" description="generate a new project from skeleton">
+        <ea:parameter property="skeleton.org" default="${skeleton.default.organisation}" description="Organisation name of the skeleton project" />
+        <ea:parameter property="skeleton.module" required="true" description="Module name of the skeleton project" />
+        <ea:parameter property="skeleton.rev" required="true" description="Revision number of the skeleton project" />
+        <ea:parameter property="skeleton.target.dir" default="${skeleton.default.basedir}" description="The path where the skeleton project will be unzipped"/>
+        <ea:parameter property="project.org" required="true" description="Organisation name of YOUR project" />
+        <ea:parameter property="project.module" required="true" description="Module name of YOUR project" />
+        <ea:parameter property="project.rev" default="0.1" description="Revision number of YOUR project" />
+        <ea:parameter property="skeleton.postinstall.script" default="${skeleton.target.dir}/skeleton.postinstall.ant" description="An optional postinstall script"/>
+
+        <echo>Retrieving project skeleton : ${skeleton.org}#${skeleton.module};${skeleton.rev}</echo>
+        <ivy:retrieve organisation="${skeleton.org}" module="${skeleton.module}" revision="${skeleton.rev}" inline="true" pattern="${skeleton.target.dir}/[artifact].[ext]" log="quiet" settingsRef="easyant.ivy.instance"/>
+        <ivy:artifactproperty organisation="${skeleton.org}" module="${skeleton.module}" revision="${skeleton.rev}" inline="true" name="skeleton.artifact.name" value="[artifact].[ext]" settingsRef="easyant.ivy.instance"/>
+
+        <!--
+            In the case where artifacts exist but does not match with skeleton.type, ivy does throw an error.
+            So we should check it manually
+        -->
+        <property name="skeleton.download.artifact" value="${skeleton.target.dir}/${skeleton.artifact.name}"/>
+        <available file="${skeleton.download.artifact}" property="skeleton.download.artifact.exist"/>
+        <fail unless="skeleton.download.artifact.exist" message="Impossible to find the downloaded artifact!"/>
+       
+        <!-- Unzip the project skeleton -->
+        <echo>Unzipping project skeleton to ${skeleton.target.dir}</echo>
+        <unjar dest="${skeleton.target.dir}" src="${skeleton.download.artifact}">
+        	<patternset>
+        		<exclude name="META-INF/**"/>
+        	</patternset>
+    	</unjar>
+       
+        <filterset id="skeleton.create.replace.filter">
+            <filter token="project.module" value="${project.module}" />
+            <filter token="project.organisation" value="${project.org}" />
+            <filter token="project.revision" value="${project.rev}" />
+        </filterset>
+       
+        <!-- Replacing filter pattern -->
+        <echo level="info">Trying to replace property related to YOUR project in .tpl files</echo>
+        <move todir="${skeleton.target.dir}">
+            <fileset dir="${skeleton.target.dir}" includes="**/*.tpl" />
+            <filterset refid="skeleton.create.replace.filter"/>
+            <mapper type="glob" from="*.tpl" to="*" />
+        </move>
+           
+        <condition property="skeleton.postinstall.script.exists">
+            <available file="${skeleton.postinstall.script}"/>
+        </condition>
+        <ac:if>
+            <isset property="skeleton.postinstall.script.exists"/>
+            <ac:then>
+                <!-- compute absolute path for script -->
+                <property name="postinstall.script.path" location="${skeleton.postinstall.script}"/>
+
+                <!-- Run post install script (Optionnal) -->
+                <ant antfile="${postinstall.script.path}" inheritall="true" inheritrefs="true" dir="${skeleton.target.dir}"/>
+               
+                <!-- Delete skeleton post install script -->
+                <delete file="${skeleton.postinstall.script}"/>
+            </ac:then>
+        </ac:if>
+       
+        <!-- Delete the skeleton archive -->
+        <echo>Cleaning your ${skeleton.download.artifact} directory</echo>
+        <delete file="${skeleton.download.artifact}"/>
+    </target>
+	
+	<target name="-newplugin">
+		<property name="skeleton.org" value="org.apache.easyant.skeletons"/>
+		<property name="skeleton.module" value="std-ant-plugin"/>
+		<property name="skeleton.rev" value="latest.integration"/>
+		<property name="project.default.organisation" value="org.apache.easyant.plugins"/>
+	</target>
+	
+	<target name=":newplugin" depends="-newplugin,:generate" description="create a new easyant plugin"/>
+
+	<target name="-newskeleton">
+		<property name="skeleton.org" value="org.apache.easyant.skeletons"/>
+		<property name="skeleton.module" value="std-skeleton"/>
+		<property name="skeleton.rev" value="latest.integration"/>
+		<property name="project.default.organisation" value="org.apache.easyant.skeletons"/>
+	</target>
+	
+	<target name=":newskeleton" depends="-newskeleton,:generate" description="create a new skeleton"/>
+	
+    <target name="doit" depends="validate" />
+</project>
\ No newline at end of file

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="skeleton"
+	       status="milestone"
+	       revision="0.2">
+	       <description>This modules provides targets to create projects from skeletons.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/skeleton/0.2/skeleton.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,77 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.
+-->
+<project name="org.apache.easyant.plugins#source-jar" xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="package" />
+
+		<ea:parameter property="target.artifacts.main.source.jar.name" default="${module.name}-sources.jar" description="main source artifact file name" />
+
+		<ea:parameter property="target.artifacts.test.source.jar.name" default="${module.name}-test-sources.jar" description="test source artifact file name" />
+		<ea:parameter property="target.artifacts" required="true" description="destination directory for target artifacts"/>
+
+
+		<ea:parameter property="src.main.java" required="true" description="directory where main java files are stored" />
+		<ea:parameter property="src.test.java" required="true" description="directory where test java files are stored" />
+
+		<ea:parameter property="src.main.resources" required="true" description="directory where main resources files are stored" />
+		<ea:parameter property="src.test.resources" required="true" description="directory where test resources files are stored" />
+
+		<condition property="has.src.main">
+			<or>
+				<available file="${src.main.java}" />
+				<available file="${src.main.resources}" />
+			</or>
+		</condition>
+
+		<condition property="has.src.test">
+			<or>
+				<available file="${src.test.java}" />
+				<available file="${src.test.resources}" />
+			</or>
+		</condition>
+	</target>
+
+	<!-- Main Sources -->
+
+	<target name=":main" depends="validate" description="package main source as a JAR" if="has.src.main" unless="skip.source">
+		<mkdir dir="${target.artifacts}" />
+		<jar destfile="${target.artifacts}/${target.artifacts.main.source.jar.name}">
+			<fileset dir="${src.main.resources}" erroronmissingdir="false" />
+			<fileset dir="${src.main.java}" erroronmissingdir="false" />
+		</jar>
+		<ea:registerartifact type="source" ext="jar" classifier="sources" settingsRef="${project.ivy.instance}"/>
+	</target>
+
+	<!-- Test sources -->
+
+	<target name=":test" depends="validate" description="package test source as a JAR" if="has.src.test" unless="skip.source">
+		<mkdir dir="${target.artifacts}" />
+		<jar destfile="${target.artifacts}/${target.artifacts.test.source.jar.name}">
+			<fileset dir="${src.test.resources}" erroronmissingdir="false" />
+			<fileset dir="${src.test.java}" erroronmissingdir="false" />
+		</jar>
+		<ea:registerartifact type="test-source" ext="jar" classifier="test-sources" settingsRef="${project.ivy.instance}"/>
+	</target>
+
+	<target name="doit" depends=":main" />
+</project>

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/source-jar/0.1/source-jar.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,53 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="source-jar"
+	       status="milestone"
+	       revision="0.1">
+	       <description>
+	       		<p>This module provides source jar packaging feature.</p>
+	       		
+	       		<p>
+	       			You can bind targets of this plugin to package phase by using bindtarget element in your module.ivy file.
+	       			Example : 
+	       			<code type="xml">
+	       				<plugin name="source-jar" rev="0.1" as="source-jar"/>
+		       			<!-- for main sources -->
+		       			<bindtarget target="source-jar:main" tophase="package"/>
+		       			<!-- for test sources -->
+		       			<bindtarget target="source-jar:test" tophase="package"/>
+		       		</code>
+		       		Or as a nested element of the plugin
+		       		<code type="xml">
+	       				<plugin name="source-jar" rev="0.1" as="source-jar">
+	       					<!-- here, the target prefix is not mandatory as easyant can determine it from plugin element -->
+			       			<!-- for main sources -->
+			       			<bindtarget target=":main" tophase="package"/>
+			       			<!-- for test sources -->
+			       			<bindtarget target=":test:test" tophase="package"/>
+	       				</plugin>
+		       		</code>
+	       		</p>
+	       	</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>



Mime
View raw message