[Yanel-commits] rev 33864 - public/yanel/trunk/src/build

michi at wyona.com michi at wyona.com
Sun Mar 23 00:04:38 CET 2008


Author: michi
Date: 2008-03-23 00:04:37 +0100 (Sun, 23 Mar 2008)
New Revision: 33864

Modified:
   public/yanel/trunk/src/build/build.xml
Log:
javadoc classpath separated from cmdl classpath

Modified: public/yanel/trunk/src/build/build.xml
===================================================================
--- public/yanel/trunk/src/build/build.xml	2008-03-22 22:33:00 UTC (rev 33863)
+++ public/yanel/trunk/src/build/build.xml	2008-03-22 23:04:37 UTC (rev 33864)
@@ -283,30 +283,27 @@
     </path>
   </target>
 
-  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="init, dependencies">
-<!--
-  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="webapp">
--->
-
-    <path id="classpath.run.cmdl">
-      <!-- Properties files -->
+  <target name="set-javadoc-classpath" description="Set javadoc classpath" depends="init, dependencies">
+    <path id="classpath.javadoc">
       <pathelement path="${yanel.home.dir}/build/webapps/${servlet.context.prefix}/WEB-INF/classes"/>
 
-      <!-- All from source generated libs -->
       <fileset dir="${yanel.home.dir}/build/webapps/${servlet.context.prefix}/WEB-INF/lib">
         <include name="*.jar"/>
       </fileset>
 
-      <!-- All external dependencies -->
       <pathelement path="${maven2.cp}"/>
       <pathelement path="${maven2.compile.cp}"/>
     </path>
-    <property name="run.cp" refid="classpath.run.cmdl"/>
+    <property name="javadoc.cp" refid="classpath.javadoc"/>
+    <echo>INFO: Classpath to generate Javadoc: ${javadoc.cp}</echo>
+  </target>
+
+  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="init, dependencies">
 <!--
-    <echo>Classpath to run yanel: ${run.cp}</echo>
+  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="webapp">
 -->
 
-    <path id="classpath.javadoc">
+    <path id="classpath.run.cmdl">
       <!-- Properties files -->
       <pathelement path="${yanel.home.dir}/build/webapps/${servlet.context.prefix}/WEB-INF/classes"/>
 
@@ -319,6 +316,10 @@
       <pathelement path="${maven2.cp}"/>
       <pathelement path="${maven2.compile.cp}"/>
     </path>
+    <property name="run.cp" refid="classpath.run.cmdl"/>
+<!--
+    <echo>Classpath to run yanel cmdl: ${run.cp}</echo>
+-->
   </target>
 
   <target name="compile-core" description="Compile Java classes of Yanel core" depends="init, set-classpath">



More information about the Yanel-commits mailing list