Author: alessio.soldano(a)jboss.com
Date: 2008-02-18 20:35:32 -0500 (Mon, 18 Feb 2008)
New Revision: 5723
Modified:
framework/trunk/src/test/ant-import/build-testsuite.xml
Log:
[JBWS-1891] New target for creating the testsuite eclipse project
Modified: framework/trunk/src/test/ant-import/build-testsuite.xml
===================================================================
--- framework/trunk/src/test/ant-import/build-testsuite.xml 2008-02-19 01:34:32 UTC (rev
5722)
+++ framework/trunk/src/test/ant-import/build-testsuite.xml 2008-02-19 01:35:32 UTC (rev
5723)
@@ -497,4 +497,36 @@
<delete dir="${tests.output.dir}"/>
</target>
+ <!-- ================================================================== -->
+ <!-- Eclipse conf generation -->
+ <!-- ================================================================== -->
+
+ <target name="eclipse" depends="tests-jars"
description="Generates the JBossWS Testsuite Eclipse project">
+ <fail message="Sorry, this target is for src/binary distribution
only.">
+ <condition>
+ <not><isset property="build.dir"/></not>
+ </condition>
+ </fail>
+ <path id="tests.eclipse.classpath">
+ <path refid="tests.client.classpath"/>
+ <path refid="tests.javac.classpath"/>
+ </path>
+ <taskdef name="eclipseClasspathGenerator"
classname="org.jboss.ws.tools.ant.EclipseClasspathTask"
classpathref="ws.stack.classpath"/>
+ <taskdef name="eclipseProjectGenerator"
classname="org.jboss.ws.tools.ant.EclipseProjectTask"
classpathref="ws.stack.classpath"/>
+ <taskdef name="eclipseJUnitTestGenerator"
classname="org.jboss.ws.tools.ant.EclipseJUnitTestsTask"
classpathref="ws.stack.classpath"/>
+ <eclipseClasspathGenerator pathId="tests.eclipse.classpath"
excludesFile="${excludesfile}" />
+ <eclipseProjectGenerator projectName="JBossWS Testsuite" />
+ <eclipseJUnitTestGenerator projectName="JBossWS Testsuite"
+ projectWorkingDir="${tests.output.dir}"
+ srcDir="${tests.dir}/java"
+ integrationTarget="${jbossws.integration.target}"
+ endorsedDir="${jboss.lib}/endorsed"
+ jbossHome="${jboss.home}"
+ namingProviderUrl="${node0.jndi.url}"
+
securityPolicy="${tests.output.dir}/classes/tst.policy"
+ >
+ <fileset dir="${tests.output.dir}/classes"
includes="org/jboss/test/ws/**/*TestCase.class"
excludes="exclude.wildcard"/>
+ </eclipseJUnitTestGenerator>
+ </target>
+
</project>
Show replies by date