I have the following XML in an ant script .

 <target name="run" depends="external">
         <java classname="ie.emuse.tutorial.ant.test" fork="yes">
        <classpath>
         <pathelement path="${outputDir}"/>
         <pathelement path="${java.class.path}"/>
        </classpath>
       </java>
   </target>

It works fine, no problems , note that I have set the fork attribute to yes
the default is no. However if I remove the fork attribute I get a 
java.lang.NoSuchMethodException error. If I am compiling a large project and

I want to have a variety of tests going on as the project is built this
means 
that I will be forking JVM's all over the place, not a pretty sight ...

Can anyone give me an idea as to the cause of this problem.

I suspect that it has something to do with this "build.sysclasspath" can
anyone 
throw any light on the matter ?

Thanks

Bryan








perl -e 'print
pack("c*",0x62,0x72,0x79,0x61,0x0,0x6E,0x68,0x75,0x6E,0x74)."\n";'

___________________________________________

eMuse Technologies
Unit 24, Trinity Enterprise Centre,
Pearse Street, Dublin 2, Ireland

Tel:  353-1-671-7317
Fax:  353-1-671-7319

website: www.emuse.ie 
email: [EMAIL PROTECTED] 
___________________________________________

This message has been scanned for viruses using GroupShield for Exchange 4.5

CONFIDENTIALITY NOTICE - The information contained in this email message is
intended only for confidential use of the named recipient. If the reader is
not the intended recipient or the person responsible for delivering it to
the recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination or copying of this
communication is strictly prohibited. If you have received this in error,
please notify the sender immediately.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to