ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetlin Stanchev" <stanc...@360t.com>
Subject RE: javadoc of multiple sub-projects
Date Fri, 14 Nov 2003 13:42:48 GMT
Yes, that is an error, thanks for pointing it out.
Unfortunately, its cause is bad copy/paste on my side. 
I am sorry also that line breaks are inserted arbitrarily as well, due
to my mail client.

Still,
      <sourcepath>
		<pathelement path="${javadoc.src.path}"/>
      </sourcepath>

fails with the same error as below.

I am about to file a bug report in the tracking system, if nobody can
see an error in the (corrected) code snippet?
-- 
Svetlin


> -----Original Message-----
> From: W. Sean Hennessy [mailto:shennessy@goldenhourdata.com] 
> Sent: Thursday, November 13, 2003 5:14 PM
> To: 'Ant Users List'
> Subject: RE: javadoc of multiple sub-projects
> 
> 
>       <sourcepath>
> <!-- error is here, missing $ --> <pathelement 
> path="{javadoc.src.path}"/>
>       </sourcepath>
> 
> -----Original Message-----
> From: Svetlin Stanchev [mailto:stanchev@360t.com] 
> Sent: Thursday, November 13, 2003 4:49 AM
> To: Ant Users List
> Subject: javadoc of multiple sub-projects
> 
> 
> Javadoc cannot meaningfully "incrementally" build docs of an 
> entire project group based on already existing docs of subprojects.
> 
> That is why I am attempting to feed to it a path consisting 
> of all source/class subdirectories of all individual 
> projects. I was able to make it work for one subproject only, 
> and only using a fileset. So I am surely doing smth 
> fundamentally wrong. 
> 
> For instance this does not work:
> 
>     <echo> Src path: ${javadoc.src.path}</echo>
>     <echo> Class path: ${javadoc.class.path}</echo>
>     <javadoc 
>       destdir="${javadoc.dir}"
>       author="true"
>       use="yes"
>       version="yes"
>       windowtitle="My Documentation"
>       private="yes"
>       linksource="yes"
>       breakiterator="yes"
>       verbose="no"
>       failonerror="no"
>       maxmemory="384m"
>       useexternalfile="yes">
>       <sourcepath>
> 		<pathelement path="{javadoc.src.path}"/>
>       </sourcepath>
>       <classpath>
> 		<pathelement path="${javadoc.class.path}"/>
> 		<pathelement path="${mountpoint.libs}"/>
>       </classpath>
>     </javadoc>
> 
> It fails with:
> BUILD FAILED
> D:\cleanstart\buildroot\masterbuild\build.xml:199: No source 
> files and no packag es have been specified.
> 
> Although any directory in the list correctly points to the source root
> hierarchy:
> 
>      [echo]  Src path: 
> D:\cleanstart\buildroot/masterbuild/projects/ctrl/src;D:\
> cleanstart\buildroot/masterbuild/projects/clients/src;D:\clean
> start\buil
> droot/ma
> sterbuild/projects/TexCoreCommon/src;
>      [echo]  Class path: 
> D:\cleanstart\buildroot/masterbuild/projects/ctrl/build
> /classes;D:\cleanstart\buildroot/masterbuild/projects/clients/
> build/clas
> ses;D:\c 
> leanstart\buildroot/masterbuild/projects/TexCoreCommon/build/classes;
> 
> Some of the above projects do not have Java source, but this 
> should not lead to a fail, I think.
> 
> Any help appreciated,
> -- 
> Svetlin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message