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 [29/42] - in /incubator/easyant: buildtypes/ buildtypes/trunk/ buildtypes/trunk/build-osgi-bundle-java/ buildtypes/trunk/build-osgi-bundle-java/src/ buildtypes/trunk/build-osgi-bundle-java/src/main/ buildtypes/trunk/build-osgi-bund...

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2009 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="build-tools"
+	       status="milestone"
+	       revision="0.2">
+	       <description>This module is a build tools for multi-module projects.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,68 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#checkstyle" xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<dirname file="${ant.file.org.apache.easyant.plugins#checkstyle}" property="ant.dir.org.apache.easyant.plugins#checkstyle" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="verify"/>
+		<ea:parameter phase="report" />
+
+		<ea:parameter property="checkstyle.xsl.file" default="${ant.dir.org.apache.easyant.plugins#checkstyle}/checkstyle.xsl" description="checkstyle xsl, used to transform XML -> HTML" />
+		<ea:parameter property="checkstyle.config.file" default="${ant.dir.org.apache.easyant.plugins#checkstyle}/checkstyle.xml" description="checkstyle rules file" />
+		<ea:parameter property="target.checkstyle.report" default="${target.report}/checkstyle" description="directory where checkstyle report will be generated" />
+		<ea:parameter property="checkstyle.report.name" default="checkstyle_report" description="the name of the generated report (without file type)" />
+
+		<available property="checkstyle.available" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="org.apache.easyant.plugins#checkstyle.classpath" />
+
+		<fail unless="checkstyle.available" message="Checkstyle is unavailable!" />
+		<condition property="xslt.available">
+			<available classname="org.apache.tools.ant.taskdefs.optional.TraXLiaison" />
+		</condition>
+		<fail message="Ant xslt was not found. Please install ant-nodeps in your ANT_HOME" unless="xslt.available" />
+
+		<taskdef resource="checkstyletask.properties" classpathref="org.apache.easyant.plugins#checkstyle.classpath" />
+
+
+		<available file="${src.main.java}" property="has.src.main.java" />
+	</target>
+			
+	<target name=":checkstyle" unless="skip.checkstyle" phase="report" depends="validate" description="generate checkstyle report">
+		<mkdir dir="${target.checkstyle.report}"/>
+
+		<checkstyle config="${checkstyle.config.file}" failureProperty="checkstyle.failure" failOnViolation="false">
+			<fileset dir="${src.main.java}" includes="**/*.java" />
+			<formatter type="xml" toFile="${target.checkstyle.report}/${checkstyle.report.name}.xml" />
+		</checkstyle>
+	</target>
+
+	<target name=":report-html" phase="report" depends=":checkstyle" unless="checkstyle.failure">
+		<xslt in="${target.checkstyle.report}/${checkstyle.report.name}.xml" out="${target.checkstyle.report}/${checkstyle.report.name}.html" style="${checkstyle.xsl.file}" />
+	</target>
+		
+	<target name="-check" depends=":checkstyle" unless="skip.checkstyle" phase="verify">
+		<fail if="checkstyle.failure" message="There is checkstyle violation(s), please check your ${target.checkstyle.report}/${checkstyle.report.name}.html" />
+	</target>
+
+
+	<target name="doit" depends=":checkstyle" />
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,41 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="checkstyle"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module is used to check code quality.<br/>
+By default this module generates XML report, but you can use a specific target (:report-html) to generate HTML report.<br/>
+This module can breaks the build-process, if code is not conform to a Checkstyle rules.<br/>
+You can easily change checkstyles rules by changing checkstyle.config.file property.<br/>
+Checkstyles target can be skipped using skip.checkstyle property</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+		<artifact type="xml" />
+		<artifact type="xsl" />
+	</publications>
+	<dependencies>
+		<dependency org="checkstyle" name="checkstyle" rev="4.4"/>
+		<dependency org="antlr" name="antlr" rev="2.7.6"/>
+		<dependency org="commons-beanutils" name="commons-beanutils-core" rev="1.7.0" />
+		<dependency org="commons-logging" name="commons-logging" rev="1.0.3" />
+	</dependencies>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xml?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xml (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xml Thu Feb 17 17:01:07 2011
@@ -0,0 +1,196 @@
+<?xml version="1.0"?>
+<!DOCTYPE module PUBLIC
+    "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+    "http://www.puppycrawl.com/dtds/configuration_1_2.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.
+-->
+
+<!--
+
+  Checkstyle configuration that checks the sun coding conventions from:
+
+    - the Java Language Specification at
+      http://java.sun.com/docs/books/jls/second_edition/html/index.html
+
+    - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
+
+    - the Javadoc guidelines at
+      http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
+
+    - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
+
+    - some best practices
+
+  Checkstyle is very configurable. Be sure to read the documentation at
+  http://checkstyle.sf.net (or in your downloaded distribution).
+
+  Most Checks are configurable, be sure to consult the documentation.
+
+  To completely disable a check, just comment it out or delete it from the file.
+
+  Finally, it is worth reading the documentation.
+
+-->
+
+<module name="Checker">
+	<property name="severity" value="warning"/>
+
+    <!-- Checks that a package.html file exists for each package.     -->
+    <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
+    <module name="PackageHtml"/>
+
+    <!-- Checks whether files end with a new line.                        -->
+    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
+    <module name="NewlineAtEndOfFile"/>
+
+    <!-- Checks that property files contain the same keys.         -->
+    <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
+    <module name="Translation"/>
+
+
+    <module name="TreeWalker">
+
+        <!-- Checks for Javadoc comments.                     -->
+        <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+        <module name="JavadocMethod">
+            <property name="logLoadErrors" value="true"/>
+            <property name="suppressLoadErrors" value="true"/>
+        </module>
+        <module name="JavadocType"/>
+        <module name="JavadocVariable"/>
+        <module name="JavadocStyle"/>
+
+
+        <!-- Checks for Naming Conventions.                  -->
+        <!-- See http://checkstyle.sf.net/config_naming.html -->
+        <module name="ConstantName"/>
+        <module name="LocalFinalVariableName"/>
+        <module name="LocalVariableName"/>
+        <module name="MemberName"/>
+        <module name="MethodName"/>
+        <module name="PackageName"/>
+        <module name="ParameterName"/>
+        <module name="StaticVariableName"/>
+        <module name="TypeName"/>
+
+
+        <!-- Checks for Headers                                -->
+        <!-- See http://checkstyle.sf.net/config_header.html   -->
+        <!-- <module name="Header">                            -->
+            <!-- The follow property value demonstrates the ability     -->
+            <!-- to have access to ANT properties. In this case it uses -->
+            <!-- the ${basedir} property to allow Checkstyle to be run  -->
+            <!-- from any directory within a project. See property      -->
+            <!-- expansion,                                             -->
+            <!-- http://checkstyle.sf.net/config.html#properties        -->
+            <!-- <property                                              -->
+            <!--     name="headerFile"                                  -->
+            <!--     value="${basedir}/java.header"/>                   -->
+        <!-- </module> -->
+
+        <!-- Following interprets the header file as regular expressions. -->
+        <!-- <module name="RegexpHeader"/>                                -->
+
+
+        <!-- Checks for imports                              -->
+        <!-- See http://checkstyle.sf.net/config_import.html -->
+        <module name="AvoidStarImport"/>
+        <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
+        <module name="RedundantImport"/>
+        <module name="UnusedImports"/>
+
+
+        <!-- Checks for Size Violations.                    -->
+        <!-- See http://checkstyle.sf.net/config_sizes.html -->
+        <module name="FileLength"/>
+        <module name="LineLength"/>
+        <module name="MethodLength"/>
+        <module name="ParameterNumber"/>
+
+
+        <!-- Checks for whitespace                               -->
+        <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+        <module name="EmptyForIteratorPad"/>
+        <module name="MethodParamPad"/>
+        <module name="NoWhitespaceAfter"/>
+        <module name="NoWhitespaceBefore"/>
+        <module name="OperatorWrap"/>
+        <module name="ParenPad"/>
+        <module name="TypecastParenPad"/>
+        <module name="TabCharacter"/>
+        <module name="WhitespaceAfter"/>
+        <module name="WhitespaceAround"/>
+
+
+        <!-- Modifier Checks                                    -->
+        <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+        <module name="ModifierOrder"/>
+        <module name="RedundantModifier"/>
+
+
+        <!-- Checks for blocks. You know, those {}'s         -->
+        <!-- See http://checkstyle.sf.net/config_blocks.html -->
+        <module name="AvoidNestedBlocks"/>
+        <module name="EmptyBlock"/>
+        <module name="LeftCurly"/>
+        <module name="NeedBraces"/>
+        <module name="RightCurly"/>
+
+
+        <!-- Checks for common coding problems               -->
+        <!-- See http://checkstyle.sf.net/config_coding.html -->
+        <module name="AvoidInlineConditionals"/>
+        <module name="DoubleCheckedLocking"/>    <!-- MY FAVOURITE -->
+        <module name="EmptyStatement"/>
+        <module name="EqualsHashCode"/>
+        <module name="HiddenField"/>
+        <module name="IllegalInstantiation"/>
+        <module name="InnerAssignment"/>
+        <module name="MagicNumber"/>
+        <module name="MissingSwitchDefault"/>
+        <module name="RedundantThrows">
+            <property name="logLoadErrors" value="true"/>
+            <property name="suppressLoadErrors" value="true"/>
+        </module>
+        <module name="SimplifyBooleanExpression"/>
+        <module name="SimplifyBooleanReturn"/>
+
+        <!-- Checks for class design                         -->
+        <!-- See http://checkstyle.sf.net/config_design.html -->
+        <module name="DesignForExtension"/>
+        <module name="FinalClass"/>
+        <module name="HideUtilityClassConstructor"/>
+        <module name="InterfaceIsType"/>
+        <module name="VisibilityModifier"/>
+
+
+        <!-- Miscellaneous other checks.                   -->
+        <!-- See http://checkstyle.sf.net/config_misc.html -->
+        <module name="ArrayTypeStyle"/>
+        <module name="FinalParameters"/>
+        <module name="GenericIllegalRegexp">
+            <property name="format" value="\s+$"/>
+            <property name="message" value="Line has trailing spaces."/>
+        </module>
+        <module name="TodoComment"/>
+        <module name="UpperEll"/>
+
+    </module>
+
+</module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xsl
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xsl?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xsl (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xsl Thu Feb 17 17:01:07 2011
@@ -0,0 +1,219 @@
+<?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.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	version="1.0">
+	<xsl:output method="html" indent="yes" />
+	<xsl:decimal-format decimal-separator="."
+		grouping-separator="," />
+
+	<!--
+		Checkstyle XML Style Sheet by Stephane Bailliez <sb...@apache.org>
+	-->
+	<!--
+		Part of the Checkstyle distribution found at
+		http://checkstyle.sourceforge.net
+	-->
+	<!--
+		Usage (generates checkstyle_report.html):
+	-->
+	<!--
+		<checkstyle failonviolation="false" config="${check.config}">
+	-->
+	<!--
+		<fileset dir="${src.dir}" includes="**/*.java"/>
+	-->
+	<!--
+		<formatter type="xml" toFile="${doc.dir}/checkstyle_report.xml"/>
+	-->
+	<!--
+		</checkstyle>
+	-->
+	<!--
+		<style basedir="${doc.dir}" destdir="${doc.dir}"
+	-->
+	<!--
+		includes="checkstyle_report.xml"
+	-->
+	<!--
+		style="${doc.dir}/checkstyle-noframes-sorted.xsl"/>
+	-->
+
+	<xsl:template match="checkstyle">
+		<html>
+			<head>
+				<style type="text/css">
+					.bannercell {
+					border: 0px;
+					padding: 0px;
+					}
+					body {
+					margin-left: 10;
+					margin-right: 10;
+					font:normal 80% arial,helvetica,sanserif;
+ 	      background-color:#FFFFFF;
+ 	      color:#000000;
+ 	    }
+ 	    .a td {
+ 	      background: #efefef;
+ 	    }
+ 	    .b td {
+ 	      background: #fff;
+ 	    }
+ 	    th, td {
+ 	      text-align: left;
+ 	      vertical-align: top;
+ 	    }
+ 	    th {
+ 	      font-weight:bold;
+ 	      background: #ccc;
+ 	      color: black;
+ 	    }
+ 	    table, th, td {
+ 	      font-size:100%;
+ 	      border: none
+ 	    }
+ 	    table.log tr td, tr th {
+ 	     
+ 	    }
+ 	    h2 {
+ 	      font-weight:bold;
+ 	      font-size:140%;
+ 	      margin-bottom: 5;
+	    }
+ 	    h3 {
+ 	      font-size:100%;
+ 	      font-weight:bold;
+ 	      background: #525D76;
+ 	      color: white;
+ 	      text-decoration: none;
+ 	      padding: 5px;
+ 	      margin-right: 2px;
+ 	      margin-left: 2px;
+ 	      margin-bottom: 0;
+ 	    }
+ 	                </style>
+ 	                </head>
+ 	                <body>
+ 	                        <a name="top"></a>
+ 	      <!-- jakarta logo -->
+ 	      <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ 	      <tr>
+ 	        <td class="bannercell" rowspan="2">
+ 	          <!--a href="http://jakarta.apache.org/">
+ 	          <img src="http://jakarta.apache.org/images/jakarta-logo.gif" alt="http://jakarta.apache.org" align="left" border="0"/>
+ 	          </a-->
+ 	        </td>
+ 	                <td class="text-align:right"><h2>CheckStyle Audit</h2></td>
+ 	                </tr>
+ 	                <tr>
+ 	                <td class="text-align:right">Designed for use with <a href='http://checkstyle.sourceforge.net/'>CheckStyle</a> and <a href='http://jakarta.apache.org'>Ant</a>.</td>
+ 	                </tr>
+ 	      </table>
+ 	        <hr size="1"/>
+ 	                       
+ 	                        <!-- Summary part -->
+	                        <xsl:apply-templates select="." mode="summary"/>
+ 	                        <hr size="1" width="100%" align="left"/>
+ 	                       
+ 	                        <!-- Package List part -->
+ 	                        <xsl:apply-templates select="." mode="filelist"/>
+ 	                        <hr size="1" width="100%" align="left"/>
+ 	                       
+ 	                        <!-- For each package create its part -->
+ 	                        <xsl:for-each select="file">
+ 	                          <xsl:sort select="@name"/>
+ 	                          <xsl:apply-templates select="."/>
+ 	                          <p/>
+ 	                          <p/>
+ 	                        </xsl:for-each>
+ 	                        <hr size="1" width="100%" align="left"/>
+ 	                       
+ 	                       
+ 	                </body>
+ 	        </html>
+ 	</xsl:template>
+ 	       
+ 	       
+ 	       
+ 	        <xsl:template match="checkstyle" mode="filelist">       
+ 	                <h3>Files</h3>
+ 	                <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
+ 	      <tr>
+ 	        <th>Name</th>
+ 	        <th>Errors</th>
+ 	      </tr>
+ 	                        <xsl:for-each select="file">
+ 	                                <xsl:sort data-type="number" order="descending" select="count(error)"/>
+ 	                                <xsl:variable name="errorCount" select="count(error)"/>                         
+ 	                                <tr>
+          <xsl:call-template name="alternated-row"/>
+ 	                                        <td><a href="#f-{@name}"><xsl:value-of select="@name"/></a></td>
+ 	                                        <td><xsl:value-of select="$errorCount"/></td>
+ 	                                </tr>
+ 	                        </xsl:for-each>
+ 	                </table>               
+ 	        </xsl:template>
+ 	       
+ 	       
+ 	        <xsl:template match="file">
+ 	    <a name="f-{@name}"></a>
+ 	    <h3>File <xsl:value-of select="@name"/></h3>
+ 	   
+ 	    <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
+ 	        <tr>
+ 	          <th>Error Description</th>
+ 	          <th>Line</th>
+ 	      </tr>
+ 	      <xsl:for-each select="error">
+ 	        <tr>
+ 	        <xsl:call-template name="alternated-row"/>
+ 	          <td><xsl:value-of select="@message"/></td>
+ 	          <td><xsl:value-of select="@line"/></td>
+ 	        </tr>
+ 	        </xsl:for-each>
+ 	    </table>
+	    <a href="#top">Back to top</a>
+ 	        </xsl:template>
+ 	       
+ 	       
+	        <xsl:template match="checkstyle" mode="summary">
+ 	                <h3>Summary</h3>
+ 	                <xsl:variable name="fileCount" select="count(file)"/>
+ 	                <xsl:variable name="errorCount" select="count(file/error)"/>
+ 	                <table class="log" border="0" cellpadding="5" cellspacing="2" width="100%">
+ 	                <tr>
+ 	                        <th>Files</th>
+ 	                        <th>Errors</th>
+ 	                </tr>
+ 	                <tr>
+ 	                  <xsl:call-template name="alternated-row"/>
+ 	                        <td><xsl:value-of select="$fileCount"/></td>
+ 	                        <td><xsl:value-of select="$errorCount"/></td>
+ 	                </tr>
+ 	                </table>
+ 	        </xsl:template>
+ 	       
+	  <xsl:template name="alternated-row">
+ 	    <xsl:attribute name="class">
+ 	      <xsl:if test="position() mod 2 = 1">a</xsl:if>
+ 	      <xsl:if test="position() mod 2 = 0">b</xsl:if>
+ 	    </xsl:attribute> 
+ 	  </xsl:template>       
+ 	</xsl:stylesheet>
\ No newline at end of file

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ant 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.
+-->
+<project name="org.apache.easyant.plugins#clean-std"
+	xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate"/>
+		<ea:parameter property="target" required="true"
+	                  description="the target directory to clean" />
+	</target>
+	
+	<target name=":clean" phase="clean" depends=":init" description="clean project">
+		<delete dir="${target}"/>
+	</target>
+	
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="clean-std"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides project cleaning feature.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,89 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#compile-groovy" xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="compile" />
+
+		<ea:parameter property="src.main.groovy" required="true" description="directory where sources to be compiled are" />
+		<ea:parameter property="target.main.classes" required="true" description="destination directory for compiled test classes" />
+
+		<ea:parameter property="compile.groovy.includes.pattern" default="**/*.groovy" description="Pattern describing files included in compilation process" />
+		<ea:parameter property="compile.groovy.excludes.pattern" default="" description="Pattern describing files excluded in compilation process" />
+
+		<available file="${src.main.groovy}" property="has.src.main.groovy" />
+
+		<ea:path pathid="compile.main.classpath" overwrite="false" />
+		
+	</target>
+	
+	<target name="-configure" phase="provision">
+		<ea:findclasspath pathid="resolved.groovy.classpath" organisation="org.codehaus.groovy" module="groovy-all" revision="1.6.0">
+			<ea:project-dependency-strategy />
+			<ea:environment-strategy env="GROOVY_HOME"/>
+			<ea:basic-configuration-strategy />
+		</ea:findclasspath>
+
+		<taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpathref="resolved.groovy.classpath" />
+
+	</target>
+
+	<target name=":compile" depends="validate" if="has.src.main.groovy" phase="compile">
+		<mkdir dir="${target.main.classes}" />
+		<!--
+		<groovyc> Attributes
+		Attribute 	Description 	Required
+		srcdir 	Location of the Groovy (and possibly Java) source files. 	Yes
+		destdir 	Location to store the class files. 	Yes
+		classpath 	The classpath to use. 	No
+		classpathref 	The classpath to use given as a path references. 	No
+		sourcepath 	The sourcepath to use. 	No
+		sourcepathref 	The sourcepath to use given as a path reference. 	No
+		encoding 	Encoding of source files. 	No
+		verbose 	Asks the compiler for verbose output; defaults to no. 	No
+		includeAntRuntime 	Whether to include the Ant run-time libraries in the classpath; defaults to yes. 	No
+		includeJavaRuntime 	Whether to include the default run-time libraries from the executing VM in the classpath; defaults to no. 	No
+		fork 	Whether to execute groovyc using a spawned instance of the JVM; defaults to no. 	No
+		memoryInitialSize 	The initial size of the memory for the underlying VM, if using fork mode; ignored otherwise. Defaults to the standard VM memory setting. (Examples: 83886080, 81920k, or 80m) 	No
+		memoryMaximumSize 	The maximum size of the memory for the underlying VM, if using fork mode; ignored otherwise. Defaults to the standard VM memory setting. (Examples: 83886080, 81920k, or 80m) 	No
+		failonerror 	Indicates whether compilation errors will fail the build; defaults to true. 	No
+		listfiles 	Indicates whether the source files to be compiled will be listed; defaults to no. 	No
+		stacktrace 	if true each compile error message will contain a stacktrace 	No
+		jointCompilationOptions 	Enable joint compilation, specifying the command line options. (Using a nested javac task is preferred.) 	No
+
+		Notes: Joint compilation is only available since 1.1-beta-2
+		<groovyc> Nested Elements
+		element 	kind 	Required 	Replaces Attribute
+		src 	a path structure 	Yes (unless srcdir is used) 	srcdir
+		classpath 	a path structure 	No 	classpath
+		javac 	javac task 	No 	jointCompilationOptions
+		-->
+		<groovyc srcdir="${src.main.groovy}" destdir="${target.main.classes}" 
+			classpathref="compile.main.classpath" 
+			includeantruntime="no" 
+			includes="${compile.groovy.includes.pattern}" 
+			excludes="${compile.groovy.excludes.pattern}" />
+	</target>
+
+
+	<target name="doit" depends=":init" />
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="compile-groovy"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides groovy compilation feature.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,68 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#compile-java"
+	xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="compile" />
+		
+		<ea:parameter property="src.main.java" required="true"
+			description="directory where sources to be compiled are" />
+		<ea:parameter property="target.main.classes" required="true" 
+			description="destination directory for compiled test classes" />
+		<ea:parameter property="javac.debug.mode" default="true" 
+			description="javac debug mode, true or false" />
+		
+		<ea:parameter property="compile.java.includes.pattern" default="**/*.java" 
+			description="Pattern describing files included in compilation process" />
+		<ea:parameter property="compile.java.excludes.pattern" default="" 
+			description="Pattern describing files excluded in compilation process" />
+		
+		<ea:parameter property="compile.java.target.version" default="${ant.java.version}" 
+			description="Specify a VM version for Generated class files (e.g., 1.1 or 1.2)." />
+		<ea:parameter property="compile.java.source.version" default="${ant.java.version}" 
+			description="Specify a value of the -source command-line switch; will be ignored by all implementations prior to javac1.4 (or modern when Ant is not running in a 1.3 VM) and jikes" />
+		<ea:parameter property="compile.java.include.antruntime" default="false" 
+					description="Whether to include the Ant run-time libraries in the classpath. It is usually best to set this to false so the script's behavior is not sensitive to the environment in which it is run." />
+		
+		<available file="${src.main.java}" property="has.src.main.java" />
+
+		<ea:path pathid="compile.main.classpath" overwrite="false" />
+	</target>	
+	
+	<target name=":compile" depends="validate" if="has.src.main.java"
+		phase="compile">
+		<mkdir dir="${target.main.classes}" />
+        <javac  srcdir="${src.main.java}"
+                destdir="${target.main.classes}"
+                debug="${javac.debug.mode}"
+        		source="${compile.java.source.version}"
+				target="${compile.java.target.version}"
+        		classpathref="compile.main.classpath"
+				includeantruntime="${compile.java.include.antruntime}"
+        		includes="${compile.java.includes.pattern}"
+        		excludes="${compile.java.excludes.pattern}">
+        </javac>	
+	</target>	
+	
+	<target name="doit" depends=":compile" />
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="compile-java"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides java compilation feature.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,77 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#compile-scala"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="compile" />
+		<property environment="env"/>
+		<ea:parameter property="src.main.scala" required="true"
+			description="directory where sources to be compiled are" />
+		<ea:parameter property="target.main.classes" required="true" 
+			description="destination directory for compiled test classes" />
+		<ea:parameter property="scalac.debug.mode" default="true" 
+			description="scalac debug mode, true or false" />
+		<ea:parameter property="scala.home" default="${env.SCALA_HOME}"
+			description="scala home directory"/>
+		<ea:parameter property="compile.scala.includes.pattern" default="**/*.scala"
+					description="Pattern describing files included in compilation process"/>
+		<ea:parameter property="compile.scala.excludes.pattern" default=""
+							description="Pattern describing files excluded in compilation process"/>
+		
+		<available file="${src.main.scala}" property="has.src.main.scala" />
+
+		<ea:path pathid="compile.main.classpath" overwrite="false" />
+	</target>
+	
+	<target name="-configure" phase="provision">
+		<ea:findclasspath pathid="resolved.scala.classpath" organisation="org.scala-lang" module="scala-compiler" revision="2.7.7">
+			<ea:project-dependency-strategy />
+			<ea:environment-strategy env="SCALA_HOME"/>
+			<ea:basic-configuration-strategy />
+		</ea:findclasspath>
+		<taskdef resource="scala/tools/ant/antlib.xml" classpathref="resolved.scala.classpath"/>
+
+        <!-- when you specify classpath parameter to <scalac /> task it overrides class path 
+        defined inside <taskdef /> rather then adds to it. So just add scala jars to your own class path.
+        	source http://www.softwaresecretweapons.com/jspwiki/scalatoolsnscfatalerror-object-scala-not-found -->
+        <ea:path pathid="compile.main.classpath" overwrite="prepend">
+            <path refid="resolved.scala.classpath"/>
+        </ea:path>
+	</target>
+	
+	<target name=":compile" depends="validate" if="has.src.main.scala"
+		phase="compile">
+		
+		<mkdir dir="${target.main.classes}" />
+        <scalac  srcdir="${src.main.scala}"
+                destdir="${target.main.classes}"
+                scalacdebugging="${scalac.debug.mode}" 
+        	    classpathref="compile.main.classpath"
+        	    includes="${compile.scala.includes.pattern}"
+        	    excludes="${compile.scala.excludes.pattern}">
+		
+        </scalac>	
+	</target>	
+	
+	<target name="doit" depends=":compile" />
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="compile-scala"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides scala compilation feature.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,58 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#compile-test-groovy"
+	xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<ea:include mrid="org.apache.easyant.plugins#abstract-test;0.1" as=":abstract-test"/>
+
+	<macrodef name="compile-groovy-tests">
+		<attribute name="prefix"/>
+		<sequential>
+			<mkdir dir="${target.@{test}.classes}" />
+	        <groovyc  srcdir="${src.@{test}.java}"
+                destdir="${target.@{test}.classes}"
+                classpathref="compile.test.classpath"
+        		includes="${@{test}.compile.includes.pattern}"
+        	    excludes="${@{test}.compile.excludes.pattern}"/>
+		</sequential>
+	</macrodef>
+	
+	<target name="-configure" phase="provision">
+		<ea:findclasspath pathid="resolved.groovy.classpath" organisation="org.codehaus.groovy" module="groovy-all" revision="1.6.0">
+			<ea:project-dependency-strategy />
+			<ea:environment-strategy env="GROOVY_HOME"/>
+			<ea:basic-configuration-strategy />
+		</ea:findclasspath>
+
+		<taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpathref="resolved.groovy.classpath" />
+	</target>
+	
+	<target name=":compile" depends="validate, compile, test-process-resources" if="has.src.test.java"
+		phase="test-compile">
+		<compile-groovy-tests prefix="test"/>
+	</target>
+
+	<target name=":compile-integration" depends="validate, compile, test-process-resources" if="has.src.test.integration.java"
+		phase="test-compile">
+		<compile-groovy-tests prefix="test.integration"/>
+	</target>
+
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-groovy/0.1/compile-test-groovy.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,30 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="compile-test-groovy"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides groovy compilation feature for tests.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+	
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,66 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#compile-test-java"
+	xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<ea:include mrid="org.apache.easyant.plugins#abstract-test;0.1" as=":abstract-compile-test-java"/>
+	
+	<macrodef name="compile-java-tests">
+		<attribute name="prefix"/>
+		<sequential>
+			<mkdir dir="${target.@{prefix}.classes}" />
+	        <javac  srcdir="${src.@{prefix}.java}"
+	                destdir="${target.@{prefix}.classes}"
+	                classpathref="compile.test.classpath"
+	                debug="${javac.debug.mode}"
+	    			source="${@{prefix}.compile.java.source.version}"
+					target="${@{prefix}.compile.java.target.version}"
+	        		includes="${@{prefix}.compile.includes.pattern}"
+	        		excludes="${@{prefix}.compile.excludes.pattern}"
+	                includeantruntime="no">
+	        </javac>	
+		</sequential>
+	</macrodef>
+
+	<target name=":compile" depends="validate, compile, test-process-resources" if="has.src.test.java"
+		phase="test-compile">
+		
+		<ea:parameter property="test.compile.java.target.version" default="${ant.java.version}" 
+			description="Specify a VM version for Generated class files (e.g., 1.1 or 1.2)." />
+		<ea:parameter property="test.compile.java.source.version" default="${ant.java.version}" 
+			description="Specify a value of the -source command-line switch; will be ignored by all implementations prior to javac1.4 (or modern when Ant is not running in a 1.3 VM) and jikes" />
+		<compile-java-tests prefix="test"/>
+	</target>
+
+	<target name=":compile-integration" depends="validate, compile, test-process-resources" if="has.src.test.integration.java"
+		phase="test-compile">
+		
+		<ea:parameter property="test.integration.compile.java.target.version" default="${ant.java.version}" 
+			description="Specify a VM version for Generated class files (e.g., 1.1 or 1.2)." />
+		<ea:parameter property="test.integration.compile.java.source.version" default="${ant.java.version}" 
+			description="Specify a value of the -source command-line switch; will be ignored by all implementations prior to javac1.4 (or modern when Ant is not running in a 1.3 VM) and jikes" />
+		
+		<compile-java-tests prefix="test.integration"/>	
+	</target>
+
+	
+
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-java/0.1/compile-test-java.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="compile-test-java"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides java compilation feature for tests.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,67 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#compile-test-scala"
+	xmlns:ea="antlib:org.apache.easyant">
+
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<ea:include mrid="org.apache.easyant.plugins#abstract-test;0.1" as=":abstract-test"/>
+	
+	<target name="-configure" phase="provision">
+		<ea:findclasspath pathid="resolved.scala.classpath" organisation="org.scala-lang" module="scala-compiler" revision="2.7.7">
+			<ea:project-dependency-strategy />
+			<ea:environment-strategy env="SCALA_HOME"/>
+			<ea:basic-configuration-strategy />
+		</ea:findclasspath>
+		<taskdef resource="scala/tools/ant/antlib.xml" classpathref="resolved.scala.classpath"/>
+        <!-- when you specify classpath parameter to <scalac /> task it overrides class path 
+        defined inside <taskdef /> rather then adds to it. So just add scala jars to your own class path.
+        	source http://www.softwaresecretweapons.com/jspwiki/scalatoolsnscfatalerror-object-scala-not-found -->
+        <ea:path pathid="compile.test.classpath" overwrite="prepend">
+            <path refid="resolved.scala.classpath"/>
+        </ea:path>
+
+	</target>
+	
+	<macrodef name="compile-scala-tests">
+		<attribute name="prefix"/>
+		<sequential>
+			<mkdir dir="${target.@{prefix}.classes}" />
+	        <scalac  srcdir="${src.@{prefix}.java}"
+	                destdir="${target.@{prefix}.classes}"
+	                classpathref="compile.test.classpath"
+	        		includes="${@{prefix}.compile.includes.pattern}"
+	        	    excludes="${@{prefix}.compile.excludes.pattern}"
+	        		scalacdebugging="${javac.debug.mode}">
+	        </scalac>
+		</sequential>
+	</macrodef>
+	
+	<target name=":compile" depends="validate, compile, test-process-resources" if="has.src.test.java"
+		phase="test-compile">
+			<compile-scala-tests prefix="test"/>
+	</target>
+	
+	<target name=":compile-integration" depends="validate, compile, test-process-resources" if="has.src.test.integration.java"
+		phase="test-compile">
+		<compile-scala-tests prefix="test.integration"/>
+	</target>
+
+
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-test-scala/0.1/compile-test-scala.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="compile-test-scala"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides scala compilation feature for tests.</description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ant?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ant (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ant Thu Feb 17 17:01:07 2011
@@ -0,0 +1,100 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+-->
+<project name="org.apache.easyant.plugins#default-version-strategy"
+	xmlns:ivy="antlib:org.apache.ivy.ant"
+	xmlns:ac="antlib:net.sf.antcontrib"
+	xmlns:ea="antlib:org.apache.easyant">
+	
+	<ea:core-version requiredrevision="[0.8,+]" />
+	
+	<target name=":init" phase="validate">
+		<ea:parameter phase="validate" />
+		<ea:parameter phase="generate-local-version"/>
+		<ea:parameter phase="generate-shared-version"/>
+		<ea:parameter phase="generate-release-version"/>
+
+		<ea:parameter property="release.resolver" default="shared" 
+				description="the name of the resolver use for release publication"/>
+		<ea:parameter property="shared.resolver" default="shared" 
+				description="the name of the share resolver"/>
+		<ea:parameter property="project.ivy.instance" default="project.ivy.instance" 
+				description="ivy instance name"/>
+		<ea:parameter property="project.ivy.file" required="true" 
+				description="ivy file (use to resolve dependencies for the project)"/>
+	
+		<ea:parameter property="default.build.number" default="1" 
+				description="default project version"/>
+		<ea:parameter property="revision.separator" default="-dev-build" 
+				description="separator for version"/>
+		
+		<!-- is project ivy settings configured ? -->
+		<ea:parameter property="project.ivy.settings.file" description="the ivysettings file used by your project" />
+		<ea:parameter property="project.ivy.settings.url" description="the ivysettings url used by your project" />
+		
+		<ea:parameter property="fail.publication.if.no.revision" default="true" description="fail build if current module has no revision in 'info' tag of the module.ivy"/>
+		<condition property="is.project.ivy.settings.configured">
+			<isreference refid="${project.ivy.instance}"/>
+		</condition>
+		<fail unless="is.project.ivy.settings.configured" message="project ivy instance is not configured, at least one of the following property must be set : project.ivy.settings.file, project.ivy.settings.url"/>
+
+	</target>
+	
+	<macrodef name="check-version-number">
+		<sequential>
+			<property name="pub.no.revision.message" value="It seems that you did not specify the revision number of your project, we strongly recommend you to set it through the 'info' tag in your module ivy before any publication"/>
+			<ac:if>
+				<contains string="${ivy.revision}" substring="working@"/>
+				<ac:then>
+					<ac:if>
+						<istrue value="${fail.publication.if.no.revision}"/>
+						<ac:then>
+							<fail message="${pub.no.revision.message}"/>
+						</ac:then>
+						<ac:else>
+							<echo message="Warning : ${pub.no.revision.message}" level="warning"/>
+						</ac:else>
+					</ac:if>
+				</ac:then>
+			</ac:if>
+		</sequential>
+	</macrodef>
+
+	<!-- version numbers -->
+	<target name="-local" phase="generate-local-version">
+		<check-version-number/>
+		<tstamp>
+			<format property="now" pattern="yyyyMMddHHmmss" />
+		</tstamp>
+		<property name="version" value="${ivy.revision}-local-${now}" />
+	</target>
+	
+	<target name="-shared" phase="generate-shared-version" depends="validate" unless="ivy.new.revision">
+		<ea:checkresolver resolver="shared.resolver" settingsRef="${project.ivy.instance}" description="name of the repository used to publish shared integration versions (snapshots)"/>
+		<check-version-number/>
+		<ivy:buildnumber organisation="${ivy.organisation}" module="${ivy.module}" revision="${ivy.revision}" defaultBuildNumber="${default.build.number}" revSep="${revision.separator}" settingsRef="${project.ivy.instance}" resolver="${shared.resolver}"/>
+		<property name="version" value="${ivy.new.revision}" />
+	</target>
+
+	<target name="-release" phase="generate-release-version" depends="validate" unless="ivy.new.revision">
+		<check-version-number/>
+		<property name="version" value="${ivy.revision}" />
+	</target>
+
+	<target name="doit" depends=":init" />
+</project>

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

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

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

Added: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ivy?rev=1071697&view=auto
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ivy (added)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/default-version-strategy/0.1/default-version-strategy.ivy Thu Feb 17 17:01:07 2011
@@ -0,0 +1,29 @@
+<!--
+	Copyright 2008-2010 the EasyAnt project
+	
+	See the NOTICE file distributed with this work for additional information 
+	regarding copyright ownership.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.  
+-->
+<ivy-module version="2.0"> 
+	<info organisation="org.apache.easyant.plugins"
+	       module="default-version-strategy"
+	       status="milestone"
+	       revision="0.1">
+	       <description>This module provides the default version strategy. A version strategy is in charge to define the version for integrations (snapshot) and releases </description>
+	</info>
+	<publications>
+		<artifact type="ant" />
+	</publications>
+</ivy-module>