EJBDoclet task: Problems using FileSet with includes with more than one pattern...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, September 12, 2003 04:08 AM

(Using Ant 1.5.1,XDoclet 1.1.2) 1) Ant buildscript destdir="${ejb.gen-src.dir}" classpath="${ejb.jar.file};${core.jar.file};${idl.jar.file};${cycles.jar.file};${audit.jar.file};${class.path};${ant.home}${/}lib${/}ant.jar;${ant.home}${/}lib${/}xercesImpl.jar;" excludedtags="@version,@author" ejbspec="2.0" force="true"> mergedir="${ejb.basedir}${/}xdoclet-merge" validatexml="true" /> 2) Output i. Set 2 patterns in includes (space-separated; same error with comma -separated)    More>>


(Using Ant 1.5.1,XDoclet 1.1.2)




1) Ant buildscript
			






destdir="${ejb.gen-src.dir}"
classpath="${ejb.jar.file};${core.jar.file};${idl.jar.file};${cycles.jar.file};${audit.jar.file};${class.path};${ant.home}${/}lib${/}ant.jar;${ant.home}${/}lib${/}xercesImpl.jar;"
excludedtags="@version,@author"
ejbspec="2.0"
force="true">







mergedir="${ejb.basedir}${/}xdoclet-merge"
validatexml="true" />





2) Output

i. Set 2 patterns in includes (space-separated; same error with comma -separated)
			

ic-ejbdoclet-deploy-desc:
[echo] ic-ejbdoclet-deploy-desc.....
[echo] *** deploy-desc.fileset.include : *baseclasses***EJB.java *vrp***EJB.java
[echo] *** Fileset dir : W:
ate-recsourcecodejavaejbsrccomambeo
aterec
Property ${deploy-desc.fileset.exclude} has not been set

BUILD FAILED
file:W:/rate-rec/sourcecode/java/scripts/abbuild-ejb.xml:636: No source files and no packages have been specified.
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1531)
at xdoclet.DocletTask.execute(DocletTask.java:240)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)





ii. Set 1 pattern in includes => works fine
			
ic-ejbdoclet-deploy-desc:
[echo] ic-ejbdoclet-deploy-desc.....
[echo] *** deploy-desc.fileset.include : *vrp***EJB.java
[echo] *** Fileset dir : W:
ate-recsourcecodejavaejbsrccomambeo
aterec
Property ${deploy-desc.fileset.exclude} has not been set
[ejbdoclet] Generating Javadoc
........








Question: Ant documentation on fileset->include:
'comma- or space-separated list of patterns of files that must be included; all files are included when omitted.'.
If this is correct is then a problem with how ejbdoclet uses Filesets ?




Thanks in advance,
Ken
   <<Less
About | Sitemap | Contact