ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Chamness" <ma...@cacheware.com>
Subject FW: Package javax.servlet.http not found in import
Date Sat, 02 Jun 2001 00:28:20 GMT
-----Original Message-----
From: Pinar Bicioglu [mailto:pinarbici@hotmail.com]
Sent: Friday, June 01, 2001 4:36 PM
To: markc@cacheware.com
Subject: RE: Package javax.servlet.http not found in import


So what you are saying is that without having "my.classpath.txt" file i
should include the servlet API. ${src} is referring to where my .java files
are..and how about ${classes} ?? what does it refer ??

Thanks a lot...
------------------------------

Pinar,
classpath should refer only to your classes.
(Fixed my prior typo.)
Try something like this:

    <!-- Javadoc the codebase
    -->
    <target name="javadoc" depends="init">
        <javadoc
            packagenames="com.cacheware.*"
            sourcepath="${src}"
            destdir="${javadoc.home}"
            author="true"
            version="true"
            use="true"
            windowtitle="MetaManager API"
            doctitle="&lt;h1&gt;MetaManager&lt;/h1&gt;"
            bottom="&lt;i&gt;Copyright &#169; 2000 Cacheware Corp. All
Rights Re
served.&lt;/i&gt;"
        >
            <group title="Util Packages" packages="com.cacheware.util.*"/>
            <group title="Applet Packages"
packages="com.cacheware.applet.*"/>
            <classpath>
                <pathelement path="${classes}"/>
                <pathelement location="../lib/servlet.jar"/>
                <pathelement location="../lib/jlog.jar"/>
                <pathelement location="../lib/junit.jar"/>
            </classpath>
        </javadoc>
    </target>

-mark


Mime
View raw message