ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Kazmierczak <mkazmierc...@etrade.com>
Subject RE: classpath issue on Javadoc stuff!!!!
Date Mon, 04 Jun 2001 18:18:59 GMT

I've been having the same problem with an earlier
response using a different environment variable, in
my case AF_HOME

But the rest of my environment variables work fine,
just that one. My system is Linux running Ant 1.3
on IBM's JDK.


-----Original Message-----
From: Jim McLaughlin [mailto:j_e_mclaughlin@yahoo.com]
Sent: Monday, June 04, 2001 11:18 AM
To: ant-user@jakarta.apache.org
Subject: RE: classpath issue on Javadoc stuff!!!!


Using the echo task on the ${classpath} variable in Win2K results in the
following:

init:
showcp:
${classpath}
Finished target(s).


Notice that the value of the classpath is not echoed, but simply the string
"${classpath}". Does ant do this on all platforms?

-----Original Message-----
From: Russ Baker [mailto:rbaker@NETdelivery.com]
Sent: Monday, June 04, 2001 12:26 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: classpath issue on Javadoc stuff!!!!


Pinar,

The javadoc is runs in a different jvm, did you check the classpath that the
javadoc was using by doing the following:

<echo message="${classpath}/>

and did you make sure that you have no typos or case-sensitive issues?

-Russ

-----Original Message-----
From: Pinar Bicioglu [mailto:pinarbici@hotmail.com]
Sent: Monday, June 04, 2001 11:20 AM
To: ant-user@jakarta.apache.org
Subject: classpath issue on Javadoc stuff!!!!



I opened a DOS window and set my classpath as below;

D:\>set
CLASSPATH=d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\servlet.jar;d:\Tomcat\jakarta
-tomca
t-3.2.2b\ant.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jasper.jar;d:\Tomcat\j
akarta-tomcat-
3.2.2b3\lib\jaxp.jar;d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\parser.jar;d:\Tomc
at\jakarta-tom
cat-3.2.2b3\lib\webserver.jar;d:\ap20\websrc\WEB-INF\classes\org\apache\stru
ts\form\Proces
sFormAction.class;d:\ap20\websrc\WEB-INF\classes\org\apache\struts\form\Vali
dateForm.class

So it's been set to where my jar and class files are.

I have the following code. So now again it can no find the package unlike
before when it couldn't file the javax.* ...

the code i have is :


<property name="classpath"
value="d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\servlet.jar;d:\Tomcat\jakarta-to
mcat-3.2.2b3\lib\parser.jar;

d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\jasper.jar;d:\Tomcat\jakarta-tomcat-3.2
.2b3\lib\jasp.jar;d:\Tomcat\jakarta-tomcat-3.2.2b\lib\ant.jar;
d:\Tomcat\jakarta-tomcat-3.2.2b3\lib\webserver.jar;d:\ap20\websrc\WEB-INF\cl
asses\org\apache\struts\form\ProcessFormAction;d:\ap20\websrc\WEB-INF\classe
s\org\apache\struts\form\ValidateForm.class"/>

<target name="javadoc" depends="compile" >

    <property name="root"  value="org.apache.struts" />
    <property name="src"   value="d:\ap20\java" />

       <javadoc sourcepath="${src}"
         destdir="${javadoc.home}"
         classpath="${classpath}"
         packagenames="${root}.*"
         author="true"
         version="true"
         use="true"
         windowtitle="${app.name} ${version} API"
         doctitle="${app.name}" />
         </target>

Thanks to all in a million....

>From: Bill.J.Fellows@mail.sprint.com
>Reply-To: ant-user@jakarta.apache.org
>To: ant-user@jakarta.apache.org
>Subject: Re: Package javax.servlet.http not found in import
>Date: Mon, 4 Jun 2001 11:57:48 -0500
>
>As an add on, the JVM will pick up all class files in your classpath.
>
>So,
>if you have
>/lib/myFirst.jar
>/lib/myOther.jar
>/classes/ClassA.class
>/classes/ClassB.class
>/classes/ClassC.class
>
>To include the jars on your classpath, you must explicitly enumerate
>them with
>CLASSPATH=/lib/myFirst.jar;/lib/myOther.jar
>
>To include the non-jarred files, simply tell classpath what directory
>to look at
>CLASSPATH=/classes/
>
>/bill
>
>-----Original Message-----
>From: MikeD [mailto:MikeD@san.rr.com]
>Sent: Monday, June 04, 2001 11:51 AM
>To: ant-user
>Cc: MikeD
>Subject: Re: Package javax.servlet.http not found in import
>
>
>The JVM will not read a directory looking for JAR files. You need to
>specify each JAR file(s) inidividually in your CLASSPATH variable.
>
>/mike

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Mime
View raw message