ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <shenne...@goldenhourdata.com>
Subject RE: javadoc of multiple sub-projects
Date Thu, 13 Nov 2003 16:14:23 GMT
      <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:\cleanstart\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


Mime
View raw message