You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Cai <wi...@yahoo.com> on 2001/10/23 08:34:13 UTC

sourcepath problem in building tomcat

I always got the following error when building tomcat
by using ant. I tried ant 1.1 1.2 1.4. Any idea?

tomcat_util:
    [javac] Compiling 91 source files to
/usr/local/jakarta/jakarta-tomcat-3.3-dev-src/build/tomcat/classes
    [javac] javac: invalid flag: -sourcepath
    [javac] use: javac
[-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-deprecation][-d dir][-J<runtime
flag>] file.java...

BUILD FAILED

/usr/local/jakarta/jakarta-tomcat-3.3-dev-src/build.xml:206:
Compile failed, messages should have been provided.


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Re: sourcepath problem in building tomcat

Posted by Bill Cai <wi...@yahoo.com>.
I thought that I was using at least jdk1.2. But I
willl
check tonight because I have multiple jdks installed.

Thanks,

Bill

>From: Larry Isaacs 
> Subject:  RE: sourcepath problem in building tomcat
> Date:  Tue, 23 Oct 2001 12:51:51 -0400
>
> It appears that the javac being executed is coming
from
> JDK 1.1.8.  Is JDK1.1.8 what you want to be using,
> or is an old javac being picked up by mistake?  If
> JDK 1.1.8 is correct, I would like to see the log
> for the "detect:" through "init:" targets.
>
> Larry
>
--- Bill Cai <wi...@yahoo.com> wrote:
> I always got the following error when building
> tomcat
> by using ant. I tried ant 1.1 1.2 1.4. Any idea?
> 
> tomcat_util:
>     [javac] Compiling 91 source files to
>
/usr/local/jakarta/jakarta-tomcat-3.3-dev-src/build/tomcat/classes
>     [javac] javac: invalid flag: -sourcepath
>     [javac] use: javac
>
[-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
> path][-nowrite][-deprecation][-d dir][-J<runtime
> flag>] file.java...
> 
> BUILD FAILED
> 
>
/usr/local/jakarta/jakarta-tomcat-3.3-dev-src/build.xml:206:
> Compile failed, messages should have been provided.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com