Menu

#30 Compilation Uses bootstrap-sheets.jar

open
nobody
None
7
2002-08-26
2002-08-26
No

Here's an interesting one.

Ant's compile uses all of the jar files in jars/ automatically.

But it seems to possibly be depending upon them in a
higher level of importance than the src directory: for
example:

Build a distribution. Do "ant.bat dist". Everything goes into
jars/bootstrap-sheets.jar
If you change the package of one class, or remove a class,
it'll still depend upon the old version in bootstrap-sheets.jar.

I had a compile happening where the .class files were still
using some files in the wrong package because they had
gotten into bootstrap-sheets.jar.

This could take a beginner days to figure out (it took me
days, and I'm not a beginner at Sheets), so we need to find
some workaround... Two possibilities I see at the moment:

a) get "." into the classpath earlier than the jar files (is it?
will this work?)
b) make builds not use jars/bootstrap-sheets.jar as libraries
in the classpath.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB