I'm pretty new myself, but I think your missing
<classpath>
<pathelement location="${j2ee.jar}"/>
<pathelement path="${java.class.path}"/>
</classpath>
Where ${j2ee.jar} is a property pointing to your j2ee.jar.
Regards,
Michael
-----Ursprüngliche Nachricht-----
Von: Allan Stengaard [mailto:ast@oncable.dk]
Gesendet am: Freitag, 1. März 2002 13:48
An: ant-user@jakarta.apache.org
Betreff: problem building javadoc: package not found in import
I'm pretty new to using ant and especially building javadoc. I have a
project which works fine, but I get a lot of error messages, when trying to
build javadocs.
/home/as/develop/src/server/dk/iform/ejb/interfaces/FormHome.java:15:
Package javax.ejb not found in import.
import javax.ejb.*;
I have tried to add some <link> to <javadoc>, but with no result. My
<javadoc> looks like this:
<javadoc sourcepath="${src.dir}/server"
destdir="${build.javadoc.dir}"
packagenames="dk.logiva.${name}.*"
windowtitle="${name} documentation">
<link href="http://hubert.rgm.dk/xerces/java/apiDocs/" />
<link href="http://hubert.rgm.dk/jdk1.3.0/jdk1.3/docs/api/" />
<link href="http://hubert.rgm.dk/j2sdkee1.2/doc/api/" />
<link href="http://hubert.rgm.dk/gnu.regexp-1.1.2/docs/api/" />
</javadoc>
where hubert is a local server, where I have the documentation installed.
What am I doing wrong?
/Allan
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|