Discussion:
[Middlegen-user] Build of middlegen-2_0-b1 from cvs fails
Bill Pfeiffer
2003-03-05 09:46:06 UTC
Permalink
I'm trying to get started on making some minor changes to this version of middlegen. The 'dist' target fails with the following error on the 'javadoc' target:

javadocs:
[mkdir] Created dir: C:\Java\middlegen-2.0-b1-src\middlegen\build\api
[javadoc] C:\Java\middlegen-2.0-b1-src\middlegen\build\src doesn't contain any packages, dropping it.

file:C:/Java/middlegen-2.0-b1-src/middlegen/build.xml:195: No source files and n
o packages have been specified.
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1531)
(more stack trace...)


It appears that there definitely is source code in the specified directory. Is the task looking for something in particular that would cause it to think that no 'packages' are contained?

My first guess is that a directory should be considered a package. Is it actually looking for package documentation (ie javadoc package documentation)?

Thanks for any help,

Bill
Eivind Waaler
2003-03-05 09:59:09 UTC
Permalink
Hi, I don't think the 'dist' target is being used anymore. Maven is used
to build the distribution.

The default target will build the jar files.. Simply run 'ant'.

If you need javadocs etc, build it using maven or refer to the website
which is built automatically from cvs every night:

http://boss.bekk.no/boss/middlegen/

.eivind w.
Post by Bill Pfeiffer
[mkdir] Created dir: C:\Java\middlegen-2.0-b1-src\middlegen\build\api
[javadoc] C:\Java\middlegen-2.0-b1-src\middlegen\build\src doesn't contain any packages, dropping it.
file:C:/Java/middlegen-2.0-b1-src/middlegen/build.xml:195: No source files and n
o packages have been specified.
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1531)
(more stack trace...)
It appears that there definitely is source code in the specified directory. Is the task looking for something in particular that would cause it to think that no 'packages' are contained?
My first guess is that a directory should be considered a package. Is it actually looking for package documentation (ie javadoc package documentation)?
Thanks for any help,
Bill
Loading...