incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1073371 [7/28] - in /incubator/easyant/core/trunk: ./ bin/ example/build-configurations/ example/build-configurations/src/main/java/org/apache/easyant/example/ example/build-configurations/src/test/java/org/apache/easyant/example/ example/...
Date Tue, 22 Feb 2011 15:56:09 GMT
Modified: incubator/easyant/core/trunk/src/documentation/changelog.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/changelog.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/changelog.html (original)
+++ incubator/easyant/core/trunk/src/documentation/changelog.html Tue Feb 22 15:55:55 2011
@@ -17,51 +17,51 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 0};</script>	
-	<script type="text/javascript" src="xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 0};</script>   
+    <script type="text/javascript" src="xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Changelog</h1>
 <h2>0.8</h2>
 <ul>
-	<li>Feature #132: Switch to Ivy 2.2.0-rc1</li>
-	<li>Feature #117: Switch to ant 1.8.1</li>
-	<li>Feature #70: abstract menu generator</li>
-	<li>Feature #88: core antunit test suite should be faster</li>
-	<li>Feature #92: eadoc plugin should use ant uptodate check to improve performance</li>
-	<li>Feature #93: add resource collection support to junit plugin</li>
-	<li>Feature #94: package-jar should support test jar</li>
-	<li>Feature #98: Support for pre-module-phases in multi module</li>
-	<li>Feature #100: support for extends=info in ivy module parser</li>
-	<li>Feature #101: publish merged version of Ivy descriptor with <extends></li>
-	<li>Feature #102: easyant integration tests should build example projects</li>
-	<li>Feature #109: Homogenize properties referencing the main class</li>
-	<li>Feature #111: implement xooki menugenerator</li>
-	<li>Feature #113: Publish maven pom</li>
-	<li>Feature #115: Integration Test</li>
-	<li>Feature #116: CheckResolver</li>
-	<li>Feature #119: Working with alternative ant distribution</li>
-	<li>Feature #122: Simplify usage of project module ivy</li>
-	<li>Feature #123: Support filterset in resources-std plugin</li>
-	<li>Feature #124: Introduce a ant task to run an easyant build process</li>
-	<li>Feature #126: Bootstrap mechanism on easyant scripts</li>
-	<li>Feature #127: Distribution plugin</li>
-	<li>Feature #128: Skeletons list</li>
+    <li>Feature #132: Switch to Ivy 2.2.0-rc1</li>
+    <li>Feature #117: Switch to ant 1.8.1</li>
+    <li>Feature #70: abstract menu generator</li>
+    <li>Feature #88: core antunit test suite should be faster</li>
+    <li>Feature #92: eadoc plugin should use ant uptodate check to improve performance</li>
+    <li>Feature #93: add resource collection support to junit plugin</li>
+    <li>Feature #94: package-jar should support test jar</li>
+    <li>Feature #98: Support for pre-module-phases in multi module</li>
+    <li>Feature #100: support for extends=info in ivy module parser</li>
+    <li>Feature #101: publish merged version of Ivy descriptor with <extends></li>
+    <li>Feature #102: easyant integration tests should build example projects</li>
+    <li>Feature #109: Homogenize properties referencing the main class</li>
+    <li>Feature #111: implement xooki menugenerator</li>
+    <li>Feature #113: Publish maven pom</li>
+    <li>Feature #115: Integration Test</li>
+    <li>Feature #116: CheckResolver</li>
+    <li>Feature #119: Working with alternative ant distribution</li>
+    <li>Feature #122: Simplify usage of project module ivy</li>
+    <li>Feature #123: Support filterset in resources-std plugin</li>
+    <li>Feature #124: Introduce a ant task to run an easyant build process</li>
+    <li>Feature #126: Bootstrap mechanism on easyant scripts</li>
+    <li>Feature #127: Distribution plugin</li>
+    <li>Feature #128: Skeletons list</li>
 
         <li>Bug #99: Compile classpath is not properly set when using multiple drives in windows</li>
-	<li>Bug #104: Zip Archive Corrupt?</li>
-	<li>Bug #105: merged ivy descriptor sometimes has too much whitespace before XML comment</li>
-	<li>Bug #107: merged ivy descriptor requires container element to appear in child descriptor</li>
-	<li>Bug #108: runnable jar</li>
-	<li>Bug #110: plugin skeleton antunit test only works after plugin is published</li>
-	<li>Bug #114: skeleton:create results in error if creating in any directory other than "."</li>
-	<li>Bug #118: Textarea in generated plugin documentation</li>
-	<li>Bug #125: test plugins do not include integration-test/classes in integration test classpath</li>
-	<li>Bug #129: Existing skeletons should have description</li>
-	<li>Bug #130: package-test-jar:test should be called package-test-jar:jar</li>
-	<li>Bug #133: bootstrap classpath in launch script contains absolute paths on Hudson server</li>
+    <li>Bug #104: Zip Archive Corrupt?</li>
+    <li>Bug #105: merged ivy descriptor sometimes has too much whitespace before XML comment</li>
+    <li>Bug #107: merged ivy descriptor requires container element to appear in child descriptor</li>
+    <li>Bug #108: runnable jar</li>
+    <li>Bug #110: plugin skeleton antunit test only works after plugin is published</li>
+    <li>Bug #114: skeleton:create results in error if creating in any directory other than "."</li>
+    <li>Bug #118: Textarea in generated plugin documentation</li>
+    <li>Bug #125: test plugins do not include integration-test/classes in integration test classpath</li>
+    <li>Bug #129: Existing skeletons should have description</li>
+    <li>Bug #130: package-test-jar:test should be called package-test-jar:jar</li>
+    <li>Bug #133: bootstrap classpath in launch script contains absolute paths on Hudson server</li>
 </ul></textarea>
 <script type="text/javascript">xooki.postProcess();</script>
 </body>

Modified: incubator/easyant/core/trunk/src/documentation/changelog/0.7.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/changelog/0.7.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/changelog/0.7.html (original)
+++ incubator/easyant/core/trunk/src/documentation/changelog/0.7.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>What's new in 0.7 ?</h1>
 <ul>
   <li>use latest official ant (no more a patched version)</li>

Modified: incubator/easyant/core/trunk/src/documentation/config.js
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/config.js?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/config.js (original)
+++ incubator/easyant/core/trunk/src/documentation/config.js Tue Feb 22 15:55:55 2011
@@ -16,8 +16,8 @@
  *
  */
 xooki.util.mix({debug:true, 
-	shortcuts: {
-		svn: {pre: 'http://svn.easyant.org/trunk/'},
-		ant: {pre: xooki.c.relativeRoot+'use/', post:'.html'}
-	}
+    shortcuts: {
+        svn: {pre: 'http://svn.easyant.org/trunk/'},
+        ant: {pre: xooki.c.relativeRoot+'use/', post:'.html'}
+    }
 }, xooki.c, false);

Modified: incubator/easyant/core/trunk/src/documentation/contact.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/contact.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/contact.html (original)
+++ incubator/easyant/core/trunk/src/documentation/contact.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 0};</script>	
-	<script type="text/javascript" src="xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 0};</script>   
+    <script type="text/javascript" src="xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <br />
 <h3>Easyant Mailing List</h3>
 <p />

Modified: incubator/easyant/core/trunk/src/documentation/faq.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/faq.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/faq.html (original)
+++ incubator/easyant/core/trunk/src/documentation/faq.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 0};</script>	
-	<script type="text/javascript" src="xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 0};</script>   
+    <script type="text/javascript" src="xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Frequently Asked Questions</h1>
 
 <h2>How can i configure a new repository?</h2>

Modified: incubator/easyant/core/trunk/src/documentation/howto/BuildConfigurations.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/howto/BuildConfigurations.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/howto/BuildConfigurations.html (original)
+++ incubator/easyant/core/trunk/src/documentation/howto/BuildConfigurations.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Build Configurations</h1>
 
 <h2>Concept</h2>
@@ -78,10 +78,10 @@ Here is how you may attach properties to
 For example if you specify a property like :
 <code type="xml">
 <ea:build organisation="org.apache.easyant.buildtypes" module"build-std-java" revision="0.2">
-	<ea:property name="foo" value="bar" conf="windows"/>
-	<ea:property name="foo" value="foobar" conf="linux"/>
-	<ea:property name="goo" value="bar" conf="windows, linux"/>
-	<ea:plugin module="myplugin" revision="0.1" conf="windows"/>
+    <ea:property name="foo" value="bar" conf="windows"/>
+    <ea:property name="foo" value="foobar" conf="linux"/>
+    <ea:property name="goo" value="bar" conf="windows, linux"/>
+    <ea:plugin module="myplugin" revision="0.1" conf="windows"/>
 </ea:build>
 </code>
 As is self-evident, the property foo will assume different values for 'windows' and 'linux' configurations. On the otherhand, declaration of 'goo' attaches itself to both windows and linux profiles with the same value. Similarly, the plugin myplugin gets attached to the 'windows' configuration only but, is not available in the linux configuration.
@@ -110,12 +110,12 @@ Let us try to set up a simply EasyAnt bu
 Example:
 <code type="xml">
 <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="release" visibility="public" ea:type="profile" description="Declares a build configuration for release builds"/>
-	<conf name="testing" visibility="public" ea:type="profile" description="Declares a build configuration for testing builds"/>
-	<conf name="dev" visibility="public" ea:type="profile" description="Declares a build configuration for dev builds"/>
+    <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="release" visibility="public" ea:type="profile" description="Declares a build configuration for release builds"/>
+    <conf name="testing" visibility="public" ea:type="profile" description="Declares a build configuration for testing builds"/>
+    <conf name="dev" visibility="public" ea:type="profile" description="Declares a build configuration for dev builds"/>
 </configurations>
 </code>
 The above module.ivy snippet declares the three build configurations, viz. 'release', 'testing' and 'dev'. Now, we need to attach our requirement dependencies to each of these configurations.
@@ -123,11 +123,11 @@ The above module.ivy snippet declares th
 So, we modify our <ea:build> tag as:
 <code type="xml">
 <ea:build organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
-	<ea:property name="test.framework" value="testng"/>
-	<ea:property name="run.main.classname" value="org.apache.easyant.example.Example" conf="dev"/>
-	<ea:plugin module="jetty-deploy" revision="0.1" as="jetty" conf="dev"/>
-	<ea:plugin module="run-java revision="0.1" as="run-java" conf="dev"/>
-	<ea:plugin module="emma" revision="0.1" as="emma" conf="release,testing"/>
+    <ea:property name="test.framework" value="testng"/>
+    <ea:property name="run.main.classname" value="org.apache.easyant.example.Example" conf="dev"/>
+    <ea:plugin module="jetty-deploy" revision="0.1" as="jetty" conf="dev"/>
+    <ea:plugin module="run-java revision="0.1" as="run-java" conf="dev"/>
+    <ea:plugin module="emma" revision="0.1" as="emma" conf="release,testing"/>
 </ea:build>
 </code>
 In the above snippet, jetty-deploy, run-java and emma plugins have been declared and attached to different build configurations. 
@@ -139,48 +139,48 @@ On the other hand, for our release build
 So, this is how our final module.ivy looks:
 <code type="xml">
 <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"
-		status="integration">
-		<description>
-			This project is a sample of a java webapplication making
-			use of build configurations
-		</description>
-		<ea:build organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
-			<ea:property name="test.framework" value="testng" />
-			<ea:property name="run.main.classname" value="org.apache.easyant.example.Example"
-				conf="dev" />
-			<ea:plugin module="jetty-deploy" revision="0.1"
-				as="jetty" conf="dev" />
-			<ea:plugin module="run-java" revision="0.1"
-				as="run-java" conf="dev" />
-			<ea:plugin module="emma" revision="0.1" as="emma"
-				conf="release,testing" />
-		</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." />
-		<conf name="release" visibility="public" ea:type="profile"
-			description="Declares a build configuration for official builds" />
-		<conf name="testing" visibility="public" ea:type="profile"
-			description="Declares a build configuration for testing builds" />
-		<conf name="dev" visibility="public" ea:type="profile"
-			description="Declares a build configuration for dev builds" />
-	</configurations>
-	<publications>
-		<artifact type="war" />
-		<artifact e:classifier="source" />
-	</publications>
-	<dependencies>
-		<dependency org="org.testng" name="testng" rev="5.7"
-			conf="test->master">
-			<artifact name="testng" type="jar" e:classifier="jdk15" />
-		</dependency>
-	</dependencies>
+    xmlns:ea="http://www.easyant.org">
+    <info organisation="org.apache.easyant" module="webapp-java"
+        status="integration">
+        <description>
+            This project is a sample of a java webapplication making
+            use of build configurations
+        </description>
+        <ea:build organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
+            <ea:property name="test.framework" value="testng" />
+            <ea:property name="run.main.classname" value="org.apache.easyant.example.Example"
+                conf="dev" />
+            <ea:plugin module="jetty-deploy" revision="0.1"
+                as="jetty" conf="dev" />
+            <ea:plugin module="run-java" revision="0.1"
+                as="run-java" conf="dev" />
+            <ea:plugin module="emma" revision="0.1" as="emma"
+                conf="release,testing" />
+        </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." />
+        <conf name="release" visibility="public" ea:type="profile"
+            description="Declares a build configuration for official builds" />
+        <conf name="testing" visibility="public" ea:type="profile"
+            description="Declares a build configuration for testing builds" />
+        <conf name="dev" visibility="public" ea:type="profile"
+            description="Declares a build configuration for dev builds" />
+    </configurations>
+    <publications>
+        <artifact type="war" />
+        <artifact e:classifier="source" />
+    </publications>
+    <dependencies>
+        <dependency org="org.testng" name="testng" rev="5.7"
+            conf="test->master">
+            <artifact name="testng" type="jar" e:classifier="jdk15" />
+        </dependency>
+    </dependencies>
 </ivy-module>
 </code>
 

Modified: incubator/easyant/core/trunk/src/documentation/howto/GettingStarted.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/howto/GettingStarted.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/howto/GettingStarted.html (original)
+++ incubator/easyant/core/trunk/src/documentation/howto/GettingStarted.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Getting Started</h1>
 <p />
 Here is a Quick Start tutorial to undestand how to use EasyAnt in your project.

Modified: incubator/easyant/core/trunk/src/documentation/howto/SettingupasimpleEasyAntproject.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/howto/SettingupasimpleEasyAntproject.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/howto/SettingupasimpleEasyAntproject.html (original)
+++ incubator/easyant/core/trunk/src/documentation/howto/SettingupasimpleEasyAntproject.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Setting up a simple EasyAnt project</h1>
 <p />
 In the course of this write up, you will be taken through basics of EasyAnt and a simple-and-live example of setting up an EasyAnt web application project as an example only.
@@ -31,11 +31,11 @@ Prerequisite to your setting up an Easya
 <p />
 You need to set up EASYANT_HOME property. Point it to your EasyAnt path. For Windows users, do:
 <code type="xml">
-> set EASYANT_HOME=path\to\easyant
+> set EASYANT_HOME=c:\path\to\easyant
 </code>
 For Unix,
 <code type="xml">
-> export EASYANT_HOME=path/to/easyant
+> export EASYANT_HOME=/path/to/easyant
 </code>
 <p />
 Then add %EASYANT_HOME%/bin to your PATH variable.
@@ -48,27 +48,27 @@ Your project is expected to have a modul
 <p />
 <code type="xml">
 <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra" xmlns:ea="http://www.easyant.org">
-	<info organisation="my.easyant.project" module="my-webapp" status="integration" >
-		<description>
-			This project is a sample of a java webapplication
-		</description>
-		<ea:build organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
-			<ea:property name="test.framework" value="testng"/>
-		</ea:build>
-	</info>
-	<configurations>
-		<conf name="default" visibility="public"/>
-		<conf name="test" visibility="private"/>
-	</configurations>
-	<publications>
-		<artifact type="war"/>
-		<artifact e:classifier="source"/>
-	</publications>
-	<dependencies>
-		<dependency org="org.testng" name="testng" rev="5.7" conf="test->master">
-			<artifact name="testng" type="jar" e:classifier="jdk15"/>
-		</dependency>
-	</dependencies>
+    <info organisation="my.easyant.project" module="my-webapp" status="integration" >
+        <description>
+            This project is a sample of a java webapplication
+        </description>
+        <ea:build organisation="org.apache.easyant.buildtypes" module="build-webapp-java" revision="0.1">
+            <ea:property name="test.framework" value="testng"/>
+        </ea:build>
+    </info>
+    <configurations>
+        <conf name="default" visibility="public"/>
+        <conf name="test" visibility="private"/>
+    </configurations>
+    <publications>
+        <artifact type="war"/>
+        <artifact e:classifier="source"/>
+    </publications>
+    <dependencies>
+        <dependency org="org.testng" name="testng" rev="5.7" conf="test->master">
+            <artifact name="testng" type="jar" e:classifier="jdk15"/>
+        </dependency>
+    </dependencies>
 </ivy-module>
 
 </code>
@@ -107,10 +107,10 @@ Let us first include a 'Hello World' ind
 <p />
 <code type="xml">
 <html>
-	<head></head>
-	<body>
-		<h3>Hello World !!</h3>
-	</body>
+    <head></head>
+    <body>
+        <h3>Hello World !!</h3>
+    </body>
 </html>
 </code>
 <p />
@@ -118,28 +118,28 @@ Our module.ivy is the repository of all 
 <p />
 <code type="xml">
 <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra" xmlns:ea="http://www.easyant.org">
-	<info organisation="my.easyant.project" module="my-webapp" status="integration" >
-		<description>
-			This project is a sample of a java webapplication
-		</description>
-		<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"/>
-		<conf name="test" visibility="private"/>
-	</configurations>
-	<publications>
-		<artifact type="war"/>
-		<artifact e:classifier="source"/>
-	</publications>
-	<dependencies>
-		<dependency org="org.testng" name="testng" rev="5.7" conf="test->master">
-			<artifact name="testng" type="jar" e:classifier="jdk15"/>
-		</dependency>
-	</dependencies>
+    <info organisation="my.easyant.project" module="my-webapp" status="integration" >
+        <description>
+            This project is a sample of a java webapplication
+        </description>
+        <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"/>
+        <conf name="test" visibility="private"/>
+    </configurations>
+    <publications>
+        <artifact type="war"/>
+        <artifact e:classifier="source"/>
+    </publications>
+    <dependencies>
+        <dependency org="org.testng" name="testng" rev="5.7" conf="test->master">
+            <artifact name="testng" type="jar" e:classifier="jdk15"/>
+        </dependency>
+    </dependencies>
 </ivy-module>
 </code>
 <p />

Modified: incubator/easyant/core/trunk/src/documentation/howto/multimodules.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/howto/multimodules.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/howto/multimodules.html (original)
+++ incubator/easyant/core/trunk/src/documentation/howto/multimodules.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Working with multi-modules</h1>
 
 <p>A "multi-module" project involves more than one subcomponent, with possible dependencies between components.  For example, one project may build three separate jar files, and then a single war with all of these jars copied into its WEB-INF/lib folder.</p>
@@ -126,16 +126,16 @@
 <code type="xml">
 <project name="org.apache.easyant#example-multimodule" xmlns:ea="antlib:org.apache.easyant">
 
-	<property name="target.dir" location="target/release"/>
-	<ea:import mrid="org.apache.easyant.buildtypes#meta-build;0.2"/>
-	
-	<target name="build-distribution" phase="package" description="gather the submodules into one archive">
-		<mkdir dir="${target.dir}"/>
-		<tar destfile="${target.dir}/distribution.tar.gz" compression="gzip">
-			<tarfileset prefix="lib" dir="example-core/target/artifacts" includes="*.jar"/>
-			<tarfileset prefix="lib" dir="example-hello-world/target/artifacts" includes="*.jar"/>
-		</tar>
-	</target>
+    <property name="target.dir" location="target/release"/>
+    <ea:import mrid="org.apache.easyant.buildtypes#meta-build;0.2"/>
+    
+    <target name="build-distribution" phase="package" description="gather the submodules into one archive">
+        <mkdir dir="${target.dir}"/>
+        <tar destfile="${target.dir}/distribution.tar.gz" compression="gzip">
+            <tarfileset prefix="lib" dir="example-core/target/artifacts" includes="*.jar"/>
+            <tarfileset prefix="lib" dir="example-hello-world/target/artifacts" includes="*.jar"/>
+        </tar>
+    </target>
 
 </project>
 </code>

Modified: incubator/easyant/core/trunk/src/documentation/howto/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/howto/skeleton.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/howto/skeleton.html (original)
+++ incubator/easyant/core/trunk/src/documentation/howto/skeleton.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Working with skeletons of project</h1>
 <p>EasyAnt comes with a module named skeleton that allows you to create or install project skeletons. This could be pretty useful to quickstart a project.</p>
 <p>By default, this module works in interactive mode, which means that easyant will ask you questions for every required property. But you can still give parameters on the command line using -Dproperty.
@@ -61,19 +61,19 @@ Example if your skeleton module is impor
 <code type="screen">> easyant skeleton:create</code>
 <code type="screen">
 [input] Organisation name of the skeleton project
-	org.apache.easyant.skeletons
+    org.apache.easyant.skeletons
 [input] Module name of the skeleton project
-	std-java-skeleton
+    std-java-skeleton
 [input] Revision number of the skeleton project
-	0.1
+    0.1
 [input] The path where the skeleton project will be unzipped [.]
-	.
+    .
 [input] Organization name of YOUR project
 org.mycompany
 [input] Module name of YOUR project
 myProject
 [input] Revision number of YOUR project [0.1]
-	0.1
+    0.1
 </code>
 After a few seconds you get your future project ready.
 
@@ -115,17 +115,17 @@ Supposing we want to create a project ca
     This file will look like this
 <code type="xml">
 <ivy-module version="2.0"> 
-	<info organisation="@project.organization.name@" module="@project.module.name@" revision="@project.revision.number@" status="integration" >
-		<ea:build organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2"/>
-	</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
+    <info organisation="@project.organization.name@" module="@project.module.name@" revision="@project.revision.number@" status="integration" >
+        <ea:build organisation="org.apache.easyant.buildtypes" module="build-std-java" revision="0.2"/>
+    </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/>
+    </configurations>
+    <dependencies/>
 </ivy-module>
 </code>
 </li>

Modified: incubator/easyant/core/trunk/src/documentation/howto/writePlugins.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/howto/writePlugins.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/howto/writePlugins.html (original)
+++ incubator/easyant/core/trunk/src/documentation/howto/writePlugins.html Tue Feb 22 15:55:55 2011
@@ -17,12 +17,12 @@
 -->
 <html>
 <head>
-	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
-	<script type="text/javascript">var xookiConfig = {level: 1};</script>	
-	<script type="text/javascript" src="../xooki/xooki.js"></script>
+    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+    <script type="text/javascript">var xookiConfig = {level: 1};</script>   
+    <script type="text/javascript" src="../xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>How To write a plugin for easyant</h1>
 
 <p>A module in Easyant is a logical unit that provides additional pluggable functionality to your build set up. You may choose to use or ignore such a plugin when running the build. A module is composed, in the least, of a ant script associated with a ivy specs file.
@@ -63,20 +63,20 @@ We've a ready to use plugin structure.
 The skeleton has generated the plugin main script in src/main/resources/[MYPLUGIN].ant
 <code type="xml">
 <project name="org.mycompany;myplugin" 
-		xmlns:ivy="antlib:org.apache.ivy.ant" 
-     	xmlns:ea="antlib:org.apache.easyant">
-     	
-	<!-- Force compliance with easyant-core to 0.7 or higher -->
-	<!-- <ea:core-version requiredrevision="[0.7,+]" /> -->
-
-	<!-- Sample init target -->
-	<target name=":init" phase="validate">
-		<!-- you should remove this echo message -->
-		<echo level="debug">This is the init target of myplugin</echo>
-	</target>
-	
-	<!-- define a generic default target for this plugin -->
-	<target name="doit" depends="validate"/>
+        xmlns:ivy="antlib:org.apache.ivy.ant" 
+        xmlns:ea="antlib:org.apache.easyant">
+        
+    <!-- Force compliance with easyant-core to 0.7 or higher -->
+    <!-- <ea:core-version requiredrevision="[0.7,+]" /> -->
+
+    <!-- Sample init target -->
+    <target name=":init" phase="validate">
+        <!-- you should remove this echo message -->
+        <echo level="debug">This is the init target of myplugin</echo>
+    </target>
+    
+    <!-- define a generic default target for this plugin -->
+    <target name="doit" depends="validate"/>
 </project>
 </code>
 By convention, projectname of the plugin should be formed like 
@@ -101,8 +101,8 @@ Pre conditions can be performed by using
 Example :
 <code type="xml">
 <target name=":init" phase="validate">
-	<!-- Our plugin need at least the existance of "validate" phase" -->
-	<ea:parameter phase="validate" />
+    <!-- Our plugin need at least the existance of "validate" phase" -->
+    <ea:parameter phase="validate" />
         <ea:parameter property="username" required="false" description="the username used to display en 'hello Username' by calling :hello target"/>
 </target>
 </code>
@@ -115,11 +115,11 @@ Conventionally, a public target should a
 Example :
 <code type="xml">
 <target name=":helloworld" depends="validate" description="display an hello world">
-	<echo>hello world !</echo>
+    <echo>hello world !</echo>
 </target>
 
 <target name=":hello" depends="validate" depends="-check-username" description="display an hello to current user">
-	<echo mess="Hello ${username}"/>
+    <echo mess="Hello ${username}"/>
 </target>
 </code>
 
@@ -129,8 +129,8 @@ Example :
 <code type="xml">
 <!-- this target initialize username property if it's not already set -->
 <target name="-check-username" unless="username">
-	<echo>You can also add a "-Dusername=YOU" on the commandline to display a more personal hello message</echo>
-	<property name="username" value="${user.name}"/>
+    <echo>You can also add a "-Dusername=YOU" on the commandline to display a more personal hello message</echo>
+    <property name="username" value="${user.name}"/>
 </target>
 </code>
 
@@ -172,13 +172,13 @@ You can specify the repository name usin
 Considering that you published your plugin in a easyant repository, you could use it in your project.
 <code type="xml">
 <ivy-module version="2.0" xmlns:ea="http://www.easyant.org"> 
-	<info organisation="org.mycompany" module="myproject" 
-			status="integration" revision="0.1">
-		<ea:build module="build-std-java" revision="0.2">
-			<ea:plugin organisation="org.mycompany" module="myplugin" revision="0.1" as="myplugin"/>
-		</ea:build>	
-	</info>
-	<publications>
+    <info organisation="org.mycompany" module="myproject" 
+            status="integration" revision="0.1">
+        <ea:build module="build-std-java" revision="0.2">
+            <ea:plugin organisation="org.mycompany" module="myplugin" revision="0.1" as="myplugin"/>
+        </ea:build> 
+    </info>
+    <publications>
                 <artifact name="myplugin" type="ant"/>
         </publications>
 </ivy-module>
@@ -204,17 +204,17 @@ Before using it we must declare the new 
 Open the module.ivy at the root level of plugin structure.
 <code type="xml">
 <ivy-module version="2.0" xmlns:ea="http://www.easyant.org"> 
-	<info organisation="org.mycompany" module="myplugin" 
-			status="integration" revision="0.1">
+    <info organisation="org.mycompany" module="myplugin" 
+            status="integration" revision="0.1">
                 <!-- here we use build-std-ant-plugin build type that provide everything we need for plugin development -->
-		<ea:build module="build-std-ant-plugin" revision="0.1"/>
-	</info>
-	<configurations>
-		<conf name="default" visibility="public" description="runtime dependencies artifact can be used with this conf"/>
-		<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases."/>
-		<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
-	</configurations>
-	<publications>
+        <ea:build module="build-std-ant-plugin" revision="0.1"/>
+    </info>
+    <configurations>
+        <conf name="default" visibility="public" description="runtime dependencies artifact can be used with this conf"/>
+        <conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases."/>
+        <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
+    </configurations>
+    <publications>
                 <!--Defines the plugin main script -->
                 <artifact name="myplugin" type="ant"/>
                 <!--Defines a property file -->
@@ -267,24 +267,24 @@ Most of the time when we write plugins w
 First we need to declare the dependency in the plugin module.ivy.
 <code type="xml">
 <ivy-module version="2.0" xmlns:ea="http://www.easyant.org"> 
-	<info organisation="org.mycompany" module="myplugin" 
-			status="integration" revision="0.1">
-		<ea:build module="build-std-ant-plugin" revision="0.1"/>
-	</info>
-	<configurations>
-		<conf name="default" visibility="public" description="runtime dependencies artifact can be used with this conf"/>
-		<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases."/>
-		<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
-	</configurations>
-	<publications>
+    <info organisation="org.mycompany" module="myplugin" 
+            status="integration" revision="0.1">
+        <ea:build module="build-std-ant-plugin" revision="0.1"/>
+    </info>
+    <configurations>
+        <conf name="default" visibility="public" description="runtime dependencies artifact can be used with this conf"/>
+        <conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases."/>
+        <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
+    </configurations>
+    <publications>
                 <artifact name="myplugin" type="ant"/>
         </publications>
 
-	<dependencies>
-		<!-- your plugin dependencies goes here -->
-		<dependency org="foobar" name="amazingAntTask" rev="4.4" conf="default->default" />
-		<dependency org="foobar" name="myOtherAntTask" rev="4.4" conf="default->default" />
-	</dependencies>
+    <dependencies>
+        <!-- your plugin dependencies goes here -->
+        <dependency org="foobar" name="amazingAntTask" rev="4.4" conf="default->default" />
+        <dependency org="foobar" name="myOtherAntTask" rev="4.4" conf="default->default" />
+    </dependencies>
 </ivy-module>
 </code>
 Here we depend on amazingAntTask and myOtherAntTask provided by foobar organisation.
@@ -302,10 +302,10 @@ org.mycompany#myplugin.classpath
 Since this classpath is auto-created you can use it to reference your taskdef.
 <code type="xml">
 <target name=":init" phase="validate">
-	<ea:parameter phase="validate"/>
-	...
-	<taskdef resource="amazingAntTask.properties" classpathref="org.mycompany#myplugin.classpath" />
-	<taskdef resource="anotherAntTask.properties" classpathref="org.mycompany#myplugin.classpath" />
+    <ea:parameter phase="validate"/>
+    ...
+    <taskdef resource="amazingAntTask.properties" classpathref="org.mycompany#myplugin.classpath" />
+    <taskdef resource="anotherAntTask.properties" classpathref="org.mycompany#myplugin.classpath" />
 </target>
 </code>
 
@@ -322,22 +322,22 @@ A task may depend on: 
 </ul>
 <code type="xml">
 <project name="org.mycompany;myplugin" 
-		xmlns:ivy="antlib:org.apache.ivy.ant" 
-     	xmlns:ea="antlib:org.apache.easyant">
-     	
-	<!-- Force compliance with easyant-core to 0.7 or higher -->
+        xmlns:ivy="antlib:org.apache.ivy.ant" 
+        xmlns:ea="antlib:org.apache.easyant">
+        
+    <!-- Force compliance with easyant-core to 0.7 or higher -->
         <ea:core-version requiredrevision="[0.7,+]" />
 
-	<!-- Sample init target -->
-	<target name=":init" phase="validate">
-		<!-- you should  remove this echo message -->
-		<echo level="debug">This is the init target of myplugin</echo>
-	</target>
+    <!-- Sample init target -->
+    <target name=":init" phase="validate">
+        <!-- you should  remove this echo message -->
+        <echo level="debug">This is the init target of myplugin</echo>
+    </target>
 
-	...
+    ...
 
-	<!-- define a generic default target for this plugin -->
-	<target name="doit" depends="validate"/>
+    <!-- define a generic default target for this plugin -->
+    <target name="doit" depends="validate"/>
 </project>
 </code>
 
@@ -347,30 +347,30 @@ By default the skeleton has generated a 
 So in our case let's open "src/test/antunit/myplugin-test.xml"
 <code type="xml">
 <project name="org.mycompany;myplugin-test" xmlns:au="antlib:org.apache.ant.antunit">
-	
-	<!-- Mocking required phase --> 
-	<phase name="validate"/>
-		
-	<!-- Import your plugin -->	
-	<import file="../../main/resources/myplugin.ant"/>
-	
-	<!-- Defines a setUp / tearDown (before each test) that cleans the environment --> 
-	<target name="clean" description="remove stale build artifacts before / after each test">
-		<delete dir="${basedir}" includeemptydirs="true">
-			<include name="**/target/**"/>
-			<include name="**/lib/**"/>
-		</delete>
-	</target>
-	
-	<target name="setUp" depends="clean"/>
-	<target name="tearDown" depends="clean"/>
-	
-	<!-- init test case --> 		
-	<target name="testInit">
-		<antcall target=":init"/>
-		<au:assertLogContains level="debug" text="This is the init target of myplugin"/>
-	</target>
-	
+    
+    <!-- Mocking required phase --> 
+    <phase name="validate"/>
+        
+    <!-- Import your plugin --> 
+    <import file="../../main/resources/myplugin.ant"/>
+    
+    <!-- Defines a setUp / tearDown (before each test) that cleans the environment --> 
+    <target name="clean" description="remove stale build artifacts before / after each test">
+        <delete dir="${basedir}" includeemptydirs="true">
+            <include name="**/target/**"/>
+            <include name="**/lib/**"/>
+        </delete>
+    </target>
+    
+    <target name="setUp" depends="clean"/>
+    <target name="tearDown" depends="clean"/>
+    
+    <!-- init test case -->         
+    <target name="testInit">
+        <antcall target=":init"/>
+        <au:assertLogContains level="debug" text="This is the init target of myplugin"/>
+    </target>
+    
 </project>   
 </code>
 Considering that our plugin relies on an externally defined phase (validate in our example) we must mock it in our test.
@@ -386,8 +386,8 @@ All targets prefixed by "test" will be e
 Now we will write a test case for our ":helloworld" target.
 <code type="xml">
 <target name="testHelloWorld">
-	<antcall target=":helloworld"/>
-	<au:assertLogContains text="hello world !"/>
+    <antcall target=":helloworld"/>
+    <au:assertLogContains text="hello world !"/>
 </target>
 </code>
 

Modified: incubator/easyant/core/trunk/src/documentation/index.html
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/documentation/index.html?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/documentation/index.html (original)
+++ incubator/easyant/core/trunk/src/documentation/index.html Tue Feb 22 15:55:55 2011
@@ -17,11 +17,11 @@
 -->
 <html>
 <head>
-	<script type="text/javascript">var xookiConfig = {level: 0};</script>	
-	<script type="text/javascript" src="xooki/xooki.js"></script>
+    <script type="text/javascript">var xookiConfig = {level: 0};</script>   
+    <script type="text/javascript" src="xooki/xooki.js"></script>
 </head>
 <body>
-	<textarea id="xooki-source">
+    <textarea id="xooki-source">
 <h1>Documentation</h1>
 Welcome to the official EasyAnt documentation.
 



Mime
View raw message