Re: Classpath in Java task

2003-03-12 Thread John Guthrie
> > so my question is how do i get the rt.jar into my Java object's > > classpath? > > You could add the JRE libraries to the classpath you pass in to > but i don't want to have to hunt up where the jre is, or require folks using my task to do so either. i want to be able to pass on the classpath

Classpath in Java task

2003-03-12 Thread John Guthrie
i am writing a task that wraps a java routine. my (squonking good) copy of 'java development with ant' gives an example of this (p. 491). so in my task i create a Java object in my execute() and try to use that problem is that i set the classpath based on the task settings and, when i run it, i ge