classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs commits and java.util.regex


From: John Leuner
Subject: cvs commits and java.util.regex
Date: Fri, 8 Mar 2002 18:31:09 +0000
User-agent: Mutt/1.3.27i

> I ran into a problem when compiling with Jikes.  I had set the
> environment variable BOOTCLASSPATH to Sun's rt.jar, so that I could use
> jikes as a dropin replacement to javac, without specifying -classpath,
> for regular Java files (ie. not from the Classpath project).  When I
> back went to compile Classpath, this sucked in files from rt.jar when
> they didn't appear in Classpath, and gave me a clean compile even though
> I was expecting failure (because I referenced java.util.regex, which is
> not yet in Classpath).
> 
> Someone with a little more autoconf knowledge than me should figure out
> how to make the default command-line arguments to Jikes include an
> explicit -bootclasspath to override any environment variable.  The
> cleanest way to guarantee that Jikes is only compiling Classpath files,
> and not mixing in some other library because of the environment, is to
> compile with these flags:
> 
> jikes -bootclasspath '' -extdirs '' -sourcepath '' -classpath <path to
> all Classpath files> @classes

How should we build Classpath without regex?

John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]