--- Mark Womack <[EMAIL PROTECTED]> wrote: > OK, can someone tell me how they have their eclipse > project set up for > log4j? I was able to: > > - Create a respository location for the apache cvs > - Create a java project and synchronize it with > jakarta-log4j in the cvs > - Update all of the source into the project > workspace > > Now I want to get the build.xml to work, but it > keeps complaining that the > JAVA_HOME variable does not have the right value. > The javac command in ant > is failing.
See http://eclipsewiki.swiki.net/118
I've opted for including tools.jar in the ANT runtime classpath rather than the using the internal compiler, otherwise rmic doesn't work for compiling the examples.
Yep, adding tools.jar in the ANT runtime classpath seems to work well.
> > And how in the heck do I get eclipse to not do its > automatic build and just > to the ant build instead?
See http://eclipsewiki.swiki.net/126
The above mentions the problem but does not solve it completely.
<quote>
"One other time this is used is for certain users that prefer to use Ant builds instead. That is a more complicated topic."
</quote>
Anyway, many thanks for providing the appropriate links at eclipsewiki.
> > Uncle! > > thanks, > -Mark
-- Ceki Gülcü
For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]