ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koegel, Michael" <Michael.Koe...@partner.commerzbank.com>
Subject AW: problem building javadoc: package not found in import
Date Fri, 01 Mar 2002 13:05:49 GMT
Yes, like this (adopted form cactus sample):
        <javadoc
            sourcepath="${out.src.dir}"
            packagenames="${app.package}.*"
            destdir="${out.javadoc.dir}"
            author="true"
            public="true"
            version="true"
            use="true"
            windowtitle="${app.descr} ${app.version}"
            doctitle="${app.descr} ${app.version}"
            bottom="Copyright &amp;copy; ${year} by me. All Rights
Reserved.">

            <classpath>
                <pathelement location="${servlet.jar}"/>
                <pathelement location="${cactus.jar}"/>
                <pathelement location="${junit.jar}"/>
                <pathelement path="${java.class.path}"/>
            </classpath>

        </javadoc>

-----Ursprüngliche Nachricht-----
Von: Allan Stengaard [mailto:ast@oncable.dk]
Gesendet am: Freitag, 1. März 2002 14:01
An: Ant Users List
Betreff: RE: problem building javadoc: package not found in import

Should I put the <classpath> in <javadoc> ?

/Allan

-----Original Message-----
From: Koegel, Michael [mailto:Michael.Koegel@partner.commerzbank.com]
Sent: 1. marts 2002 13:52
To: Ant Users List
Subject: AW: problem building javadoc: package not found in import


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>


--
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>


Mime
View raw message