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/22 15:56:09 UTC
svn commit: r1073371 [23/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...
Modified: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.1/build-tools.ant
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.1/build-tools.ant?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.1/build-tools.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.1/build-tools.ant Tue Feb 22 15:55:55 2011
@@ -16,87 +16,87 @@
-->
<project name="org.apache.easyant.plugins#build-tools" xmlns:ea="antlib:org.apache.easyant" xmlns:ivy="antlib:org.apache.ivy.ant">
- <ea:core-version requiredrevision="[0.8,+]" />
+ <ea:core-version requiredrevision="[0.8,+]" />
- <target name=":init" phase="validate">
+ <target name=":init" phase="validate">
- <ea:parameter phase="validate" />
- <ea:parameter phase="verify" />
- <ea:parameter phase="publish-local" />
- <ea:parameter phase="release" />
-
- <ea:parameter property="lib.main" required="true" description="directory where main libraries are picked up" />
- <ea:parameter property="lib.test" required="true" description="directory where test libraries are picked up" />
- <ea:parameter property="release.resolver" required="true" description="the name of the resolver use for release publication" />
- <ea:parameter property="shared.resolver" required="true" 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" required="true" description="default project version" />
- <ea:parameter property="revision.separator" required="true" description="separator for version" />
- <ea:parameter property="ivy.haltonmissing" description="defines if ivy must halt when artifact is missing" default="true" />
-
- <ea:parameter property="submodule.target" description="target to invoke on each submodule for :run-all" default="verify" />
- <ea:parameter property="submodule.publish" description="whether to publish artifacts to the build-scoped repository after a :run-all" default="true" />
- <ea:parameter property="submodule.dirs" description="pattern or comma-separated list indicating which submodules directories should be included in the build" default="**/*" />
- </target>
-
-
- <target name="-buildlist" depends="validate">
- <ivy:buildlist reference="build-path" ivyfilepath="module.ivy" settingsRef="${project.ivy.instance}">
- <fileset dir="${basedir}" excludes="module.ivy" includes="${submodule.dirs}">
- <filename name="**/module.ivy" />
- </fileset>
- </ivy:buildlist>
- <!-- put the current file in the cache -->
- <ivy:resolve file="${project.ivy.file}" settingsRef="${project.ivy.instance}" showprogress="false" log="quiet" />
- </target>
-
- <target name=":clean-all" depends="-buildlist" description="clean all submodules and build-scope repository" phase="clean">
- <ea:submodule target="clean" buildpathref="build-path" useBuildRepository="false" />
- <!-- clean build-scoped repository and cache -->
- <delete dir="${basedir}/target" />
- </target>
-
- <!-- Package -->
- <target name=":package-all" depends="-buildlist" description="package all submodules">
- <ea:submodule target="package" buildpathref="build-path" useBuildRepository="true" />
- </target>
-
- <!-- Verify -->
- <target name=":verify-all" depends="-buildlist" description="verify all submodules" phase="verify">
- <ea:submodule target="verify" buildpathref="build-path" useBuildRepository="true" />
- </target>
-
- <target name=":run-all" depends="-buildlist" description="invoke an arbitrary target on each submodule">
- <ea:submodule target="${submodule.target}" buildpathref="build-path" useBuildRepository="${submodule.publish}" />
- </target>
+ <ea:parameter phase="validate" />
+ <ea:parameter phase="verify" />
+ <ea:parameter phase="publish-local" />
+ <ea:parameter phase="release" />
+
+ <ea:parameter property="lib.main" required="true" description="directory where main libraries are picked up" />
+ <ea:parameter property="lib.test" required="true" description="directory where test libraries are picked up" />
+ <ea:parameter property="release.resolver" required="true" description="the name of the resolver use for release publication" />
+ <ea:parameter property="shared.resolver" required="true" 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" required="true" description="default project version" />
+ <ea:parameter property="revision.separator" required="true" description="separator for version" />
+ <ea:parameter property="ivy.haltonmissing" description="defines if ivy must halt when artifact is missing" default="true" />
+
+ <ea:parameter property="submodule.target" description="target to invoke on each submodule for :run-all" default="verify" />
+ <ea:parameter property="submodule.publish" description="whether to publish artifacts to the build-scoped repository after a :run-all" default="true" />
+ <ea:parameter property="submodule.dirs" description="pattern or comma-separated list indicating which submodules directories should be included in the build" default="**/*" />
+ </target>
+
+
+ <target name="-buildlist" depends="validate">
+ <ivy:buildlist reference="build-path" ivyfilepath="module.ivy" settingsRef="${project.ivy.instance}">
+ <fileset dir="${basedir}" excludes="module.ivy" includes="${submodule.dirs}">
+ <filename name="**/module.ivy" />
+ </fileset>
+ </ivy:buildlist>
+ <!-- put the current file in the cache -->
+ <ivy:resolve file="${project.ivy.file}" settingsRef="${project.ivy.instance}" showprogress="false" log="quiet" />
+ </target>
+
+ <target name=":clean-all" depends="-buildlist" description="clean all submodules and build-scope repository" phase="clean">
+ <ea:submodule target="clean" buildpathref="build-path" useBuildRepository="false" />
+ <!-- clean build-scoped repository and cache -->
+ <delete dir="${basedir}/target" />
+ </target>
+
+ <!-- Package -->
+ <target name=":package-all" depends="-buildlist" description="package all submodules">
+ <ea:submodule target="package" buildpathref="build-path" useBuildRepository="true" />
+ </target>
+
+ <!-- Verify -->
+ <target name=":verify-all" depends="-buildlist" description="verify all submodules" phase="verify">
+ <ea:submodule target="verify" buildpathref="build-path" useBuildRepository="true" />
+ </target>
+
+ <target name=":run-all" depends="-buildlist" description="invoke an arbitrary target on each submodule">
+ <ea:submodule target="${submodule.target}" buildpathref="build-path" useBuildRepository="${submodule.publish}" />
+ </target>
- <!-- Meta project publication -->
- <!-- =================================
+ <!-- Meta project publication -->
+ <!-- =================================
target: publish-local
================================= -->
- <target name=":publish-all-local" depends="-buildlist" description="publish all submodules in local repository" phase="publish-local">
- <ea:submodule target="publish-local" buildpathref="build-path" />
- </target>
+ <target name=":publish-all-local" depends="-buildlist" description="publish all submodules in local repository" phase="publish-local">
+ <ea:submodule target="publish-local" buildpathref="build-path" />
+ </target>
- <!-- =================================
+ <!-- =================================
target: release
================================= -->
- <target name=":publish-all-shared" depends="-buildlist" description="publish all submodules in a shared repository" phase="publish-shared">
- <ea:submodule target="publish-shared" buildpathref="build-path" />
- </target>
+ <target name=":publish-all-shared" depends="-buildlist" description="publish all submodules in a shared repository" phase="publish-shared">
+ <ea:submodule target="publish-shared" buildpathref="build-path" />
+ </target>
- <!-- =================================
+ <!-- =================================
target: publish-shared
================================= -->
- <target name=":release-all" depends="-buildlist" description="release all submodules" phase="release">
- <ea:submodule target="release" buildpathref="build-path" />
- </target>
+ <target name=":release-all" depends="-buildlist" description="release all submodules" phase="release">
+ <ea:submodule target="release" buildpathref="build-path" />
+ </target>
- <target name="doit" depends=":verify-all" />
+ <target name="doit" depends=":verify-all" />
</project>
Modified: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.1/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.1/build-tools.ivy?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.1/build-tools.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.1/build-tools.ivy Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
limitations under the License.
-->
<ivy-module version="2.0">
- <info organisation="org.apache.easyant.plugins"
- module="build-tools"
- status="milestone"
- revision="0.1">
- <description>This module is a build tools for meta projects.</description>
- </info>
- <publications>
- <artifact type="ant" />
- </publications>
+ <info organisation="org.apache.easyant.plugins"
+ module="build-tools"
+ status="milestone"
+ revision="0.1">
+ <description>This module is a build tools for meta projects.</description>
+ </info>
+ <publications>
+ <artifact type="ant" />
+ </publications>
</ivy-module>
Modified: incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ant
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.ant?rev=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ant Tue Feb 22 15:55:55 2011
@@ -15,26 +15,26 @@
limitations under the License.
-->
<project name="org.apache.easyant.plugins#build-tools"
- xmlns:ea="antlib:org.apache.easyant"
- xmlns:ivy="antlib:org.apache.ivy.ant">
+ xmlns:ea="antlib:org.apache.easyant"
+ xmlns:ivy="antlib:org.apache.ivy.ant">
- <ea:core-version requiredrevision="[0.8,+]" />
-
- <target name=":init" phase="validate">
-
- <ea:parameter phase="validate" />
- <ea:parameter phase="verify" />
+ <ea:core-version requiredrevision="[0.8,+]" />
+
+ <target name=":init" phase="validate">
+
+ <ea:parameter phase="validate" />
+ <ea:parameter phase="verify" />
- <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="pre.module.targets" default="validate,clean"
- description="list of targets that must be executed BEFORE subproject(s) delegation"/>
-
- <ea:parameter property="submodule.dirs" description="pattern or comma-separated list indicating which submodules directories should be included in the build" default="**/*"/>
- </target>
-
- <target name="doit" depends="verify" />
-
+ <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="pre.module.targets" default="validate,clean"
+ description="list of targets that must be executed BEFORE subproject(s) delegation"/>
+
+ <ea:parameter property="submodule.dirs" description="pattern or comma-separated list indicating which submodules directories should be included in the build" default="**/*"/>
+ </target>
+
+ <target name="doit" depends="verify" />
+
</project>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/build-tools/0.2/build-tools.ivy Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ant Tue Feb 22 15:55:55 2011
@@ -16,51 +16,51 @@
-->
<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>
+ <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" />
+ <target name="doit" depends=":checkstyle" />
</project>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.ivy Tue Feb 22 15:55:55 2011
@@ -15,25 +15,25 @@
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/>
+ <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>
+ </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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xml (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xml Tue Feb 22 15:55:55 2011
@@ -47,7 +47,7 @@
-->
<module name="Checker">
- <property name="severity" value="warning"/>
+ <property name="severity" value="warning"/>
<!-- Checks that a package.html file exists for each package. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xsl (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/checkstyle/0.1/checkstyle.xsl Tue Feb 22 15:55:55 2011
@@ -16,202 +16,202 @@
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="," />
+ 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"/>
- -->
+ <!--
+ 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: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
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ant Tue Feb 22 15:55:55 2011
@@ -15,18 +15,18 @@
limitations under the License.
-->
<project name="org.apache.easyant.plugins#clean-std"
- xmlns:ea="antlib:org.apache.easyant">
+ 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>
-
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/clean-std/0.1/clean-std.ivy Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ant Tue Feb 22 15:55:55 2011
@@ -16,72 +16,72 @@
-->
<project name="org.apache.easyant.plugins#compile-groovy" xmlns:ea="antlib:org.apache.easyant">
- <ea:core-version requiredrevision="[0.8,+]" />
+ <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=":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" />
+ <target name="doit" depends=":init" />
</project>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-groovy/0.1/compile-groovy.ivy Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ant Tue Feb 22 15:55:55 2011
@@ -15,52 +15,52 @@
limitations under the License.
-->
<project name="org.apache.easyant.plugins#compile-java"
- xmlns:ea="antlib:org.apache.easyant">
+ 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: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}" />
+ <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" />
+ 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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-java/0.1/compile-java.ivy Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ant (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ant Tue Feb 22 15:55:55 2011
@@ -15,61 +15,61 @@
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" />
+ 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"/>
+ <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 -->
+ 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}" />
+ </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" />
+ classpathref="compile.main.classpath"
+ includes="${compile.scala.includes.pattern}"
+ excludes="${compile.scala.excludes.pattern}">
+
+ </scalac>
+ </target>
+
+ <target name="doit" depends=":compile" />
</project>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ivy (original)
+++ incubator/easyant/core/trunk/src/main/resources/org/apache/easyant/core/repository/modules/org.apache.easyant.plugins/compile-scala/0.1/compile-scala.ivy Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- 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 (original)
+++ 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 Tue Feb 22 15:55:55 2011
@@ -15,42 +15,42 @@
limitations under the License.
-->
<project name="org.apache.easyant.plugins#compile-test-groovy"
- xmlns:ea="antlib:org.apache.easyant">
+ 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"/>
+ <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}"
+ <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>
+ 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>
+ <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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- 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 (original)
+++ 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 Tue Feb 22 15:55:55 2011
@@ -15,14 +15,14 @@
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>
-
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- 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 (original)
+++ 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 Tue Feb 22 15:55:55 2011
@@ -15,50 +15,50 @@
limitations under the License.
-->
<project name="org.apache.easyant.plugins#compile-test-java"
- xmlns:ea="antlib:org.apache.easyant">
+ 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>
+ <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" 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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- 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 (original)
+++ 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 Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- 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 (original)
+++ 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 Tue Feb 22 15:55:55 2011
@@ -15,51 +15,51 @@
limitations under the License.
-->
<project name="org.apache.easyant.plugins#compile-test-scala"
- xmlns:ea="antlib:org.apache.easyant">
+ 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"/>
+ <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 -->
+ 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>
+ </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>
Modified: 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=1073371&r1=1073370&r2=1073371&view=diff
==============================================================================
--- 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 (original)
+++ 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 Tue Feb 22 15:55:55 2011
@@ -15,13 +15,13 @@
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>
+ <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>