You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by ip...@apache.org on 2005/01/18 18:14:56 UTC

svn commit: r125519 - /incubator/apollo/trunk/src/templates/build.xml.vm

Author: ips
Date: Tue Jan 18 09:14:55 2005
New Revision: 125519

URL: http://svn.apache.org/viewcvs?view=rev&rev=125519
Log:
fixed init target

Modified:
   incubator/apollo/trunk/src/templates/build.xml.vm

Modified: incubator/apollo/trunk/src/templates/build.xml.vm
Url: http://svn.apache.org/viewcvs/incubator/apollo/trunk/src/templates/build.xml.vm?view=diff&rev=125519&p1=incubator/apollo/trunk/src/templates/build.xml.vm&r1=125518&p2=incubator/apollo/trunk/src/templates/build.xml.vm&r2=125519
==============================================================================
--- incubator/apollo/trunk/src/templates/build.xml.vm	(original)
+++ incubator/apollo/trunk/src/templates/build.xml.vm	Tue Jan 18 09:14:55 2005
@@ -16,15 +16,15 @@
    <!-- workaround for those IDEs that dont set ant.home as per the ant script -->
    <property name="ant.home" value="env.ANT_HOME"/>
    
-   <property name="classes.dir"           location="${classesDir}"/>
-   <property name="jar.dir"           	  location="${jarDir}"/>
-   <property name="src.dir"               location="${srcDir}" />
-   <property name="wsdl.file"             location="${srcDir}/../wsdl/${wsdlName}" />
+   <property name="classes.dir"  location="${classesDir}" />
+   <property name="jar.dir"      location="${jarDir}" />
+   <property name="src.dir"      location="${srcDir}" />
+   <property name="wsdl.file"    location="${srcDir}/../wsdl/${wsdlName}" />
 
-   <target name="init" unless="wsrf.webapp.dir">
-        
-     <echo>Using webapp dir: ${wsrf.webapp.dir}</echo>    
-     <fail message="Please set the location of the wsrf.webapp.dir in build.properties"/>
+   <target name="init" unless="apollo.classpath">
+             
+     <fail message="Please set the location of the wsrf.webapp.dir in build.properties" unless="wsrf.webapp.dir" />
+     <echo>Using webapp dir: ${wsrf.webapp.dir}</echo>
      <path id="apollo.classpath.id">
        <pathelement location="${wsrf.webapp.dir}/WEB-INF/classes" />
        <fileset dir="${wsrf.webapp.dir}/WEB-INF/lib" includes="*.jar" />

---------------------------------------------------------------------
To unsubscribe, e-mail: apollo-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: apollo-dev-help@ws.apache.org