--- "Kyle R . Burton" <[EMAIL PROTECTED]> wrote:
> > it works and if I put together an ant script to do the same thing:
> > <project name="Cl" default="xtest" basedir=".">
> > <target name="xtest" description="Runx tests">
> > <java classname="engine.ComputeEngine" classpath="." />
> > </target>
> > </project>
>
> If I include the systme classpath and include fork, it works for me:
>
> <target name="xtest" description="Runx tests">
> <java fork="yes" classname="engine.ComputeEngine"
> classpath="${java.class.path}:." />
> </target>
Except you shouldn't really need to fork. (Unless maybe there's some Java
classloading weirdness involved that my little test [of running my own
class from "."] didn't hit? If you run it (non-forked) with Ant's -debug,
you'll see output like "Class java.lang.Object loaded from parent loader",
so maybe doing that might give some clue.)
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>