axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r399706 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/defaultAntBuildTemplate.xsl
Date Thu, 04 May 2006 14:05:34 GMT
Author: azeez
Date: Thu May  4 07:05:33 2006
New Revision: 399706

URL: http://svn.apache.org/viewcvs?rev=399706&view=rev
Log:
Fixed classpath error in default Ant build template

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/defaultAntBuildTemplate.xsl

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/defaultAntBuildTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/defaultAntBuildTemplate.xsl?rev=399706&r1=399705&r2=399706&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/defaultAntBuildTemplate.xsl
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/defaultAntBuildTemplate.xsl
Thu May  4 07:05:33 2006
@@ -32,6 +32,21 @@
 
             <property name="jars.ok" value=""></property>
 
+            <path id="axis2.class.path">
+                <pathelement>
+                    <xsl:attribute name="path">${java.class.path}</xsl:attribute>
+                </pathelement>
+                <pathelement>
+                    <xsl:attribute name="path">${maven.class.path}</xsl:attribute>
+                </pathelement>
+                <fileset>
+                    <xsl:attribute name="dir">${axis2.home}</xsl:attribute>
+                    <include>
+                        <xsl:attribute name="name">lib/*.jar</xsl:attribute>
+                    </include>
+                </fileset>
+            </path>
+
             <target name="init">
                 <mkdir>
                     <xsl:attribute name="dir">${build}</xsl:attribute>
@@ -77,10 +92,7 @@
                     <xsl:attribute name="destdir">${classes}</xsl:attribute>
                     <xsl:attribute name="srcdir">${src}</xsl:attribute>
                     <classpath>
-                        <xsl:attribute name="location">${bin}/${xbeans.packaged.jar.name}</xsl:attribute>
-                    </classpath>
-                    <classpath>
-                        <xsl:attribute name="location">${java.class.path}</xsl:attribute>
+                        <xsl:attribute name="refid">axis2.class.path</xsl:attribute>
                     </classpath>
                 </javac>
             </target>
@@ -91,10 +103,7 @@
                     <xsl:attribute name="destdir">${classes}</xsl:attribute>
                     <xsl:attribute name="srcdir">${test}</xsl:attribute>
                     <classpath>
-                        <xsl:attribute name="location">${bin}/${xbeans.packaged.jar.name}</xsl:attribute>
-                    </classpath>
-                    <classpath>
-                        <xsl:attribute name="location">${java.class.path}</xsl:attribute>
+                        <xsl:attribute name="refid">axis2.class.path</xsl:attribute>
                     </classpath>
                 </javac>
             </target>



Mime
View raw message