incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1365948 - /incubator/easyant/plugins/trunk/javadoc/src/main/resources/javadoc.ant
Date Thu, 26 Jul 2012 11:20:10 GMT
Author: jlboudart
Date: Thu Jul 26 11:20:09 2012
New Revision: 1365948

URL: http://svn.apache.org/viewvc?rev=1365948&view=rev
Log:
EASYANT-12 : plugins do not specify conf for ea:registerartifact calls

Modified:
    incubator/easyant/plugins/trunk/javadoc/src/main/resources/javadoc.ant

Modified: incubator/easyant/plugins/trunk/javadoc/src/main/resources/javadoc.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/javadoc/src/main/resources/javadoc.ant?rev=1365948&r1=1365947&r2=1365948&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/javadoc/src/main/resources/javadoc.ant (original)
+++ incubator/easyant/plugins/trunk/javadoc/src/main/resources/javadoc.ant Thu Jul 26 11:20:09
2012
@@ -30,6 +30,8 @@
         <ea:parameter property="target.javadoc.main" default="${target.javadoc}/main"
description="directory where javadoc will be generated" />
         <ea:parameter property="target.javadoc.test" default="${target.javadoc}/test"
description="directory where javadoc for tests will be generated" />
 
+        <ea:parameter property="javadoc.publish.conf" default="documentation" description="default
configuration for javadoc artifacts" />
+
         <!-- javadoc task seems to be sensible to empty directory -->
         <!-- if src.test.java does not exit OR is an empty dir we set the empty.src.test.java.dir
property that will skip the javadoc generation -->
         <condition property="empty.src.test.java.dir">
@@ -74,7 +76,7 @@
         <zip destfile="${target.artifacts}/${ivy.module}-javadoc.zip">
             <fileset dir="${target.javadoc}" erroronmissingdir="false"/>
         </zip>
-        <ea:registerartifact type="javadoc" ext="zip" classifier="javadoc" settingsRef="${project.ivy.instance}"/>
+        <ea:registerartifact type="javadoc" ext="zip" classifier="javadoc" settingsRef="${project.ivy.instance}"
conf="${javadoc.publish.conf}"/>
     </target>
 
     <target name="javadoc:javadoc" depends="-javadoc:main,-javadoc:test" description="generate
javadoc report for main classes and test classes" />



Mime
View raw message