Hi Peter,
Thanks for your answer. And sorry for late reply, I was on vacation.
Peter Reilly wrote:
The task does strange things with the classloader.
My advice would be to use fork="yes" unless there
is a reason not to.
Yes, I see. fork="yes" solved the problem.
As regards the exception y
The task does strange things with the classloader.
My advice would be to use fork="yes" unless there
is a reason not to.
As regards the exception you are seeing, this is as far
as I can see behaviour as designed.
If one gives a classpath to the task, the classname
*must* be in the classpath, fo
Hi,
Can someone try to explain this behavior of java ant task:
gives:
java.lang.NoSuchMethodException: (...)ContextFactory.main
Which is what I expected. ContextFactory is class in JRE's lib rt.jar,
java task can find it, but it does not have main method. However, this task:
2ee.rmi.RMIInitialContextFactory as the initail context
>> factory.
>> I have done everything obvious to solve this problem but to no avail.
Has
>> anybody had any similar experiences and if so, how did they resolve
them?
>>
>> Thanks
>>
>> Angus
>>
t; factory.
>> I have done everything obvious to solve this problem but to no avail. Has
>> anybody had any similar experiences and if so, how did they resolve them?
>>
>> Thanks
>>
>> Angus
>> --
&
nce
of oracle.j2ee.rmi.RMIInitialContextFactory as the initail context
factory.
I have done everything obvious to solve this problem but to no avail. Has
anybody had any similar experiences and if so, how did they resolve them?
Thanks
Angus
--
View this message in context:
http://www.nabble.com/Java-task-classpath-p
://www.nabble.com/Java-task-classpath-problem-tf2026624.html#a5573041
Sent from the Ant - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]