Author: hlship
Date: Wed Jun 8 18:09:32 2011
New Revision: 1133490
URL: http://svn.apache.org/viewvc?rev=1133490&view=rev
Log:
TAP5-1528: Exclude the copied ASM sources from JavaDoc, and attempt to copy
images files to the JavaDoc output directory
Modified:
tapestry/tapestry5/trunk/build.gradle
Modified: tapestry/tapestry5/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/build.gradle?rev=1133490&r1=1133489&r2=1133490&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/build.gradle (original)
+++ tapestry/tapestry5/trunk/build.gradle Wed Jun 8 18:09:32 2011
@@ -124,6 +124,8 @@ task aggregateJavadoc(type: Javadoc) {
links = [ 'http://download.oracle.com/javase/6/docs/api/',
'http://download.oracle.com/javaee/6/api/' ]
addStringOption "tagletpath", configurations.javadoc.asPath
addStringOption "taglet",
"org.apache.tapestry5.javadoc.TapestryDocTaglet"
+
+ exclude "org/apache/tapestry5/internal/plastic/asm/**"
}
subprojects.each { subProject->
@@ -139,6 +141,14 @@ task aggregateJavadoc(type: Javadoc) {
else {
classpath = set.classes + set.compileClasspath
}
+
+ // Some of the component .xdoc files refer to PNG images
+ // (we could also exclude .java and .xdoc)
+ copy {
+ from set.java
+ into javadocBuildDir.dir
+ include '**/*.png'
+ }
}
}
}