You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2005/12/02 12:22:34 UTC

svn commit: r351688 - in /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general: adbAntBuildTemplate.xsl xmlbeansAntBuildTemplate.xsl

Author: dims
Date: Fri Dec  2 03:22:30 2005
New Revision: 351688

URL: http://svn.apache.org/viewcvs?rev=351688&view=rev
Log:
- typo in jar.ok usage (don't wrap with '{' in "if" and "unless"
- jar things into a service.jar (we really should change the build.xml to output an aar with all the services.xml and service.wsdl)


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

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/adbAntBuildTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/adbAntBuildTemplate.xsl?rev=351688&r1=351687&r2=351688&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/adbAntBuildTemplate.xsl (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/adbAntBuildTemplate.xsl Fri Dec  2 03:22:30 2005
@@ -99,7 +99,7 @@
             </target>
 
             <target name="compile.all" depends="pre.compile.test">
-                <xsl:attribute name="if">${jars.ok}</xsl:attribute>
+                <xsl:attribute name="if">jars.ok</xsl:attribute>
                 <javac>
                     <xsl:attribute name="destdir">${classes}</xsl:attribute>
                     <xsl:attribute name="srcdir">${src}</xsl:attribute>
@@ -113,7 +113,7 @@
             </target>
 
             <target name="echo.classpath.problem" depends="pre.compile.test">
-                <xsl:attribute name="unless">${jars.ok}</xsl:attribute>
+                <xsl:attribute name="unless">jars.ok</xsl:attribute>
                 <echo message="The class path is not set right!
                                Please make sure the following classes are in the classpath
                                1. XmlBeans
@@ -122,10 +122,10 @@
                 "></echo>
             </target>
             <target name="jar.all" depends="compile.all,echo.classpath.problem">
-                <xsl:attribute name="if">${jars.ok}</xsl:attribute>
+                <xsl:attribute name="if">jars.ok</xsl:attribute>
                 <jar>
                     <xsl:attribute name="basedir">${classes}</xsl:attribute>
-                    <xsl:attribute name="destfile">${bin}</xsl:attribute>
+                    <xsl:attribute name="destfile">${bin}\service.jar</xsl:attribute>
                 </jar>
             </target>
         </project>

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/xmlbeansAntBuildTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/xmlbeansAntBuildTemplate.xsl?rev=351688&r1=351687&r2=351688&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/xmlbeansAntBuildTemplate.xsl (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/xmlbeansAntBuildTemplate.xsl Fri Dec  2 03:22:30 2005
@@ -115,7 +115,7 @@
             </target>
 
             <target name="compile.all" depends="pre.compile.test">
-                <xsl:attribute name="if">${jars.ok}</xsl:attribute>
+                <xsl:attribute name="if">jars.ok</xsl:attribute>
                 <javac>
                     <xsl:attribute name="destdir">${classes}</xsl:attribute>
                     <xsl:attribute name="srcdir">${src}</xsl:attribute>
@@ -129,7 +129,7 @@
             </target>
 
             <target name="echo.classpath.problem" depends="pre.compile.test">
-                <xsl:attribute name="unless">${jars.ok}</xsl:attribute>
+                <xsl:attribute name="unless">jars.ok</xsl:attribute>
                 <echo message="The class path is not set right!
                                Please make sure the following classes are in the classpath
                                1. XmlBeans
@@ -138,10 +138,10 @@
                 "></echo>
             </target>
             <target name="jar.all" depends="compile.all,echo.classpath.problem">
-                <xsl:attribute name="if">${jars.ok}</xsl:attribute>
+                <xsl:attribute name="if">jars.ok</xsl:attribute>
                 <jar>
                     <xsl:attribute name="basedir">${classes}</xsl:attribute>
-                    <xsl:attribute name="destfile">${bin}</xsl:attribute>
+                    <xsl:attribute name="destfile">${bin}\service.jar</xsl:attribute>
                 </jar>
             </target>
         </project>