james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r811799 - /james/server/trunk/build-tools/module-build.xml
Date Sun, 06 Sep 2009 10:27:01 GMT
Author: rdonkin
Date: Sun Sep  6 10:27:01 2009
New Revision: 811799

URL: http://svn.apache.org/viewvc?rev=811799&view=rev
Log:
JAMES-916 Run javadoc creation only when release flag is set on command line https://issues.apache.org/jira/browse/JAMES-916

Modified:
    james/server/trunk/build-tools/module-build.xml

Modified: james/server/trunk/build-tools/module-build.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/build-tools/module-build.xml?rev=811799&r1=811798&r2=811799&view=diff
==============================================================================
--- james/server/trunk/build-tools/module-build.xml (original)
+++ james/server/trunk/build-tools/module-build.xml Sun Sep  6 10:27:01 2009
@@ -92,6 +92,17 @@
         <CompileTests/>   
         <RunTests/>   
     </target>
+	
+	<target 
+	    name='javadocs'
+		description='Javadocs project and jars results'
+	    if='release'>
+        <CreateJavaDocs/>
+        <CreateJar 
+            name='${name.module}-javadoc'   
+            bin='${build.javadocs}'
+            lib='${dir.stage.james}'/> 
+	</target>
     
     <target 
         name='dist'
@@ -106,11 +117,7 @@
             name='${name.module}-test'   
             bin='${dir.build.test}'
             lib='${dir.stage.james}'/>      
-        <CreateJavaDocs/>
-        <CreateJar 
-            name='${name.module}-javadoc'   
-            bin='${build.javadocs}'
-            lib='${dir.stage.james}'/>     
+    	<antcall target='javadocs'/>
     </target>   
     
     <target 



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


Mime
View raw message