You are viewing a plain text version of this content. The canonical link for it is here.
Posted to easyant-commits@incubator.apache.org by hi...@apache.org on 2011/02/17 17:01:56 UTC
svn commit: r1071697 [4/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...
Added: incubator/easyant/core/trunk/example/example-multimodule/example-hello-world/src/main/resources/main.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/example-multimodule/example-hello-world/src/main/resources/main.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/example-multimodule/example-hello-world/src/main/resources/main.properties (added)
+++ incubator/easyant/core/trunk/example/example-multimodule/example-hello-world/src/main/resources/main.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+example=Hello
Propchange: incubator/easyant/core/trunk/example/example-multimodule/example-hello-world/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/example-multimodule/example-hello-world/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/example-multimodule/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/example-multimodule/module.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/example-multimodule/module.ivy (added)
+++ incubator/easyant/core/trunk/example/example-multimodule/module.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" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant" module="example-multimodule" revision="0.2" status="integration" >
+ <description>
+ This example show you how to use a meta build orchestrator to manage several submodules
+ </description>
+ <!--
+ This easyant section is equivalent to having a module.ant like this:
+
+ <project name="org.apache.easyant#example-hello-world"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <ea:import organisation="org.apache.easyant.buildtypes" module="meta-build" revision="0.2"/>
+ </project>
+ -->
+ <ea:build module="meta-build" revision="0.2"/>
+ </info>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/example/example-multimodule/module.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/example-multimodule/module.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/example-multimodule/module.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/example-multimodule/parent.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/example-multimodule/parent.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/example-multimodule/parent.ivy (added)
+++ incubator/easyant/core/trunk/example/example-multimodule/parent.ivy Thu Feb 17 17:01:07 2011
@@ -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" module="example-multimodule" revision="0.2" status="integration" >
+ <description>
+ This example show you how to use module inheritance to share common stuff between modules
+ </description>
+ </info>
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master 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."/>
+ </configurations>
+ <dependencies>
+ <dependency org="hsqldb" name="hsqldb" rev="1.8.0.7" conf="default->default"/>
+ <dependency org="junit" name="junit" rev="4.4" conf="test->default" />
+ </dependencies>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/example/example-multimodule/parent.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/example-multimodule/parent.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/example-multimodule/parent.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/standard-java-app/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-java-app/module.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-java-app/module.ivy (added)
+++ incubator/easyant/core/trunk/example/standard-java-app/module.ivy Thu Feb 17 17:01:07 2011
@@ -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.
+-->
+<ivy-module version="2.0" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant" module="standard-java-app" revision="0.1" status="integration" >
+ <description>
+ this project is an example of a java standard application
+ </description>
+ <!--
+ This easyant section is equivalent to having a module.ant like this:
+
+ <project name="org.apache.easyant#standard-java-app"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <property name="run.main.classname" value="org.apache.easyant.example.Example"/>
+
+ <ea:import organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2"/>
+ <ea:include organisation="org.apache.easyant.plugins" module="run-java" revision="0.1" as="run" />
+ </project>
+ -->
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2">
+ <ea:property name="default.build.number" value="10"/>
+ <ea:property name="run.main.classname" value="org.apache.easyant.example.Example"/>
+ <ea:plugin organisation="org.apache.easyant.plugins" module="run-java" revision="0.1" as="run"/>
+
+ <ea:plugin module="package-test-jar" revision="0.1" as="test-jar" />
+
+ </ea:build>
+ </info>
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master 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."/>
+ </configurations>
+ <dependencies>
+ <dependency org="hsqldb" name="hsqldb" rev="1.8.0.7" conf="default->default"/>
+ <dependency org="junit" name="junit" rev="4.4" conf="test->default" />
+
+ </dependencies>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/example/standard-java-app/module.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-java-app/module.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/standard-java-app/module.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java (added)
+++ incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java Thu Feb 17 17:01:07 2011
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+package org.apache.easyant.example;
+
+import java.io.IOException;
+import java.util.Properties;
+
+public class Example {
+ public static void main(String[] args) throws IOException {
+ System.out.println(new Example().sayHello("EasyAnt"));
+ }
+
+ /*
+ * @param who Who says hello
+ */
+ public String sayHello(String who) throws IOException {
+ Properties props = new Properties();
+ props.load(Example.class.getResourceAsStream("/main.properties"));
+ return props.getProperty("example") + " " + who + "!";
+ }
+}
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/easyant/core/trunk/example/standard-java-app/src/main/resources/main.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-java-app/src/main/resources/main.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-java-app/src/main/resources/main.properties (added)
+++ incubator/easyant/core/trunk/example/standard-java-app/src/main/resources/main.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+example=Hello
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java (added)
+++ incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java Thu Feb 17 17:01:07 2011
@@ -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.
+ */
+package org.apache.easyant.example;
+
+import java.util.Properties;
+
+import junit.framework.TestCase;
+
+public class ExampleTest extends TestCase {
+ public void testExample() throws Exception {
+ assertEquals("Hello EasyAnt!", new Example().sayHello("EasyAnt"));
+ }
+ public void testTestResources() throws Exception {
+ Properties props = new Properties();
+ props.load(Example.class.getResourceAsStream("/test.properties"));
+ assertEquals("Hello Test", props.getProperty("test.example"));
+ }
+}
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/easyant/core/trunk/example/standard-java-app/src/test/resources/test.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-java-app/src/test/resources/test.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-java-app/src/test/resources/test.properties (added)
+++ incubator/easyant/core/trunk/example/standard-java-app/src/test/resources/test.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+test.example=Hello Test
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-java-app/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/standard-scala-app/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-scala-app/module.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-scala-app/module.ivy (added)
+++ incubator/easyant/core/trunk/example/standard-scala-app/module.ivy 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.
+-->
+<ivy-module version="2.0" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant" module="std-scala-app" revision="0.1" status="integration" >
+ <description>
+ this project is a sample of a scala standard application
+ </description>
+ <!--
+ This easyant section is equivalent to having a module.ant like this:
+
+ <project name="org.apache.easyant#std-scala-app"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <property name="scala.home" value="path to scala home dir"/>
+ <property name="run.main.classname" value="org.apache.easyant.example.Example"/>
+
+ <ea:import organisation="org.apache.easyant.buildtypes" module="build-std-scala" revision="0.1"/>
+ <ea:include organisation="org.apache.easyant.plugins" module="run-java" revision="0.1" as="run"/>
+ </project>
+ -->
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-scala" revision="0.1">
+ <!--
+ Scala environnement could be set by using scala.home property like that :
+ <property name="scala.home" value="path to scala home dir"/>
+ or using SCALA_HOME system environnement variable
+ -->
+ <ea:property name="run.main.classname" value="org.apache.easyant.example.Example"/>
+ <ea:plugin organisation="org.apache.easyant.plugins" module="run-java" revision="0.1" as="run"/>
+ </ea:build>
+ </info>
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master 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."/>
+ </configurations>
+ <dependencies>
+ <dependency org="junit" name="junit" rev="4.4" conf="default->default" />
+ </dependencies >
+
+
+</ivy-module>
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/module.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/module.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/module.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/standard-scala-app/src/main/resources/main.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-scala-app/src/main/resources/main.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-scala-app/src/main/resources/main.properties (added)
+++ incubator/easyant/core/trunk/example/standard-scala-app/src/main/resources/main.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+example=Hello
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/standard-scala-app/src/main/scala/org/apache/easyant/example/Example.scala
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-scala-app/src/main/scala/org/apache/easyant/example/Example.scala?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-scala-app/src/main/scala/org/apache/easyant/example/Example.scala (added)
+++ incubator/easyant/core/trunk/example/standard-scala-app/src/main/scala/org/apache/easyant/example/Example.scala Thu Feb 17 17:01:07 2011
@@ -0,0 +1,18 @@
+package org.apache.easyant.example;
+
+import java.io.IOException
+import java.util.Properties
+
+object Example extends Application {
+
+ @throws(classOf[IOException])
+ def sayHello(who : String) = {
+
+ val props = new Properties()
+ props.load(this.getClass().getResourceAsStream("/main.properties"))
+ props.getProperty("example") + " " + who + "!";
+ }
+
+ println(sayHello("EasyAnt"))
+
+}
\ No newline at end of file
Added: incubator/easyant/core/trunk/example/standard-scala-app/src/test/resources/test.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-scala-app/src/test/resources/test.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-scala-app/src/test/resources/test.properties (added)
+++ incubator/easyant/core/trunk/example/standard-scala-app/src/test/resources/test.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+test.example=Hello Test
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/standard-scala-app/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/standard-scala-app/src/test/scala/org/apache/easyant/example/ExampleTest.scala
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/standard-scala-app/src/test/scala/org/apache/easyant/example/ExampleTest.scala?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/standard-scala-app/src/test/scala/org/apache/easyant/example/ExampleTest.scala (added)
+++ incubator/easyant/core/trunk/example/standard-scala-app/src/test/scala/org/apache/easyant/example/ExampleTest.scala Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+package org.apache.easyant.example;
+
+import java.util.Properties;
+
+import junit.Test
+import junit.Assert.assertEquals
+
+class ExampleTest {
+
+ @Test def testExample() {
+ assertEquals("Hello EasyAnt!", Example.sayHello("EasyAnt"));
+ }
+
+ @Test def testTestResources() {
+ val props = new Properties();
+ props.load(this.getClass.getResourceAsStream("/test.properties"));
+ assertEquals("Hello Test", props.getProperty("test.example"));
+ }
+}
\ No newline at end of file
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,51 @@
+<!--
+ 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" module="std-java-with-documentation" revision="0.1" status="integration" >
+ <description>
+ this project is similar to standard-java-application example exept that it provide documentation examples
+ </description>
+ <!--
+ This easyant section is equivalent to having a module.ant like this:
+
+ <project name="org.apache.easyant#std-java-with-documentation"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <property name="run.main.classname" value="org.apache.easyant.example.Example"/>
+
+ <ea:import organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2" />
+ <ea:include organisation="org.apache.easyant.plugins" module="run-java" revision="0.1" as="run"/>
+ <ea:include organisation="org.apache.easyant.plugins" module="documentation" revision="0.1" as="doc"/>
+ </project>
+ -->
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2">
+ <ea:property name="run.main.classname" value="org.apache.easyant.example.Example" confs="plop"/>
+ <ea:plugin organisation="org.apache.easyant.plugins" module="run-java" revision="0.1" as="run"/>
+ <ea:plugin organisation="org.apache.easyant.plugins" module="documentation" revision="0.1" as="doc"/>
+ </ea:build>
+ </info>
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master 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."/>
+ </configurations>
+ <dependencies>
+ <dependency org="hsqldb" name="hsqldb" rev="1.8.0.7" conf="default->default"/>
+ <dependency org="junit" name="junit" rev="4.4" conf="test->default" />
+ </dependencies>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/module.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml Thu Feb 17 17:01:07 2011
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<document>
+
+ <properties>
+ <author email="mmay@gmx.net">Markus M. May</author>
+ <title>EasyAnt Example5</title>
+ </properties>
+
+<body>
+
+<section name="EasyAnt">
+
+<p>Easyant is a toolbox focusing on easing project build processes.
+It's based on Apache Ant and Apache Ivy, and allows for maximum flexibily, improved integration in existing build systems and provides conventions and guidelines.
+Our goals are :
+<ul>
+<li>to simplify build process by providing a set of ready to use build scripts (or modules) to ease the implementation of build system.</li>
+<li>to provide conventions and guidelines</li>
+<li>to leverage your ant knowledge (no need to learn another language)</li>
+<li>remain adaptable :</li>
+<ul>
+<li>what about conventions ? : Even if Easyant comes with a lot of conventions, we never lock you in.</li>
+<li>what about modules ? : You can easily adapt it to your projects. The architecture of Easyant allows you to easily extends existing modules and to provide your own one.</li>
+<li>what if you already have an existing project ? Since Easyant is fully based on top of ant, you can keep your existing project along with the "old school" ant scripts. This should ease the migration to Easyant.</li>
+</ul>
+</ul>
+</p>
+
+</section>
+
+<section name="Source Code">
+<p>Easyant is released under Apache License 2.0.
+
+Sources can be found here<br/>
+SVN Url : <a href="http://easyant.abrm.info/svn">http://easyant.abrm.info/svn</a><br/>
+Login : anonymous<br/>
+pass: (empty)</p>
+</section>
+
+</body>
+</document>
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/index.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/logo.gif
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/logo.gif?rev=1071697&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/logo.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml Thu Feb 17 17:01:07 2011
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ 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="The EasyAnt Documentation Example"
+ href="http://easyant.abrm.info/trac">
+
+ <title>EasyAnt Example5</title>
+
+ <logo>logo.gif</logo>
+
+ <body>
+ <menu name="EasyAnt Documentation">
+ <item name="Home" href="/index.html"/>
+ </menu>
+
+ <menu name="Get Involved">
+ <item name="SVN Repositories" href="https://somewhere.org/svn"/>
+ <item name="Wiki" href="https://somewhere.org/redmine"/>
+ </menu>
+ </body>
+</project>
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/documentation/menu.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java Thu Feb 17 17:01:07 2011
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+package org.apache.easyant.example;
+
+import java.io.IOException;
+import java.util.Properties;
+
+public class Example {
+ public static void main(String[] args) throws IOException {
+ System.out.println(new Example().sayHello("EasyAnt"));
+ }
+
+ /*
+ * @param who Who says hello
+ */
+ public String sayHello(String who) throws IOException {
+ Properties props = new Properties();
+ props.load(Example.class.getResourceAsStream("/main.properties"));
+ return props.getProperty("example") + " " + who + "!";
+ }
+}
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/resources/main.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/resources/main.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/resources/main.properties (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/resources/main.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+example=Hello
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java Thu Feb 17 17:01:07 2011
@@ -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.
+ */
+package org.apache.easyant.example;
+
+import java.util.Properties;
+
+import junit.framework.TestCase;
+
+public class ExampleTest extends TestCase {
+ public void testExample() throws Exception {
+ assertEquals("Hello EasyAnt!", new Example().sayHello("EasyAnt"));
+ }
+ public void testTestResources() throws Exception {
+ Properties props = new Properties();
+ props.load(Example.class.getResourceAsStream("/test.properties"));
+ assertEquals("Hello Test", props.getProperty("test.example"));
+ }
+}
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/resources/test.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/resources/test.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/resources/test.properties (added)
+++ incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/resources/test.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+test.example=Hello Test
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/std-java-with-documentation/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/webapp-java/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/webapp-java/module.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/webapp-java/module.ivy (added)
+++ incubator/easyant/core/trunk/example/webapp-java/module.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,55 @@
+<!--
+ 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:e="http://ant.apache.org/ivy/extra" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant" module="webapp-java" revision="0.1" status="integration" >
+ <description>
+ This project is a sample of a java webapplication
+ </description>
+ <!--
+ This easyant section is equivalent to having a module.ant like this:
+
+ <project name="org.apache.easyant#webapp-java"
+ xmlns:ea="antlib:org.apache.easyant">
+
+ <property name="test.framework" value="testng"/>
+
+ <ea:import organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1"/>
+ <ea:include organisation="org.apache.easyant.plugins" module="jetty-deploy" revision="0.1" as="jetty"/>
+ </project>
+ This is a fake webapp application, it uses testng framework
+ -->
+ <ea:build organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
+ <ea:property name="test.framework" value="testng"/>
+ <ea:plugin organisation="org.apache.easyant.plugins" module="jetty-deploy" revision="0.1" as="jetty"/>
+ </ea:build>
+ </info>
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master 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."/>
+ </configurations>
+ <publications>
+ <artifact type="war"/>
+ </publications>
+ <dependencies>
+ <!-- here we should specify that we want to use the maven classifier concept to retrieve testng for jdk15 -->
+ <dependency org="org.testng" name="testng" rev="5.7" conf="test->master">
+ <artifact name="testng" type="jar" e:classifier="jdk15"/>
+ </dependency>
+ </dependencies>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/example/webapp-java/module.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/webapp-java/module.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/webapp-java/module.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java (added)
+++ incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java Thu Feb 17 17:01:07 2011
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+package org.apache.easyant.example;
+
+import java.io.IOException;
+import java.util.Properties;
+
+public class Example {
+ public static void main(String[] args) throws IOException {
+ System.out.println(new Example().sayHello("EasyAnt"));
+ }
+
+ /*
+ * @param who Who says hello
+ */
+ public String sayHello(String who) throws IOException {
+ Properties props = new Properties();
+ props.load(Example.class.getResourceAsStream("/main.properties"));
+ return props.getProperty("example") + " " + who + "!";
+ }
+}
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/main/java/org/apache/easyant/example/Example.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/easyant/core/trunk/example/webapp-java/src/main/resources/main.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/webapp-java/src/main/resources/main.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/webapp-java/src/main/resources/main.properties (added)
+++ incubator/easyant/core/trunk/example/webapp-java/src/main/resources/main.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+example=Hello
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/main/resources/main.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java (added)
+++ incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java Thu Feb 17 17:01:07 2011
@@ -0,0 +1,39 @@
+/*
+ * 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.
+ */
+package org.apache.easyant.example;
+
+import java.util.Properties;
+
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+public class ExampleTest {
+
+ @Test
+ public void testExample() throws Exception {
+ Assert.assertEquals("Hello EasyAnt!", new Example().sayHello("EasyAnt"));
+ }
+
+ @Test
+ public void testTestResources() throws Exception {
+ Properties props = new Properties();
+ props.load(Example.class.getResourceAsStream("/test.properties"));
+ Assert.assertEquals("Hello Test", props.getProperty("test.example"));
+ }
+}
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/java/org/apache/easyant/example/ExampleTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/test.properties
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/webapp-java/src/test/resources/test.properties?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/webapp-java/src/test/resources/test.properties (added)
+++ incubator/easyant/core/trunk/example/webapp-java/src/test/resources/test.properties Thu Feb 17 17:01:07 2011
@@ -0,0 +1,19 @@
+# ***************************************************************
+# * 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.
+# ***************************************************************
+test.example=Hello Test
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/test.properties
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Added: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml (added)
+++ incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml Thu Feb 17 17:01:07 2011
@@ -0,0 +1,26 @@
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd">
+<!--
+ 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.
+-->
+<suite name="Easyant example test suite">
+ <test name="Easyant example test">
+ <classes>
+ <class name="org.apache.easyant.example.ExampleTest" />
+ </classes>
+ </test>
+</suite>
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/example/webapp-java/src/test/resources/testng.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/ivysettings.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/ivysettings.xml?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/ivysettings.xml (added)
+++ incubator/easyant/core/trunk/ivysettings.xml 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.
+-->
+<ivysettings>
+ <include file="${ivy.settings.dir}/repository/third-party-lib/third-party-ivysettings.xml"/>
+ <include url="${easyant.extra.ivysettings.url}"/>
+ <settings defaultResolver="main"/>
+ <resolvers>
+ <!--define your own easyant modules repository here
+ <filesystem name="custom-easyant-modules">
+ <ivy pattern="${ivy.settings.dir}/repository/shared/[organisation]/[module]/[revision]/[module].ivy"/>
+ <artifact pattern="${ivy.settings.dir}/repository/shared/[organisation]/[module]/[revision]/[artifact](-[classifier]).[ext]"/>
+ </filesystem>
+ -->
+ <chain name="main" returnFirst="true">
+ <!-- core modules provided by easyant full distribution -->
+ <resolver ref="easyant-core-modules"/>
+ <resolver ref="easyant-shared-modules"/>
+ <!-- extra modules provided by easyant full distribution -->
+ <resolver ref="easyant-extra-modules" />
+ <resolver ref="third-party-lib" />
+ <resolver ref="public-maven" />
+ </chain>
+ </resolvers>
+
+ <modules>
+ <module organisation="*" name="*" resolver="main" />
+ </modules>
+</ivysettings>
Propchange: incubator/easyant/core/trunk/ivysettings.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/ivysettings.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/ivysettings.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/module.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/module.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/module.ant (added)
+++ incubator/easyant/core/trunk/module.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,242 @@
+<!--
+ 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#easyant-core"
+ xmlns:ea="antlib:org.apache.easyant"
+ xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <!-- Force compatibility to java 1.5 -->
+ <property name="compile.java.target.version" value="1.5" />
+ <property name="compile.java.source.version" value="1.5" />
+
+ <property name="target.documentation.dir" value="${basedir}/target/documentation" />
+ <property name="xooki.temp.dir" value="${basedir}/target/temp-doc" />
+ <property name="xooki.resources.include.pattern" value="style/**,images/**,sortable.js"/>
+ <property name="eadoc.documentation.dir" value="${xooki.temp.dir}" />
+
+
+ <property name="project.ivy.instance" value="easyant.ivy.instance" />
+ <property name="release.resolver" value="easyant-shared-modules"/>
+ <property name="shared.resolver" value="easyant-shared-modules"/>
+
+ <property name="retrieve.dependencies" value="true"/>
+
+ <property name="test.run.excludes.pattern" value="**/EasyAntBaseTest*,**/*AntTestListener*,**/*AntOutputStream*" />
+ <!-- bind antunit output dir to the same directory of junit output dir
+ this will allow hudson to take all the test files in the same directory -->
+ <property name="target.antunit.xml" value="${basedir}/target/test/xml" />
+
+ <!-- override main artifact retrieve pattern -->
+ <property name="retrieve.pattern.lib.main" value="${basedir}/lib/main/[artifact].[ext]" />
+
+
+ <!-- Load external properties
+ /!\ This file will contains svn credentials so it should not be commited /!\
+ -->
+ <property file="module.properties" />
+
+ <!--Loading build type -->
+ <ea:build module="build-std-java" rev="0.2" />
+
+ <!-- Loading plugins -->
+ <ea:plugin module="xooki" rev="0.1" as="xooki" />
+ <ea:plugin module="scm-svn" rev="0.1" as="svn" />
+ <ea:plugin module="emma" rev="0.1" as="emma" />
+ <ea:plugin module="eadoc" rev="0.1" as="eadoc" />
+ <ea:plugin module="antunit" rev="0.1" as="antunit"/>
+ <ea:plugin module="javadoc" rev="0.1" as="javadoc" />
+ <ea:plugin module="package-test-jar" rev="0.1" as="test-jar" />
+ <ea:plugin module="distribution" rev="0.1" as="distribution" />
+
+ <phase name="pre-integration-test" depends="package"/>
+ <phase name="distribution" description="create a distribution package" depends="package" />
+ <property name="target.dist" value="${target}/dist" />
+ <property name="target.distribution" value="${target}/distribution" />
+
+ <!-- override the default release phase -->
+ <phase name="release" depends="generate-release-version, distribution, verify" description="done in an integration or release environment, copies the final package to the remote repository for sharing with other developers and projects" />
+ <!-- override the default package phase -->
+ <phase name="package" depends="prepare-package" description="take the compiled code and package it in its distributable format, such as a JAR." />
+
+ <target name="package-extra-modules" phase="package" description="package easyant extra modules">
+ <jar file="${target.artifacts}/easyant-extra-modules.jar">
+ <zipfileset dir="repository/extra-modules" prefix="org/apache/easyant/repository/extra-modules" />
+ </jar>
+ </target>
+
+ <target name="test-setup" phase="validate" depends="compile:init,test:init"
+ description="add extra information to classpath for unit tests">
+ <!--
+ our unit test requires the JDK tools.jar to run, which cannot be defined normally
+ in module.ivy dependencies.
+
+ Ant will try to find the tools.jar using java.home System property, but sometimes
+ this points to JDK, and sometimes to JRE.
+ See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4200300
+ -->
+ <augment id="run.test.classpath">
+ <path path="${java.class.path}"/>
+ </augment>
+ </target>
+
+ <target name="prepare-distribution">
+
+ <mkdir dir="${target.distribution}" />
+
+ <patternset id="easyant-files.patternset">
+ <exclude name="target/**"/>
+ <exclude name="lib/**"/>
+
+ <include name="repository/**" />
+ <exclude name="repository/extra-modules/**" />
+ <exclude name="repository/bootstrap-cache/**"/>
+
+ <include name="example/**" />
+ <exclude name="example/**/bin/**" />
+ <exclude name="example/**/lib/**" />
+ <exclude name="example/**/target/**" />
+
+ <include name="ivysettings.xml" />
+ <include name="easyant-conf.xml" />
+ <include name="README" />
+ <include name="NOTICE" />
+ <include name="LICENSE" />
+ </patternset>
+
+ <patternset id="easyant-exec.patternset">
+ <include name="bin/**"/>
+ </patternset>
+
+ </target>
+
+ <target name="dist" depends="jar:jar,test-jar:jar, package-extra-modules, prepare-distribution"
+ description="update the dist directory (used for development and packaging)">
+
+ <mkdir dir="${target.dist}" />
+
+ <!-- copy easyant data files -->
+ <copy todir="${target.dist}">
+ <fileset dir="${basedir}">
+ <patternset refid="easyant-files.patternset"/>
+ </fileset>
+ </copy>
+
+ <!-- isolate build cache in case there are multiple easyant workspaces (e.g. on hudson) -->
+ <property name="wrapper.target.settings" location="${target.dist}/repository/third-party-lib/third-party-ivysettings.xml"/>
+ <property name="wrapper.cache.dir" location="${basedir}/target/tmp/build-cache"/>
+
+ <!-- publish latest easyant artifacts into dist repository -->
+ <ivy:settings id="dist.ivy.settings" file="${basedir}/src/build/etc/cache-wrapper-ivysettings.xml"/>
+ <ivy:cleancache settingsRef="dist.ivy.settings"/>
+
+ <ivy:publish settingsRef="dist.ivy.settings" resolver="third-party-lib" overwrite="true"
+ srcivypattern="module.ivy" artifactspattern="${target.artifacts}/[artifact].[ext]"/>
+ <!-- compute runtime classpath for easyant distribution -->
+ <ivy:cachepath settingsRef="dist.ivy.settings" pathid="dist.class.path" conf="extra" inline="true"
+ organisation="org.apache.easyant" module="easyant-core" revision="latest.integration"
+ useOrigin="true"/>
+
+ <!-- generate platform-specific path strings for launch scripts -->
+ <property name="dist.prefix" location="${target.dist}"/>
+ <pathconvert refid="dist.class.path" property="unix.dist.path" pathsep=":">
+ <map from="${dist.prefix}" to="$${EASYANT_HOME}"/>
+ </pathconvert>
+
+ <pathconvert refid="dist.class.path" property="windows.dist.path" pathsep=";">
+ <map from="${dist.prefix}" to="%EASYANT_HOME%"/>
+ </pathconvert>
+
+ <!-- copy easyant scripts, including substitution of runtime classpath value -->
+ <copy todir="${target.dist}" filtering="true" overwrite="true">
+ <filterset>
+ <filter token="unix.dist.path" value="${unix.dist.path}"/>
+ <filter token="windows.dist.path" value="${windows.dist.path}"/>
+ </filterset>
+ <fileset dir="${basedir}">
+ <patternset refid="easyant-exec.patternset"/>
+ </fileset>
+ </copy>
+
+ <!-- makes easyant scripts executable -->
+ <chmod perm="744" dir="${target.dist}">
+ <patternset refid="easyant-exec.patternset"/>
+ </chmod>
+
+ <!-- declare distribution fileset for use in packaging targets -->
+ <fileset id="easyant-dist.fileset" dir="${target.dist}">
+ <patternset refid="easyant-files.patternset"/>
+ <patternset refid="easyant-exec.patternset"/>
+ </fileset>
+
+ </target>
+
+ <target name="setup-integration-environment" phase="pre-integration-test" depends="dist"/>
+
+ <!-- Create a zip for distribution -->
+ <target name="package-distribution" phase="distribution" depends="documentation, dist" description="package a distribution">
+ <echo message="Packaging standard distribution." />
+ <property name="root.dir" value="${ivy.module}-${ivy.revision}"/>
+ <bundle destfile="${target.distribution}/${ivy.module}-${version}">
+ <zipfileset dir="${target.dist}" prefix="${root.dir}">
+ <patternset refid="easyant-files.patternset"/>
+ </zipfileset>
+ <!-- make scripts executable -->
+ <zipfileset dir="${target.dist}" prefix="${root.dir}" filemode="744">
+ <patternset refid="easyant-exec.patternset"/>
+ </zipfileset>
+ <!-- ship the documentation -->
+ <zipfileset dir="${target.documentation.dir}" prefix="${root.dir}/doc"/>
+ </bundle>
+
+ </target>
+
+ <target name="package-documentation" phase="distribution" description="package the documentation" depends="documentation">
+ <echo message="Packaging documentation distribution." />
+ <bundle destfile="${target.distribution}/${ivy.module}-${version}-docs">
+ <zipfileset dir="${target.documentation.dir}" prefix="${ivy.module}-${ivy.revision}-docs"/>
+ </bundle>
+ </target>
+
+ <!-- Create a zip for full distribution -->
+ <target name="package-full-distribution" phase="distribution" depends="documentation, dist" description="package a distribution (including includes sources)">
+ <echo message="Packaging full distribution." />
+ <property name="full.root.dir" value="${ivy.module}-${ivy.revision}-full"/>
+ <bundle destfile="${target.distribution}/${ivy.module}-${version}-full">
+ <zipfileset dir="${target.dist}" prefix="${full.root.dir}">
+ <patternset refid="easyant-files.patternset"/>
+ </zipfileset>
+ <!-- make scripts executable -->
+ <zipfileset dir="${target.dist}" prefix="${full.root.dir}" filemode="744">
+ <patternset refid="easyant-exec.patternset"/>
+ </zipfileset>
+ <!-- ship the documentation -->
+ <zipfileset dir="${target.documentation.dir}" prefix="${full.root.dir}/doc"/>
+ <!-- easyant sources -->
+ <zipfileset dir="${basedir}" includes="src/**,module.ant, module.ivy,repository/extra-modules/**" prefix="${full.root.dir}"/>
+ </bundle>
+ </target>
+
+ <target name="reports">
+ <ea:repreport organisation="org.apache.easyant.plugins"
+ module="*" toDir="${target}/report/repository"
+ dot="true">
+ </ea:repreport>
+ </target>
+
+</project>
+
Propchange: incubator/easyant/core/trunk/module.ant
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/module.ant
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/module.ant
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/module.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/module.ivy (added)
+++ incubator/easyant/core/trunk/module.ivy 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.
+-->
+<ivy-module version="2.0" xmlns:ea="http://www.easyant.org">
+ <info organisation="org.apache.easyant" module="easyant-core" revision="0.9" status="integration"/>
+
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master 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="extra" extends="default" description="includes optional easyant modules"/>
+ </configurations>
+ <publications>
+ <artifact name="easyant-core" type="jar" conf="default"/>
+ <artifact name="easyant-extra-modules" type="jar" conf="extra"/>
+ </publications>
+ <dependencies>
+ <dependency org="junit" name="junit" rev="4.4" conf="test->default"/>
+ <dependency org="org.apache.ant" name="ant-testutil" rev="1.8.2" conf="test->default" transitive="false" />
+
+ <dependency org="org.apache.ant" name="ant" rev="1.8.2" conf="default->default"/>
+ <dependency org="org.apache.ivy" name="ivy" rev="2.3.0-r1033912-patched" conf="default->core"/>
+ <dependency org="ant-contrib" name="ant-contrib" rev="1.0b2" conf="default->default"/>
+ <!-- ivy uses a different namespace to reference ant -->
+ <exclude org="ant" module="*"/>
+
+ </dependencies>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/module.ivy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/easyant/core/trunk/module.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/module.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ant
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.ant?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.ant (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ant Thu Feb 17 17:01:07 2011
@@ -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>
Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ant
------------------------------------------------------------------------------
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.ant
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ant
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ivy
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.ivy?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.ivy (added)
+++ incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,30 @@
+<!--
+ Copyright 2008-2010 the EasyAnt project
+
+ See the NOTICE file distributed with this work for additional information
+ regarding copyright ownership.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<ivy-module version="2.0">
+ <info organisation="org.apache.easyant.buildtypes"
+ module="build-osgi-bundle-java"
+ status="milestone"
+ revision="0.1">
+ <description>A standard build for osgi bundle modules, relying on standard phases, and providing compilation, execution and unit tests</description>
+ </info>
+ <publications>
+ <artifact type="ant" />
+ <artifact type="properties" />
+ </publications>
+</ivy-module>
Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ivy
------------------------------------------------------------------------------
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.ivy
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: incubator/easyant/core/trunk/repository/extra-modules/org.apache.easyant.buildtypes/build-osgi-bundle-java/0.1/build-osgi-bundle-java.ivy
------------------------------------------------------------------------------
svn:mime-type = text/xml