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 [5/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-bundl...
Date Thu, 17 Feb 2011 17:01:56 GMT
Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.properties (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,42 @@
+#	 ***************************************************************
+#	 * 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.
+#	 ***************************************************************
+#TODO: find a way to have a common property file shared by all build-types (std/webapp/etc..)
+module.name=${ivy.module}
+project.ivy.file=${easyant.file}
+
+src.main.java=${basedir}/src/main/java
+src.main.resources=${basedir}/src/main/resources
+src.test.java=${basedir}/src/test/java
+src.test.resources=${basedir}/src/test/resources
+
+target = ${basedir}/target
+target.main.classes=${target}/main/classes
+
+target.test.classes=${target}/test/classes
+target.test.xml=${target}/test/xml
+target.test.html=${target}/test/html
+
+target.artifacts=${target}/artifacts
+#without .jar extention 'cause osgi-bundle task is in charge to add extention name
+target.artifacts.main.bundle.name=${module.name}
+target.report=${target}/report
+
+manifest.file=${target}/MANIFEST.MF
+
+test.framework=junit
\ No newline at end of file

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,96 @@
+<!--
+	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#coverage-cobertura" 
+	xmlns:ac="antlib:net.sf.antcontrib"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+		
+	<ea:include mrid="org.apache.easyant.plugins#abstract-coverage;0.1" as=":abstract-coverage"/>
+
+	<target name=":init" phase="validate" depends=":abstract-coverage:init">
+		
+		<ea:parameter phase="verify"/>
+
+		<ea:parameter property="coverage.report.format" description="report output format; text/html/xml" default="html"/>
+		<ea:parameter property="cobertura.datafile.path" description="serialized object file where cobertura tracks coverage statistics" 
+			default="${target.coverage.report}/cobertura.ser"/>
+
+		<ea:parameter property="coverage.required.linerate" description="the required minimum line coverage for each class, as a percentage" default="0"/>
+		<ea:parameter property="coverage.required.branchrate" description="the required minimum branch coverage for each class, as a percentage" default="0"/>
+		<ea:parameter property="coverage.required.packagelinerate" description="the required minimum line coverage for each package, as a percentage" default="0"/>
+		<ea:parameter property="coverage.required.packagebranchrate" description="the required minimum branch coverage for each package, as a percentage" default="0"/>
+		<ea:parameter property="coverage.required.totallinerate" description="the required minimum line coverage for the entire module, as a percentage" default="0"/>
+		<ea:parameter property="coverage.required.totalbranchrate" description="the required minimum branch coverage for the entire module, as a percentage" default="0"/>
+		
+		<available property="cobertura.available" classname="net.sourceforge.cobertura.ant.CheckTask" classpathref="org.apache.easyant.plugins#coverage-cobertura.classpath"/>
+		<fail unless="cobertura.available" message="Cobertura not found on project classpath!" />
+
+		<mkdir dir="${target.coverage.report}" />
+		<property name="net.sourceforge.cobertura.datafile" location="${cobertura.datafile.path}"/>
+		<taskdef resource="tasks.properties" classpathref="org.apache.easyant.plugins#coverage-cobertura.classpath" />
+	
+		<!-- add datafile to system properties during test run, if it isn't explicitly set elsewhere -->
+		<ac:if>
+			<not><contains string="${test.run.jvmargs}" substring="net.sourceforge.cobertura.datafile"/></not>
+			<ac:then>
+				<ac:var name="test.run.jvmargs" value="-Dnet.sourceforge.cobertura.datafile='${cobertura.datafile.path}' ${test.run.jvmargs}"/>
+			</ac:then>
+		</ac:if>
+
+	</target>
+
+ 	<target name=":instrument" depends=":init" phase="process-classes" if="has.src.test.java">
+		<ea:path overwrite="prepend" pathid="run.test.classpath">
+			<pathelement path="${target.coverage.classes}" />
+			<path refid="org.apache.easyant.plugins#coverage-cobertura.classpath"/>
+		</ea:path>	
+				
+ 		<!-- Apply instrumentation to app classes -->
+ 		<cobertura-instrument todir="${target.coverage.classes}"
+ 				datafile="${net.sourceforge.cobertura.datafile}">
+ 		    <fileset dir="${target.main.classes}">
+ 		        <include name="**/*.class" />
+ 		        <exclude name="${coverage.exclude.filter}" />
+ 		    </fileset>
+ 		</cobertura-instrument>
+	</target>
+
+	<target name=":report" depends=":init" phase="report" if="has.src.test.java">
+
+		<cobertura-report format="${coverage.report.format}" destdir="${target.coverage.report}" srcdir="${src.main.java}" 
+			datafile="${net.sourceforge.cobertura.datafile}"/>
+		
+	</target>
+	
+	<target name=":check" depends=":init" phase="verify" if="has.src.test.java"
+			description="fail the build if code coverage targets are not satisfied">
+		<cobertura-check branchrate="${coverage.required.branchrate}" 
+						 linerate="${coverage.required.linerate}" 
+						 packagebranchrate="${coverage.required.packagebranchrate}" 
+						 packagelinerate="${coverage.required.packagelinerate}"
+						 totalbranchrate="${coverage.required.totalbranchrate}" 
+						 totallinerate="${coverage.required.totallinerate}"
+						 datafile="${net.sourceforge.cobertura.datafile}"/>
+	</target>
+
+	<target name=":cobertura" depends="validate,test,report" description="generate cobertura covera report" />
+	<target name="doit" depends=":cobertura" />
+	
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,35 @@
+<!--
+	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="coverage-cobertura"
+	       status="milestone"
+	       revision="0.1">
+		<description>
+Provides test code coverage report using cobertura framework.
+		</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	<dependencies>
+		<dependency org="net.sourceforge.cobertura" name="cobertura" rev="1.9.2" conf="default"/>
+		<exclude org="org.apache.ant" module="*"/>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/coverage-cobertura/0.1/coverage-cobertura.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,93 @@
+<!--
+	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#docbook" 
+	xmlns:ivy="antlib:org.apache.ivy.ant"
+	xmlns:m="http://ant.apache.org/ivy/maven"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	<dirname file="${ant.file.org.apache.easyant.plugins#docbook}" property="docbook.module.dir" />
+
+	<target name=":init" phase="validate">
+
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="documentation" />
+
+		<ea:parameter property="target.documentation.dir" description="directory where the documentation will be generated to" 
+			default="target/documentation"/>
+		<ea:parameter property="src.documentation.dir" description="directory where documentation sources reside" 
+			default="src/documentation"/>
+		
+		<ea:parameter property="docbook.documentation.dir" description="directory where the documentation is stored in the project" 
+			default="${src.documentation.dir}/docbook"/>
+			
+		<ea:parameter property="docbook.index.file" description="the main docbook source file" 
+			default="${docbook.documentation.dir}/index.xml"/>
+		<ea:parameter property="docbook.output.file" description="path of the HTML index file for generated documentation"
+			default="${target.documentation.dir}/index.html"/>
+			
+		<ea:parameter property="docbook.parameters" 
+			description="whitespace-separated list of parameter values to pass to the DocBook XSL, for example 'param1=value1 param2=value2'"
+			default=""/>
+		
+	</target>
+
+	<target name=":generate" phase="documentation" depends=":init" unless="skip.documentation" description="generate documentation">
+
+		<!-- unpack docbook xsl resources into the local module directory -->
+		<mkdir dir="${docbook.module.dir}/docbook-xsl"/>
+
+		<ivy:retrieve inline="true" 
+				organisation="org.apache.easyant.plugins" 
+				module="docbook" 
+				revision="0.1" 
+				conf="docbook_dist" 
+				pattern="${docbook.module.dir}/docbook-xsl/[artifact](-[classifier]).[ext]" 
+				settingsRef="easyant.ivy.instance"/>
+		
+		<echo>Unpacking docbook XSL distribution...</echo>
+		<unzip src="${docbook.module.dir}/docbook-xsl/docbook-xsl-resources.zip" 
+			   dest="${docbook.module.dir}" overwrite="false"/>
+		
+		<mkdir dir="${target.documentation.dir}/html" />
+		<copy todir="${target.documentation.dir}/html">
+			<fileset dir="${src.documentation.dir}/html" includes="**/*" erroronmissingdir="false"/>
+		</copy>
+
+		<!-- convert to absolute path -->		
+		<property name="docbook.index.path" location="${docbook.index.file}"/>
+
+		<!-- TODO: support other transforms:  PDF, html-single, manpage, slides -->
+		<java classname="com.icl.saxon.StyleSheet" fork="true"
+			  failonerror="true" dir="${target.documentation.dir}/html"
+			  classpathref="org.apache.easyant.plugins#docbook.classpath">
+			<sysproperty key="javax.xml.parsers.DocumentBuilderFactory" value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
+			<sysproperty key="javax.xml.parsers.SAXParserFactory" value="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
+			<sysproperty key="org.apache.xerces.xni.parser.XMLParserConfiguration" value="org.apache.xerces.parsers.XIncludeParserConfiguration"/>
+			<jvmarg value="-Xmx256M"/>
+			<arg value="${docbook.index.path}"/>
+			<arg value="${docbook.module.dir}/docbook/html/chunk.xsl"/>
+			<arg line="${docbook.parameters}"/>
+		</java>
+		 
+	</target>
+
+	<target name="doit" depends=":generate" />
+	
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ant
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,44 @@
+<!--
+	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" xmlns:m="http://ant.apache.org/ivy/maven"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="docbook"
+	       status="milestone"
+	       revision="0.1">
+	       <description>Generates project documentation as HTML or PDF using docbook-xsl.  
+	       See <a href="http://www.sagehill.net/docbookxsl">http://www.sagehill.net/docbookxsl</a>
+	       for instructions on writing DocBook documentation and configuring the DocBook generator.
+	       </description>
+	</info>
+	<configurations>
+		<conf name="default"/>
+		<conf name="docbook_dist"/>
+	</configurations>
+    <publications>
+        <artifact type="ant" />
+    </publications>
+	<dependencies>
+		<dependency org="saxon" name="saxon" rev="6.5.3" conf="default"/>
+		<dependency org="xerces" name="xercesImpl" rev="2.9.1" conf="default"/>
+		<dependency org="net.sf.docbook" name="docbook-xsl-saxon" rev="1.0.0" conf="default"/>
+		<dependency org="net.sf.docbook" name="docbook-xsl" rev="1.75.1" conf="docbook_dist->default">
+			<artifact name="docbook-xsl" type="zip" m:classifier="resources" conf="docbook_dist"/>
+		</dependency>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/docbook/0.1/docbook.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,93 @@
+<!--
+	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#emma" 
+	xmlns:ac="antlib:net.sf.antcontrib"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+		
+	<ea:include mrid="org.apache.easyant.plugins#abstract-coverage;0.1" as=":abstract-coverage"/>
+
+	<target name=":init" phase="validate" depends=":abstract-coverage:init">
+		
+		<ea:parameter property="emma.metadata.path" description="location of emma metadata file" 
+			default="${target.coverage.report}/coverage.em"/>
+		<ea:parameter property="emma.datafile.path" description="location of emma coverage data file" 
+			default="${target.coverage.report}/coverage.ec"/>
+		
+		<ea:parameter property="emma.overrides.file" default="${target.coverage.report}/emma-overrides.properties"/>
+		
+		<!-- add datafile to system properties during test run, if it isn't explicitly set elsewhere -->
+		<property name="emma.properties" location="${emma.overrides.file}"/>
+		<mkdir dir="${target.coverage.report}" />
+
+		<!-- generate emma configuration file -->
+		<propertyfile file="${emma.overrides.file}">
+			<entry key="metadata.out.file" value="${emma.metadata.path}"/>
+			<entry key="coverage.out.file" value="${emma.datafile.path}"/>
+		</propertyfile>
+		
+		<ac:if>
+			<not><contains string="${test.run.jvmargs}" substring="emma.properties"/></not>
+			<ac:then>
+				<ac:var name="test.run.jvmargs" value="-Demma.properties='${emma.properties}' ${test.run.jvmargs}"/>
+			</ac:then>
+		</ac:if>
+		
+		<available property="emma.available" classname="com.vladium.emma.emmaTask" classpathref="org.apache.easyant.plugins#emma.classpath"/>
+		<fail unless="emma.available" message="Emma is unavailable!" />
+		<taskdef resource="emma_ant.properties" classpathref="org.apache.easyant.plugins#emma.classpath" />
+		
+	</target>
+
+ 	<target name=":instrument" depends=":init" phase="process-classes" if="has.src.test.java">
+		<ea:path overwrite="prepend" pathid="run.test.classpath">
+			<pathelement path="${target.coverage.classes}" />
+			<path refid="org.apache.easyant.plugins#emma.classpath"/>
+		</ea:path>	
+				
+		<!-- Apply emma instrumentation to the classes in instrpath and copy to destdir -->
+		<emma verbosity="${coverage.verbosity}" properties="${emma.properties}">
+			<instr instrpath="${target.main.classes}" destdir="${target.coverage.classes}" mode="copy" merge="true">
+				<filter excludes="${coverage.exclude.filter}" />
+			</instr>
+		</emma>
+	</target>
+
+	<target name=":report" depends=":init" phase="report" if="has.src.test.java">
+
+		<!-- Generate code coverage report -->
+		<emma>
+			<report sourcepath="${src.main.java}">
+				<fileset dir="${target.coverage.report}">
+					<include name="*.em" />
+					<include name="*.ec" />
+				</fileset>
+				<!--TODO: Find an easy way to choose report type -->
+				<txt outfile="${target.coverage.report}/${coverage.report.name}.txt" />
+				<xml outfile="${target.coverage.report}/${coverage.report.name}.xml" />
+				<html outfile="${target.coverage.report}/${coverage.report.name}.html" />
+			</report>
+		</emma>
+
+	</target>
+
+	<target name=":emma" depends="validate,test,report" description="generate emma covera report" />
+	<target name="doit" depends=":emma" />
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ant
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,36 @@
+<!--
+	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="emma"
+	       status="milestone"
+	       revision="0.1">
+		<description>
+This module provides coverage report using emma framework.<br/>
+Emma library and instrumentation classes (classes used for coverage report) will be prepended at the begining of compile.test.classpath and lib.test.classpath.
+		</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	<dependencies>
+		<dependency org="emma" name="emma" rev="2.0.5312"/>
+		<dependency org="emma" name="emma_ant" rev="2.0.5312"/>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/emma/0.1/emma.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,52 @@
+<!--
+	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#jetty-deploy" 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="jetty.temp.dir" default="${target}/jetty-temp" description="Jetty temporary directory. If unspecified, defaults to target/jetty-temp" />
+		<ea:parameter property="jetty.xml" required="false" description="Jetty configuration XML. If unspecified, defaults to jetty.xml shipped with 6.1.4 jetty." />
+		<ea:parameter property="jetty.context" default="/" description="Application context in jetty. If unspecified, defaults to root (/)." />
+
+
+		<available property="jetty.available" classname="org.mortbay.jetty.ant.JettyRunTask" classpathref="org.apache.easyant.plugins#jetty-deploy.classpath" />
+
+		<fail unless="jetty.available" message="Jetty is unavailable!" />
+
+
+		<taskdef name="jetty" classname="org.mortbay.jetty.ant.JettyRunTask" classpathref="org.apache.easyant.plugins#jetty-deploy.classpath" />
+	</target>
+
+	<!-- default way jetty will be run:
+		jetty temp directory: target/jetty-temp 
+		jetty configuration xml: jetty.xml shipped with this module (standard 6.1.4 jetty.xml shipped with jetty) 
+		webapplication context: root (/)
+	-->
+	<target name=":run" depends="package" description="run your webapp inside a jetty application server">
+		<echo message="Deploying ${module.name} on Jetty .." />
+		<jetty tempDirectory="${jetty.temp.dir}" jettyXml="${jetty.xml}">
+			<webApp name="${module.name}" warfile="${target.artifacts}/${target.artifacts.main.war.name}" contextpath="${jetty.context}" />
+		</jetty>
+	</target>
+
+	<target name="doit" depends=":run" />
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.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="jetty-deploy"
+	       status="milestone"
+	       revision="0.1">
+	       <description>
+	       	A developer-convenience module for quick war-build-and-deploy with jetty (v 6.1.4). This module will 
+	       	build a webapplication (following same requirements as build-webapp-java module), launch 
+	       	jetty and deploy the built application. <br />
+	       	The user can pass the following additional parameters for configuring the jetty run:
+	       	<ol>
+	       		<li>jetty.temp.dir: Jetty temp working directory. Defaults to: target/jetty-temp.</li>
+	       		<li>jetty.xml: Jetty Configuration XML. If unspecified, defaults to standard jetty XML 
+	       			shipped with jetty 6.1.4.</li>
+	       		<li>jetty.context: Context the webapplication should be deployed in. If unspecified,
+	       			defaults to Root (/) context.</li>
+	       	</ol><br />
+	       	Each of these can be selectively overriden by the user. To override, in your module.ivy, include 
+	       	a property file in the module ivy description.
+	       </description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	<dependencies>
+	        <dependency org="org.mortbay.jetty" name="jetty" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="jetty-util" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="jetty-plus" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="jetty-naming" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="jetty-ant" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="jsp-api-2.1" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="jsp-2.1" rev="6.1.4"/>
+	        <dependency org="org.mortbay.jetty" name="servlet-api-2.5" rev="6.1.4"/>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/jetty-deploy/0.1/jetty-deploy.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,82 @@
+<!--
+	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;maven-publication" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:mvn="antlib:org.apache.maven.artifact.ant" xmlns:mavenivy="antlib:org.apache.easyant.tasks.adapters" xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="provision" />
+		<ea:parameter phase="prepare-publication" />
+
+		<ea:parameter property="target.artifacts" default="${basedir}/target/artifacts" description="destination directory for target artifacts" />
+
+
+		<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="antlib:org.apache.maven.artifact.ant" loaderref="maven-publication.loader" classpathref="org.apache.easyant.plugins#maven-publication.classpath" />
+
+		<taskdef resource="org/apache/easyant/tasks/adapters/antlib.xml" uri="antlib:org.apache.easyant.tasks.adapters" loaderref="maven-publication.loader" classpathref="org.apache.easyant.plugins#maven-publication.classpath" />
+		<!--Create a POM in memory referenced by "maven.instance" id -->
+		<mvn:pom id="maven.instance" />
+
+		<ea:parameter property="maven.remote.repo.url" default="" description="maven url where artifact will be published, if no one is specified the same url as ivy-publication will be used" />
+		<mvn:remoteRepository id="maven.remote.repository" url="${maven.remote.repo.url}" />
+		
+		<mavenivy:typeMappings id="maven.type.mappings.ref" useDefault="true"/>
+		<mavenivy:scopeMappings id="maven.scope.mappings.ref" useDefault="true"/>
+		
+	</target>
+
+	<target name=":make-pom" depends="provision" phase="prepare-publication">
+		<!--ask  MavenIvy Adapters to convert global information (groupId,artifactId,version, packaging) and to inject them in the POM instance referenced by "maven.instance" id -->
+		<mavenivy:infoAdapter pomRefId="maven.instance" settingsRef="${project.ivy.instance}">
+			<scopeMappings refid="maven.scope.mappings.ref"/>
+		</mavenivy:infoAdapter>
+
+		<!--ask  MavenIvy Adapters to convert dependencies and to inject them in the POM instance referenced by "maven.instance" id -->
+		<mavenivy:dependencyAdapter pomRefId="maven.instance" settingsRef="${project.ivy.instance}">
+			<typeMappings refid="maven.type.mappings.ref"/>
+		</mavenivy:dependencyAdapter>
+
+		<mkdir dir="${target.artifacts}" />
+		<!-- write the pom on the filesystem -->
+		<mvn:writepom pomRefId="maven.instance" file="${target.artifacts}/pom.xml" />
+
+		<mvn:pom id="maven.instance" file="${target.artifacts}/pom.xml" />
+		<mavenivy:registertrigger classname="org.apache.easyant.ivy.MavenPublishTrigger" event="post-publish-artifact" classpathref="org.apache.easyant.plugins#maven-publication.classpath" settingsRef="${project.ivy.instance}" />
+
+	</target>
+
+	<target name="-trigger-publish-shared" phase="generate-shared-version">
+		<augment id="maven.instance" version="${version}" />
+	</target>
+
+	<target name="-trigger-release" phase="generate-release-version">
+		<augment id="maven.instance" version="${version}" />
+	</target>
+
+	<target name=":publish-shared" phase="publish-shared">
+		<mavenivy:deploy pomRefId="maven.instance">
+			<remoteRepository refid="maven.remote.repository" />
+			<typeMappings refid="maven.type.mappings.ref"/>
+		</mavenivy:deploy>
+	</target>
+
+	<!-- define a generic default target for this plugin -->
+	<target name="doit" depends="validate" />
+</project>
\ No newline at end of file

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy 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.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="maven-publication"
+	       status="milestone"
+	       revision="0.1">
+		<description>
+			<p>
+				This module provides functionalities to publish a pom.xml. 
+				This is really usefull if some maven based projects wants to reuse your artifacts.
+			</p>
+			<p>
+				In some cases we may want to define a different repository url for easyant (or ivy based) artifacts (published by ivy-publication plugin), 
+				and another one for maven artifacts (published through maven-publication plugin) this can be done by setting "maven.remote.repo.url" property.
+				If this property is unset, artifacts will be republished with maven descriptor on the 
+				same repository as ivy-publication module (artifacts will be overwritten).
+			</p>
+			<p>
+				This plugin is based on <a href="http://easyant.org/projects/mavenivy-adapters">mavenivy-adapters tasks</a>.
+			</p>
+			<p>
+				It uses a TypeMapping to define the mapping between ivy world and maven world (like type, ext, mavenPackaging, mavenClassifier).
+				Example :
+				<code type="xml">
+					<typeMappings id="maven.type.mappings.ref">
+ 						<mapping type="myType" mvnPackaging="jar"/>
+ 					</typeMappings>
+				</code>
+				You can override the default typeMappings by using <a href="">AugmentTask</a> like this :
+				<code type="xml">
+					<augment id="maven.type.mappings.ref">
+ 						<mapping type="myType" mvnPackaging="jar"/>
+ 					</augment>
+				</code>
+			</p>
+			<p>
+				It also uses a ScopeMapping to define the mapping between ivy configurations and maven scopes.
+				Example :
+				<code type="xml">
+					<scopeMappings id="maven.scope.mappings.ref">
+						<mapping scope="compile" conf="myIvyConfiguration"/>
+					</scopeMappings>				
+				</code>
+				You can override the default scopeMappings by using <a href="">AugmentTask</a> like this :
+				<code type="xml">
+					<augment id="maven.scope.mappings.ref">
+						<mapping scope="compile" conf="myIvyConfiguration"/>
+					</augment>				
+				</code>
+			</p>
+			
+		</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	<dependencies>
+ 		<dependency org="org.apache.easyant.tasks" name="mavenivy-adapters" rev="0.1"/>	
+ 	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-publication/0.1/maven-publication.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,56 @@
+<!--
+	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#maven-version-strategy"
+	xmlns:ivy="antlib:org.apache.ivy.ant"
+	xmlns:ac="antlib:net.sf.antcontrib"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="generate-local-version"/>
+		<ea:parameter phase="generate-shared-version"/>
+		<ea:parameter phase="generate-release-version"/>
+		<ea:parameter property="publish.overwrite" default="false"
+				description="specify if publish should overwrite existing artifacts or not"/>
+
+	</target>
+	
+	<!-- version numbers -->
+	<target name="-local" phase="generate-local-version" depends="validate">
+		<!-- override version as if it was a SNAPSHOT -->
+		<ac:var name="version" value="${ivy.revision}-SNAPSHOT" />
+		<!-- SNAPSHOT need to be overwritten -->
+		<ac:var name="publish.overwrite" value="true"/>
+	</target>
+	
+	<target name="-shared" phase="generate-shared-version" depends="validate">
+		<!-- override version as if it was a SNAPSHOT -->
+		<ac:var name="version" value="${ivy.revision}-SNAPSHOT" />
+		<!-- SNAPSHOT need to be overwritten -->
+		<ac:var name="publish.overwrite" value="true"/>
+	</target>
+
+	<target name="-release" phase="generate-release-version" depends="validate">
+		<ac:var name="version" value="${ivy.revision}" />
+	</target>
+
+	<target name="doit" depends=":init" />
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.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="maven-version-strategy"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides the maven version strategy. A version strategy is in charge to define the version for integrations (snapshot) and releases </description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/maven-version-strategy/0.1/maven-version-strategy.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,131 @@
+<!--
+	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#osgi-bundle" xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter property="target.artifacts" required="true" description="destination directory for target artifacts"/>
+		<ea:parameter property="target.artifacts.main.bundle.name" required="true"
+				    description="main artifact file name" />
+		<ea:parameter property="target.main.artifact" required="false" description="the location of the main artifact" 
+					default="${target.artifacts}/${target.artifacts.main.bundle.name}.jar"/>
+		<taskdef name="bundle" 
+		    classname="net.luminis.build.plugin.bnd.BuildTask"
+		    classpathref="org.apache.easyant.plugins#osgi-bundle.classpath" />
+	</target>
+
+	<target name=":bundle" depends="validate, compile,prepare-package" phase="package">
+		<dirname file="${target.artifacts.main.bundle.name}" property="target.artifacts.main.bundle.dir" />
+		<mkdir dir="${target.artifacts.main.bundle.dir}"/>
+
+		<condition property="is.osgi.bundle.empty">
+			<or>
+				<isset property="osgi.export.package"/>
+				<isset property="osgi.private.package"/>
+				<isset property="osgi.include.resource"/>
+			</or>
+		</condition>
+		
+		<fail unless="is.osgi.bundle.empty">
+Missing property			
+*******************************************************************************			
+At least one of the following property must be set :
+  - osgi.export.package : The packages that will be exported by the bundle.
+  - osgi.private.package : The private packages of the generated bundle (i.e. packages that are not exported).
+  - osgi.include.resource : Resource to include in the generated bundle.
+*******************************************************************************			
+		</fail>
+	
+		<!-- Should we provide a way to fill the following properties in interractive mode? -->
+		<ea:parameter property="osgi.bundle.classpath" default="" description="The (internal) bundle classpath (corresponds to OSGi manifest header 'Bundle-Classpath')."/>
+		<ea:parameter property="osgi.bundle.copyright" default="" description="Copyright header (corresponds to OSGi manifest header 'Bundle-Copyright')."/>
+		<ea:parameter property="osgi.bundle.description" default="" description="Bundle description text (corresponds to OSGi manifest header 'Bundle-Description')."/>
+		<ea:parameter property="osgi.bundle.name" default="" description="Name of the bundle (corresponds to OSGi manifest header 'Bundle-Name')."/>
+		<ea:parameter property="osgi.bundle.native.code" default="" description="Native code specification (corresponds to OSGi manifest header 'Bundle-NativeCode'). "/>
+		<ea:parameter property="osgi.export.package" default="" description="The packages that will be exported by the bundle."/>
+		<ea:parameter property="osgi.export.service" default="" description="The OSGi R3 'Export-Service' header, deprecated for R4 "/>
+		<ea:parameter property="osgi.import.package" default="" description="The packages that will be imported by the bundle."/>
+		<ea:parameter property="osgi.dynamic.import.package" default="" description="The packages that should be dynamically import when needed."/>
+		<ea:parameter property="osgi.import.service" default="" description="The OSGi R3 'Import-Service' header, deprecated for R4."/>
+		<ea:parameter property="osgi.bundle.vendor" default="" description="Vendor name (corresponds to OSGi manifest header 'Bundle-Vendor')."/>
+		<ea:parameter property="osgi.bundle.version" default="${version}" description="Bundle version (corresponds to OSGi manifest header 'Bundle-Version')."/>
+		<ea:parameter property="osgi.bundle.doc.url" default="" description="URL pointing to documentation about the created bundle (corresponds to OSGi manifest header 'Bundle-DocURL')."/>
+		<ea:parameter property="osgi.bundle.contact.address" default="" description="Vendor's contact address (corresponds to OSGi manifest header 'Bundle-ContactAddress')."/>
+		<ea:parameter property="osgi.bundle.activator" default="" description="The bundle activator class (corresponds to OSGi manifest header 'Bundle-Activator')."/>
+		<ea:parameter property="osgi.bundle.required.execution.env" default="" description="List of execution environments (corresponds to OSGi manifest header 'Bundle-RequiredExecutionEnvironment')."/>
+		<ea:parameter property="osgi.bundle.symbolic.name" default="" description="The (unique, non-localizable) symbolic name of the bundle, based on reverse domain name convention (corresponds to OSGi manifest header 'Bundle-SymbolicName')."/>
+		<ea:parameter property="osgi.bundle.localization" default="" description="Location in the bundle where localization files can be found (corresponds to OSGi manifest header 'Bundle-Localization')."/>
+		<ea:parameter property="osgi.bundle.require.bundle" default="" description="Required exports from another bundle (corresponds to OSGi manifest header 'Require-Bundle')."/>
+		<ea:parameter property="osgi.bundle.fragment.host" default="" description="Host bundle (for fragment bundles only, corresponds to OSGi manifest header 'Fragment-Host')."/>
+		<!--
+		<ea:parameter property="osgi.bundle.manifest.version" default="" description="deprecated and ignored Bundle-ManifestVersion is always '2' (R4 bundle) "/>
+		<ea:parameter property="osgi.service.component" default="" description="??? Undocumented"/>
+		-->
+		<ea:parameter property="osgi.bundle.license" default="" description="Manifest header for bundle license."/>
+		<ea:parameter property="osgi.private.package" default="" description="The private packages of the generated bundle (i.e. packages that are not exported)."/>
+		<!--
+		<ea:parameter property="osgi.ignore.package" default="" description="??? Undocumented"/>
+		-->
+		<ea:parameter property="osgi.include.resource" default="" description="Resource to include in the generated bundle."/>
+		<ea:parameter property="osgi.include.resource.header" default="" description="Whether to include the include-resource header in the manifest."/>
+		<ea:parameter property="osgi.additional.manifest" default="${manifest.file}" description="Specify an additional manifest file"/>
+		
+		<!-- Override this path if you need to customize what will be included in the osgi-bundle
+			<bundle> ant task allow you to make bundle from another JAR, or a list of DIRECTORY.
+			This is quite strange but you can't use <fileset>.
+			If you need to make a bundle of classes you should set here a directory with <filelist>   
+		-->
+		<path id="osgi.classpath">
+			<filelist><file name="${target.main.classes}"/></filelist>
+		</path>
+		
+		<bundle outputDir="${target.artifacts}"
+			bundleClassPath="${osgi.bundle.classpath}"
+			bundleCopyright="${osgi.bundle.copyright}"
+			bundleDescription="${osgi.bundle.description}"
+			bundleName="${osgi.bundle.name}"
+			bundleNativeCode="${osgi.bundle.native.code}"
+			exportpackage="${osgi.export.package}"
+			exportService="${osgi.export.service}"
+			importPackage="${osgi.import.package}"
+			dynamicImportPackage="${osgi.dynamic.import.package}"
+			importService="${osgi.import.service}"
+			bundleVendor="${osgi.bundle.vendor}"
+			bundleVersion="${osgi.bundle.version}"
+			bundleDocUrl="${osgi.bundle.doc.url}"
+			bundleContactAddress="${osgi.bundle.contact.address}"
+			bundleActivator="${osgi.bundle.activator}"
+			bundleRequiredExecutionEnvironment="${osgi.bundle.required.execution.env}"
+			bundleSymbolicName="${osgi.bundle.symbolic.name}"
+			bundleLocalization="${osgi.bundle.localization}"
+			requireBundle="${osgi.bundle.require.bundle}"
+			fragmentHost="${osgi.bundle.fragment.host}"
+			bundleLicense="${osgi.bundle.license}"
+			privatePackage="${osgi.private.package}"
+			includeResource="${osgi.include.resource}"
+			includeIncludeResourceHeader="${osgi.include.resource.header}"
+			additionalManifest="${osgi.additional.manifest}"
+			filename="${target.artifacts.main.bundle.name}"
+			classpathRefId="osgi.classpath"/>
+	</target>
+	
+	<target name="doit" depends=":bundle" />
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.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="osgi-bundle"
+	       status="milestone"
+	       revision="0.1">
+		<description>Provides osgi features.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	<dependencies>
+		<dependency org="net.luminis" name="osgi-bundle-ant" rev="0.2.0"/>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ivy
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/osgi-bundle/0.1/osgi-bundle.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,109 @@
+<project name="org.apache.easyant.plugins;webstart" 
+		xmlns:ivy="antlib:org.apache.ivy.ant" 
+     	xmlns:ea="antlib:org.apache.easyant">
+     	
+	<!-- Force compliance with easyant-core to 0.7 or higher -->
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<macrodef name="signJars">
+	   <attribute name="alias"   description="the alias signer" />
+		<attribute name="storepass"  description="the keystore password"/>
+		<attribute name="keypass"  default="@{storepass}" description="the key password"/>
+		<attribute name="keystore"  description="the path to the keystore"/>
+		<attribute name="lazy"  default="false" description="tell if the already signed jars have to be signed a second time"/>
+	   <element name="signFolder" optional="yes"/>
+	   <sequential>
+	   	<echo>Sign...</echo>
+	   	
+	   	<if>
+	   		
+	   		<isset property="@{keystore}"/>
+	   		
+	   		<then>
+	   		
+	   			<signjar alias="@{alias}" keypass="@{keypass}" keystore="@{keystore}" storepass="@{storepass}" lazy="@{replaceSign}">
+					<signFolder/>
+	   			</signjar>
+	   		
+	   		
+	   		</then>
+	   		<else>
+	   			<signjar alias="@{alias}" keypass="@{keypass}" storepass="@{storepass}" lazy="@{replaceSign}">
+	   				<signFolder/>
+	   			</signjar>
+	   		</else>
+		</if>
+		
+	   	<echo>Sign done !</echo>	
+	   </sequential>
+	</macrodef>
+	
+	<target name=":init">
+		<ea:parameter property="jnlp.file" required="true" description="the jnlp to modify" />
+		<ea:parameter property="signJar" required="false" default="false" description="tell if the jars has to be signed" />		
+		<ea:parameter property="flat.path" required="false" description="tell if the path resources have to be declared in relative or absolute" />
+						
+		
+		<ea:parameter property="alias" required="false" description="the alias signer" />
+		<ea:parameter property="storepass" required="false" description="the keystore password" />
+		<ea:parameter property="keypass" required="false" default="${storepass}" description="the key password" />
+		<ea:parameter property="keystore" required="false" default=" " description="the path to the keystore" />
+		<ea:parameter property="lazy" required="false" default="false" description="tell if the already signed jars have to be signed a second time" />
+		<taskdef name="partial-jnlp" classname="org.apache.easyant.tasks.JNLPTask" 
+			classpathref="org.apache.easyant.plugins#webstart.classpath" />
+																	
+				
+	</target>
+
+	
+
+	<target name=":editJnlp" depends=":init, package" description="edit an existing jnlp file">
+		<echo message="[Library directory]: ${lib.main}" />
+		<echo message="[libArtifact]: ${target.artifacts}/${target.artifacts.main.jar.name}" />
+		<if>
+			<equals arg1="${flat.path}" arg2="$${flat.path}" />
+				<then>
+					<partial-jnlp mainJar="${target.artifacts}/${target.artifacts.main.jar.name}" jnlpFile="${jnlp.file}">
+					<fileset dir="${lib.main}">
+						<include name="*.jar" />
+					</fileset>
+					</partial-jnlp>
+				</then>
+				<else>
+					<partial-jnlp mainJar="${target.artifacts}/${target.artifacts.main.jar.name}" jnlpFile="${jnlp.file}" flatPathResources="${flat.path}">
+					<fileset dir="${lib.main}">
+						<include name="*.jar" />
+					</fileset>
+					</partial-jnlp>
+				</else>
+		</if>	
+
+	</target>
+	<target name=":sign" depends="package">
+		<if>
+			<equals arg1="${signJar}" arg2="true" />
+				<then>
+					<signJars alias="${alias}" storepass="${storepass}" keypass="${keypass}" keystore="${keystore}" lazy="${lazy}" >
+						<signfolder>
+							<fileset dir="${lib.main}" includes="*.jar"/>
+							<fileset dir="${target.artifacts}" includes="*.jar"/>
+						</signfolder>
+					</signJars>
+				</then>
+		</if>		
+	</target>
+	
+	<target name=":prepare" depends=":editJnlp,:sign" description="edit the jnlp file and sign as necessary"/>
+	
+		
+	
+	<target name=":run" depends=":prepare" description="run the application in java webstart">
+		<exec executable="javaws">
+			<arg value="${jnlp.file}" />
+		</exec>
+	</target>
+
+	
+	
+	<target name="doit" depends=":run" />
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.md5
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.md5?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.md5 (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.md5 Thu Feb 17 17:01:07 2011
@@ -0,0 +1 @@
+deb892d80942ff243cf8b13b3c998c21
\ No newline at end of file

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.sha1
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.sha1?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.sha1 (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ant.sha1 Thu Feb 17 17:01:07 2011
@@ -0,0 +1 @@
+822358f9dd1475b5f7951f896eafbd596bedd82d
\ No newline at end of file

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,15 @@
+<ivy-module version="2.0" xmlns:ea="http://www.easyant.org"> 
+	<info organisation="org.apache.easyant.plugins" module="webstart" revision="0.1" status="release" publication="20091230151251">
+		<description>This module allows different webstart processus.</description>
+		<ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+	</info>
+	<configurations>
+		<conf name="default" visibility="public" description="runtime dependencies artifact can be used with this conf"/>
+	</configurations>
+	<publications>
+                <artifact name="webstart" type="ant"/>
+        </publications>
+	<dependencies>
+		<dependency org="org.apache.easyant.tasks" name="partial-jnlp-task" rev="0.1" conf="default->default"/>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.md5
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.md5?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.md5 (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.md5 Thu Feb 17 17:01:07 2011
@@ -0,0 +1 @@
+5f20228984c97ee08b9b639e85f2fbbc
\ No newline at end of file

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.sha1
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.sha1?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.sha1 (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/webstart/0.1/webstart.ivy.sha1 Thu Feb 17 17:01:07 2011
@@ -0,0 +1 @@
+98ffbe0f74f468cd445f6427402020adb6c13c52
\ No newline at end of file

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,160 @@
+<!--
+	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#xooki" 
+	xmlns:ac="antlib:net.sf.antcontrib"
+	xmlns:ea="antlib:org.apache.easyant" 
+	xmlns:ivy="antlib:org.apache.ivy.ant" 
+	xmlns:xooki="antlib:xooki">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+
+	<target name=":init" phase="validate">
+		<ea:parameter property="xooki.checkUpToDate" required="false" 
+			default="true" description="Proxies for the checkUpToDate xooki:generate task. Defaults to true." />
+		<ea:parameter property="src.documentation.dir" required="false" 
+			default="${basedir}/src/documentation" description="Xooki source documentation." />
+		<ea:parameter property="documentation.css.dir" default="${src.documentation.dir}/style" 
+			description="path where the css are stored, used for nice looking HTML" />
+		<ea:parameter property="target.documentation.dir" default="${target}/documentation" 
+			description="directory where the documentation will be generated to" />
+		<ea:parameter property="xooki.temp.dir" required="false" default="${target}/temp-doc" 
+			description="Temporary directory for xooki use." />
+		<ea:parameter property="xooki.resources.include.pattern" default="style/**,images/**" 
+			description="Pattern describing files included in xooki documentation generation" />
+		<ea:parameter property="xooki.resources.exclude.pattern" default="" 
+			description="Pattern describing files excluded in xooki documentation generation" />
+		<ea:parameter property="xooki.history.dir" default="${src.documentation.dir}/history" 
+			description="directory where documentation history version are stored (used to update config.extra.js)"/>
+
+		<!-- TODO: should menu context names be inherited from the environment somehow? -->
+		<ea:parameter property="xooki.menu.contexts" default="buildtypes,plugins"
+			description="list of documentation menus for which xooki will generate menus"/>
+		
+		<!-- Xooki tasks requires jdk16 -->
+		<condition property="org.apache.easyant.plugins#xooki.enabled">
+			<contains substring="1.6" string="${ant.java.version}" />
+		</condition>
+		
+		<ac:if>
+			<istrue value="${org.apache.easyant.plugins#xooki.enabled}"/>
+			<ac:then>
+				<echo level="verbose">Loading xooki antlib</echo>
+				<taskdef uri="antlib:xooki" file="${src.documentation.dir}/xooki/antlib.xml" />
+			</ac:then>
+			<ac:else>
+				<echo level="warning">Xooki modules requires JDK 1.6. Xooki module will be disabled.</echo>
+			</ac:else>
+		</ac:if>
+		
+		<condition property="contains.history.dir">
+			<available file="${xooki.history.dir}" type="dir"/>
+		</condition>
+        
+		<ac:for list="${xooki.menu.contexts}" param="context.name">
+			<sequential>
+				<ea:registermenugenerator context="@{context.name}" type="xooki"
+					classpathref="org.apache.easyant.plugins#xooki.classpath"/>
+			</sequential>
+		</ac:for>
+	</target>
+	
+	<target name=":create-skeleton" depends="validate">
+		<mkdir dir="${xooki.temp.dir}" />
+		<mkdir dir="${documentation.css.dir}" />
+		<ivy:retrieve organisation="xooki" module="xooki" inline="true" pattern="${xooki.temp.dir}/[artifact].[ext]" settingsRef="easyant.ivy.instance"/>
+		<unzip src="${xooki.temp.dir}/xooki.jar" dest="${src.documentation.dir}" />
+		<delete dir="${xooki.temp.dir}" />
+	</target>
+	
+	<target name="-copy-resources" depends=":init" phase="process-documentation-resources">
+
+		<available file="${src.documentation.dir}/xooki/antlib.xml" property="xooki.skeleton.present" />
+		<fail unless="xooki.skeleton.present" 
+			message="Xooki skeleton has not been correctly setup. Run easyant org.apache.easyant.plugins#xooki:create-skeleton to generate a xooki skeleton." />
+
+		<echo message="Generating xooki documentation." />
+		<mkdir dir="${target.documentation.dir}" />
+		
+		<echo level="verbose" message="copying documentation resources"/>
+		
+		<fileset id="xooki.resources.fileset" 
+			dir="${src.documentation.dir}" 
+			includes="${xooki.resources.include.pattern}" 
+			excludes="${xooki.resources.exclude.pattern}" />
+
+		<copy todir="${target.documentation.dir}">
+			<fileset refid="xooki.resources.fileset"/>
+		</copy>
+		
+		<!-- copy to a xooki temp dir this will allow users to generate xooki documentation -->
+		<copy todir="${xooki.temp.dir}">
+			<fileset dir="${src.documentation.dir}" id="src.documentation.fileset">
+				<include name="**/*" />
+				<exclude name="${xooki.resources.include.pattern}" />
+			</fileset>
+		</copy>
+
+	</target>
+	
+	<target name="-configure-history" if="contains.history.dir" phase="process-documentation-resources">
+		<ac:for param="doc-version">
+			<path>
+				<dirset dir="${xooki.history.dir}" includes="*" />
+			</path>
+			<sequential>
+				<echo>Updating history for @{doc-version}</echo>
+				<echo file="@{doc-version}/config.extra.js"
+				        message="xooki.c.setImportLevel(2);" />
+			</sequential>
+		</ac:for>
+	</target>
+	
+	<target name=":generate" 
+		depends="-copy-resources, -configure-history, process-documentation-resources"
+		phase="documentation"
+		if="org.apache.easyant.plugins#xooki.enabled">
+		<echo level="verbose" message="generating target documentation"/>
+		
+		<dirname file="${target.documentation.dir}" property="full.target.documentation.dir" />
+		<basename file="${target.documentation.dir}" property="basename.target.documentation.dir" />
+		
+		<fileset dir="${xooki.temp.dir}" id="src.documentation.fileset">
+			<include name="**/*.html" />
+			<exclude name="template.html" />
+			<exclude name="*Template.html" />
+			<exclude name="xooki/**" />
+		</fileset>
+
+		<xooki:generate destDir="${full.target.documentation.dir}/${basename.target.documentation.dir}" checkUpToDate="${xooki.checkUpToDate}">
+			<fileset refid="src.documentation.fileset"/>
+		</xooki:generate>
+	</target>
+
+	<target name=":package" depends=":generate" description="package the xooki documentation" if="org.apache.easyant.plugins#xooki.enabled">
+		<ea:parameter property="target.artifacts" default="${target}/artifacts" 
+			description="destination directory for target artifacts"/>
+
+		<echo message="Packaging generated documentation." />
+		<mkdir dir="${target.artifacts}" />
+		<zip destfile="${target.artifacts}/${ivy.module}-docs.zip" basedir="${target.documentation.dir}" />
+		<ea:registerartifact type="doc" ext="zip" classifier="doc" settingsRef="${project.ivy.instance}"/>
+	</target>
+
+	<target name="doit" depends=":package" />
+</project>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ant
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ant
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,35 @@
+<!--
+	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="xooki"
+	       status="milestone"
+	       revision="0.1">
+		<description>
+			This module provides functionalities for setting up a xooki-based documentation structure in your project.
+		</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	<dependencies>
+		<dependency org="xooki" name="xooki" rev="0.1"/>
+		<dependency org="org.apache.easyant.tasks" name="xooki-menu-generator" rev="0.1" conf="default"/>
+	</dependencies>
+</ivy-module>

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ivy
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.plugins/xooki/0.1/xooki.ivy
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.tasks/mavenivy-adapters/0.1/mavenivy-adapters.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.tasks/mavenivy-adapters/0.1/mavenivy-adapters.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.tasks/mavenivy-adapters/0.1/mavenivy-adapters.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.tasks/mavenivy-adapters/0.1/mavenivy-adapters.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,25 @@
+<ivy-module version="2.0" xmlns:ea="http://www.easyant.org">
+	<info organisation="org.apache.easyant.tasks" module="mavenivy-adapters" revision="0.1" status="release" publication="20100806201003">
+		<ea:build module="build-std-java" revision="0.2">
+			<ea:property name="project.ivy.instance" value="easyant.ivy.instance"/>
+			<ea:property name="release.resolver" value="easyant-shared-modules"/>
+			<ea:property name="shared.resolver" value="easyant-shared-modules"/>
+			<ea:property name="local.resolver" value="easyant-shared-modules"/>
+		</ea:build>
+	</info>
+	<configurations>
+		<conf name="default" visibility="public" description="runtime dependencies artifact can be used with this conf"/>
+		<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases."/>
+		<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
+
+	</configurations>
+	<dependencies>
+		<dependency org="org.apache.maven" name="maven-ant-tasks" rev="2.1.0" conf="default->default">
+			<exclude org="ant" module="ant"/>
+		</dependency>
+		<dependency org="org.apache.ivy" name="ivy" rev="2.1.0" conf="provided->default"/>
+		<dependency org="junit" name="junit" rev="4.4" conf="test->default"/>
+		<dependency org="org.apache.ant" name="ant" rev="1.8.1" conf="provided->default"/>
+       		<dependency org="org.apache.ant" name="ant-testutil" rev="1.8.1" conf="test->default" transitive="false"/>
+	</dependencies>
+</ivy-module>



Mime
View raw message