Initial import of http://easyant.org/svn/easyant@650 with trunks and not the branches
git-svn-id: https://svn.apache.org/repos/asf/incubator/easyant/buildtypes/trunk@1071697 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build-osgi-bundle-java/module.ivy b/build-osgi-bundle-java/module.ivy
new file mode 100644
index 0000000..0ef20ee
--- /dev/null
+++ b/build-osgi-bundle-java/module.ivy
@@ -0,0 +1,33 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-osgi-bundle-java" revision="0.1">
+ <description>A standard build for osgi bundle modules, relying on standard phases, and providing compilation, execution and unit tests</description>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-osgi-bundle-java/src/main/resources/build-osgi-bundle-java.ant b/build-osgi-bundle-java/src/main/resources/build-osgi-bundle-java.ant
new file mode 100644
index 0000000..f23af07
--- /dev/null
+++ b/build-osgi-bundle-java/src/main/resources/build-osgi-bundle-java.ant
@@ -0,0 +1,54 @@
+<!--
+ 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.buildtypes#build-osgi-bundle-java"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-osgi-bundle-java..."/>
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-osgi-bundle-java.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:parameter property="test.plugin.org" description="Organisation name of the test plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="test.plugin.module" description="Module name of the test plugin" default="test-${test.framework}"/>
+ <ea:parameter property="test.plugin.rev" description="Revision number of the test plugin" default="0.2"/>
+ <ea:parameter property="test.plugin.mrid" description="Full mrid of the test plugin" default="${test.plugin.org}#${test.plugin.module};${test.plugin.rev}"/>
+
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-java;0.1" as="compile" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-test-java;0.1" as="compile-test" />
+ <ea:include mrid="${test.plugin.mrid}" as="test" />
+
+ <ea:include mrid="org.apache.easyant.plugins#manifest;0.1" as="manifest" />
+ <ea:include mrid="org.apache.easyant.plugins#osgi-bundle;0.1" as="osgi" />
+
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-osgi-bundle-java/src/main/resources/build-osgi-bundle-java.properties b/build-osgi-bundle-java/src/main/resources/build-osgi-bundle-java.properties
new file mode 100644
index 0000000..2ce8f5f
--- /dev/null
+++ b/build-osgi-bundle-java/src/main/resources/build-osgi-bundle-java.properties
@@ -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
diff --git a/build-std-ant-plugin/module.ivy b/build-std-ant-plugin/module.ivy
new file mode 100644
index 0000000..da09707
--- /dev/null
+++ b/build-std-ant-plugin/module.ivy
@@ -0,0 +1,33 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1">
+ <description>A standard build for true ant plugins, relying on standard phases, and providing compilation, execution and unit tests</description>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-std-ant-plugin/src/main/resources/build-std-ant-plugin.ant b/build-std-ant-plugin/src/main/resources/build-std-ant-plugin.ant
new file mode 100644
index 0000000..513d7e0
--- /dev/null
+++ b/build-std-ant-plugin/src/main/resources/build-std-ant-plugin.ant
@@ -0,0 +1,43 @@
+<!--
+ 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.buildtypes#build-std-ant-plugin"
+ xmlns:ivy="antlib:org.apache.ivy.ant"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-std-ant-plugin..."/>
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-std-ant-plugin.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="org.apache.easyant.plugins#easyant-plugin-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#antunit;0.1" as="test" />
+
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-std-ant-plugin/src/main/resources/build-std-ant-plugin.properties b/build-std-ant-plugin/src/main/resources/build-std-ant-plugin.properties
new file mode 100644
index 0000000..678775e
--- /dev/null
+++ b/build-std-ant-plugin/src/main/resources/build-std-ant-plugin.properties
@@ -0,0 +1,45 @@
+# ***************************************************************
+# * 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.resources=${basedir}/src/main/resources
+src.test.java=${basedir}/src/test/java
+src.test.resources=${basedir}/src/test/resources
+
+target = ${basedir}/target
+target.test.classes=${target}/test/classes
+target.test.xml=${target}/test/xml
+target.test.html=${target}/test/html
+
+target.artifacts=${target}/artifacts
+
+#there is no packaging in true ant plugins,
+#so we can directly copy all main ressources
+#in target/artifacts instead of target/classes
+#we need to do this 'cause we want to reuse the resources-std plugin
+target.main.classes=${target.artifacts}
+
+target.report=${target}/report
+
+release.resolver=easyant-shared-modules
+shared.resolver=easyant-shared-modules
+local.resolver=easyant-shared-modules
+project.ivy.instance=easyant.ivy.instance
\ No newline at end of file
diff --git a/build-std-groovy/module.ivy b/build-std-groovy/module.ivy
new file mode 100644
index 0000000..cb09a5e
--- /dev/null
+++ b/build-std-groovy/module.ivy
@@ -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" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-std-groovy" revision="0.1">
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-std-groovy/src/main/resources/build-std-groovy.ant b/build-std-groovy/src/main/resources/build-std-groovy.ant
new file mode 100644
index 0000000..e31f94a
--- /dev/null
+++ b/build-std-groovy/src/main/resources/build-std-groovy.ant
@@ -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.buildtypes#build-std-groovy"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-std-groovy..."/>
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-std-groovy.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:parameter property="test.plugin.org" description="Organisation name of the test plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="test.plugin.module" description="Module name of the test plugin" default="test-${test.framework}"/>
+ <ea:parameter property="test.plugin.rev" description="Revision number of the test plugin" default="0.2"/>
+ <ea:parameter property="test.plugin.mrid" description="Full mrid of the test plugin" default="${test.plugin.org}#${test.plugin.module};${test.plugin.rev}"/>
+
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-utils;0.1" as="ivy" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-groovy;0.1" as="compile" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-test-groovy;0.1" as="compile-test" />
+ <ea:include mrid="${test.plugin.mrid}" as="test" />
+ <ea:include mrid="org.apache.easyant.plugins#manifest;0.1" as="manifest" />
+ <ea:include mrid="org.apache.easyant.plugins#package-jar;0.1" as="jar" />
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-std-groovy/src/main/resources/build-std-groovy.properties b/build-std-groovy/src/main/resources/build-std-groovy.properties
new file mode 100644
index 0000000..803af7d
--- /dev/null
+++ b/build-std-groovy/src/main/resources/build-std-groovy.properties
@@ -0,0 +1,48 @@
+# ***************************************************************
+# * 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=module.ivy
+
+src.main.groovy=${basedir}/src/main/groovy
+src.main.resources=${basedir}/src/main/resources
+src.test.groovy=${basedir}/src/test/groovy
+src.test.resources=${basedir}/src/test/resources
+
+test.compile.includes.pattern=**/*.groovy
+
+#TODO: used to be complient with test modules, find a way to be independent of src.main.java
+src.main.java=${src.main.groovy}
+src.test.java=${src.test.groovy}
+
+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
+target.artifacts.main.jar.name=${module.name}.jar
+target.artifacts.test.jar.name=${module.name}-test.jar
+target.report=${target}/report
+
+manifest.file=${target}/MANIFEST.MF
+
+test.framework=junit
\ No newline at end of file
diff --git a/build-std-java/module.ivy b/build-std-java/module.ivy
new file mode 100644
index 0000000..54e6ca2
--- /dev/null
+++ b/build-std-java/module.ivy
@@ -0,0 +1,33 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2">
+ <description>A standard build for simple java modules, relying on standard phases, and providing compilation, execution and unit tests</description>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-std-java/src/main/resources/build-std-java.ant b/build-std-java/src/main/resources/build-std-java.ant
new file mode 100644
index 0000000..2ddc012
--- /dev/null
+++ b/build-std-java/src/main/resources/build-std-java.ant
@@ -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.buildtypes#build-std-java" xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-std-java..." />
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-std-java.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:parameter property="test.plugin.org" description="Organisation name of the test plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="test.plugin.module" description="Module name of the test plugin" default="test-${test.framework}"/>
+ <ea:parameter property="test.plugin.rev" description="Revision number of the test plugin" default="0.2"/>
+ <ea:parameter property="test.plugin.mrid" description="Full mrid of the test plugin" default="${test.plugin.org}#${test.plugin.module};${test.plugin.rev}"/>
+
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-utils;0.1" as="ivy" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-java;0.1" as="compile" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-test-java;0.1" as="compile-test" />
+
+ <ea:include mrid="${test.plugin.mrid}" as="test" />
+ <ea:include mrid="org.apache.easyant.plugins#manifest;0.1" as="manifest" />
+
+ <ea:include mrid="org.apache.easyant.plugins#package-jar;0.1" as="jar" />
+
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-std-java/src/main/resources/build-std-java.properties b/build-std-java/src/main/resources/build-std-java.properties
new file mode 100644
index 0000000..bff71e5
--- /dev/null
+++ b/build-std-java/src/main/resources/build-std-java.properties
@@ -0,0 +1,41 @@
+# ***************************************************************
+# * 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
+target.artifacts.main.jar.name=${module.name}.jar
+target.artifacts.test.jar.name=${module.name}-test.jar
+target.report=${target}/report
+
+manifest.file=${target}/MANIFEST.MF
+test.framework=junit
\ No newline at end of file
diff --git a/build-std-scala/module.ivy b/build-std-scala/module.ivy
new file mode 100644
index 0000000..969c6e3
--- /dev/null
+++ b/build-std-scala/module.ivy
@@ -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" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-std-scala" revision="0.1">
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-std-scala/src/main/resources/build-std-scala.ant b/build-std-scala/src/main/resources/build-std-scala.ant
new file mode 100644
index 0000000..969d2db
--- /dev/null
+++ b/build-std-scala/src/main/resources/build-std-scala.ant
@@ -0,0 +1,54 @@
+<!--
+ 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.buildtypes#build-std-scala"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-std-scala..."/>
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-std-scala.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:parameter property="test.plugin.org" description="Organisation name of the test plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="test.plugin.module" description="Module name of the test plugin" default="test-${test.framework}"/>
+ <ea:parameter property="test.plugin.rev" description="Revision number of the test plugin" default="0.2"/>
+ <ea:parameter property="test.plugin.mrid" description="Full mrid of the test plugin" default="${test.plugin.org}#${test.plugin.module};${test.plugin.rev}"/>
+
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-utils;0.1" as="ivy" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-scala;0.1" as="compile" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-test-scala;0.1" as="compile-test" />
+ <ea:include mrid="${test.plugin.mrid}" as="test" />
+ <ea:include mrid="org.apache.easyant.plugins#manifest;0.1" as="manifest" />
+ <ea:include mrid="org.apache.easyant.plugins#package-jar;0.1" as="jar" />
+
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-std-scala/src/main/resources/build-std-scala.properties b/build-std-scala/src/main/resources/build-std-scala.properties
new file mode 100644
index 0000000..83f7302
--- /dev/null
+++ b/build-std-scala/src/main/resources/build-std-scala.properties
@@ -0,0 +1,49 @@
+# ***************************************************************
+# * 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.scala=${basedir}/src/main/scala
+src.main.resources=${basedir}/src/main/resources
+src.test.scala=${basedir}/src/test/scala
+src.test.resources=${basedir}/src/test/resources
+
+test.compile.includes.pattern=**/*.scala
+
+#TODO: used to be complient with test modules, find a way to be independent of src.main.java
+src.main.java=${src.main.scala}
+src.test.java=${src.test.scala}
+
+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
+target.artifacts.main.jar.name=${module.name}.jar
+target.artifacts.test.jar.name=${module.name}-test.jar
+target.report=${target}/report
+
+manifest.file=${target}/MANIFEST.MF
+
+test.framework=junit
\ No newline at end of file
diff --git a/build-std-skeleton/module.ivy b/build-std-skeleton/module.ivy
new file mode 100644
index 0000000..5c84e8e
--- /dev/null
+++ b/build-std-skeleton/module.ivy
@@ -0,0 +1,33 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-std-skeleton" revision="0.1">
+ <description>A standard build skeleton, relying on standard phases, and providing unit tests</description>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-std-skeleton/src/main/resources/build-std-skeleton.ant b/build-std-skeleton/src/main/resources/build-std-skeleton.ant
new file mode 100644
index 0000000..bbc9c16
--- /dev/null
+++ b/build-std-skeleton/src/main/resources/build-std-skeleton.ant
@@ -0,0 +1,45 @@
+<!--
+ 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.buildtypes#build-std-skeleton"
+ xmlns:ivy="antlib:org.apache.ivy.ant"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-std-skeleton..."/>
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-std-skeleton.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="org.apache.easyant.plugins#easyant-plugin-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#manifest;0.1" as="manifest" />
+ <ea:include mrid="org.apache.easyant.plugins#antunit;0.1" as="test" />
+ <ea:include mrid="org.apache.easyant.plugins#package-jar;0.1" as="jar" />
+
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-std-skeleton/src/main/resources/build-std-skeleton.properties b/build-std-skeleton/src/main/resources/build-std-skeleton.properties
new file mode 100644
index 0000000..4f4c7b2
--- /dev/null
+++ b/build-std-skeleton/src/main/resources/build-std-skeleton.properties
@@ -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.resources=${basedir}/src/main/resources
+src.test.resources=${basedir}/src/test/resources
+
+target = ${basedir}/target
+target.test.xml=${target}/test/xml
+target.test.html=${target}/test/html
+
+target.artifacts=${target}/artifacts
+
+target.main.classes=${target}/main/classes
+target.test.classes=${target}/test/classes
+
+target.report=${target}/report
+
+release.resolver=easyant-shared-modules
+shared.resolver=easyant-shared-modules
+local.resolver=easyant-shared-modules
+project.ivy.instance=easyant.ivy.instance
+
+target.artifacts.main.jar.name=${module.name}.jar
diff --git a/build-webapp-java/module.ivy b/build-webapp-java/module.ivy
new file mode 100644
index 0000000..1bcc871
--- /dev/null
+++ b/build-webapp-java/module.ivy
@@ -0,0 +1,33 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
+ <description>A standard build for webapp java modules, relying on standard phases, and providing compilation, execution and unit tests</description>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/build-webapp-java/src/main/resources/build-webapp-java.ant b/build-webapp-java/src/main/resources/build-webapp-java.ant
new file mode 100644
index 0000000..3115fec
--- /dev/null
+++ b/build-webapp-java/src/main/resources/build-webapp-java.ant
@@ -0,0 +1,54 @@
+<!--
+ 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.buildtypes#build-webapp-java"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+ <echo message="Building ${ivy.organisation} ${ivy.module} with org.apache.easyant.buildtypes#build-webapp-java..."/>
+
+ <ea:import mrid="org.apache.easyant.plugins#phases-std;0.2" />
+
+ <property file="${org.apache.easyant.buildtypes#build-webapp-java.properties.file}" />
+
+ <ea:parameter property="version.strategy.plugin.org" description="Organisation name of the version strategy plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="version.strategy.plugin.module" description="Module name of the version strategy plugin" default="default-version-strategy"/>
+ <ea:parameter property="version.strategy.plugin.rev" description="Revision number of the version strategy plugin" default="0.1"/>
+ <ea:parameter property="version.strategy.plugin.mrid" description="Full mrid of the version strategy plugin" default="${version.strategy.plugin.org}#${version.strategy.plugin.module};${version.strategy.plugin.rev}"/>
+
+ <ea:parameter property="test.plugin.org" description="Organisation name of the test plugin" default="org.apache.easyant.plugins"/>
+ <ea:parameter property="test.plugin.module" description="Module name of the test plugin" default="test-${test.framework}"/>
+ <ea:parameter property="test.plugin.rev" description="Revision number of the test plugin" default="0.2"/>
+ <ea:parameter property="test.plugin.mrid" description="Full mrid of the test plugin" default="${test.plugin.org}#${test.plugin.module};${test.plugin.rev}"/>
+
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean" />
+
+ <ea:include mrid="org.apache.easyant.plugins#ivy-provisioning;0.1" as="lib" />
+ <ea:include mrid="${version.strategy.plugin.mrid}" as="version" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-publication;0.1" as="publish" />
+ <ea:include mrid="org.apache.easyant.plugins#ivy-utils;0.1" as="ivy" />
+ <ea:include mrid="org.apache.easyant.plugins#resources-std;0.1" as="resources" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-java;0.1" as="compile" />
+ <ea:include mrid="org.apache.easyant.plugins#compile-test-java;0.1" as="compile-test" />
+ <ea:include mrid="${test.plugin.mrid}" as="test" />
+ <ea:include mrid="org.apache.easyant.plugins#manifest;0.1" as="manifest" />
+ <ea:include mrid="org.apache.easyant.plugins#package-war;0.1" as="war" />
+
+ <target name="doit" depends="verify" />
+</project>
diff --git a/build-webapp-java/src/main/resources/build-webapp-java.properties b/build-webapp-java/src/main/resources/build-webapp-java.properties
new file mode 100644
index 0000000..cb6465f
--- /dev/null
+++ b/build-webapp-java/src/main/resources/build-webapp-java.properties
@@ -0,0 +1,46 @@
+# ***************************************************************
+# * 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
+src.main.webapp=${basedir}/src/main/webapp
+
+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.main.war=${target}/war
+
+target.artifacts=${target}/artifacts
+target.artifacts.main.war.name=${module.name}.war
+
+target.report=${target}/report
+
+manifest.file=${target}/MANIFEST.MF
+
+test.framework=junit
diff --git a/meta-build/module.ivy b/meta-build/module.ivy
new file mode 100644
index 0000000..17c0e75
--- /dev/null
+++ b/meta-build/module.ivy
@@ -0,0 +1,34 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="meta-build" revision="0.2">
+ <description>This build type allows you to recursively build multi-module projects,
+ with internal dependencies between modules.</description>
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-ant-plugin" revision="0.1"/>
+ </info>
+ <configurations>
+ <conf name="default" description="runtime dependencies artifact can be used with this conf"/>
+ <conf name="test" 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" 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>
+ <publications>
+ <artifact type="ant"/>
+ <artifact type="properties"/>
+ </publications>
+</ivy-module>
diff --git a/meta-build/src/main/resources/meta-build.ant b/meta-build/src/main/resources/meta-build.ant
new file mode 100644
index 0000000..caf9f59
--- /dev/null
+++ b/meta-build/src/main/resources/meta-build.ant
@@ -0,0 +1,34 @@
+<!--
+ 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.buildtypes#meta-build"
+ xmlns:ea="antlib:org.apache.easyant"
+ xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <ea:core-version requiredrevision="[0.8,+]" />
+
+ <ea:include mrid="org.apache.easyant.plugins#phases-std;0.2"/>
+
+ <property file="${org.apache.easyant.buildtypes#meta-build.properties.file}" />
+
+ <ea:include mrid="org.apache.easyant.plugins#clean-std;0.1" as="clean"/>
+ <ea:include mrid="org.apache.easyant.plugins#build-tools;0.2" as="meta"/>
+
+ <target name="doit" depends="verify" />
+</project>
+
diff --git a/meta-build/src/main/resources/meta-build.properties b/meta-build/src/main/resources/meta-build.properties
new file mode 100644
index 0000000..d1e430a
--- /dev/null
+++ b/meta-build/src/main/resources/meta-build.properties
@@ -0,0 +1,31 @@
+# ***************************************************************
+# * 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}
+
+ant.executor.class=org.apache.easyant.core.ant.MetaBuildExecutor
+use.build.repository=true
+
+ivy.haltonmissing=false
+target=${basedir}/target
+
+# record the meta-build target directory, to be inherited by submodules
+meta.target=${target}
+meta.repository=${meta.target}/repository
diff --git a/module.ivy b/module.ivy
new file mode 100644
index 0000000..b5989bd
--- /dev/null
+++ b/module.ivy
@@ -0,0 +1,26 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="buildtypes-orchestrator" revision="0.1" >
+ <description>This module acts as orchestrator to build all easyant buildtypes.</description>
+ <ea:build module="meta-build" revision="0.2"/>
+ <!-- If we use build scoped repository easyant use it as a dictator resolver, this have side effects as we use same ivy instance to build the plugin and to resolve plugin dependencies -->
+ <ea:property name="use.build.repository" value="false"/>
+ </info>
+</ivy-module>
diff --git a/parent.ivy b/parent.ivy
new file mode 100644
index 0000000..f063c82
--- /dev/null
+++ b/parent.ivy
@@ -0,0 +1,27 @@
+<!--
+ 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:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant.buildtypes" module="buildtypes-orchestrator" revision="0.1" >
+ <description>This module acts as parent to share common stuff for subprojects.</description>
+ <ea:plugin module="scm-svn" revision="0.1" as="scm" load-strategy="LOCAL">
+ <ea:property name="scm.connection.baseurl" value="https://svn.easyant.org/buildtypes/trunk"/>
+ <ea:property name="scm.tag.name" value="${ivy.module}-${version}"/>
+ </ea:plugin>
+ </info>
+</ivy-module>