++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I have tried this already but this does not work. The issue here is to set that classpath
at a top level and make sure it is available to every forked process. Setting the system classpath
(windows) does the job but this is not a good solution. If we could set up a toplevel classpath
in init target and ensure it will be available to every target may solve the problem. I will
try this now.
Thanks
Raj
-----Original Message-----
From: Radha Sangal [mailto:Radha.Sangal@pega.com]
Sent: 20 December 2004 15:34
To: Ant Users List
Subject: RE: classpath
One problem I solved of class path in eclipse was to set it in
Project-->Properties->java Build-->libraries...
It might help!
-----Original Message-----
From: Rajiv Jaitly [mailto:Rajiv.Jaitly@lchclearnet.com]
Sent: Monday, December 20, 2004 10:17 AM
To: user@ant.apache.org
Subject: classpath
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hi,
I have defined an an ant target that does some work and while going
through its tasks it generates a java class and compiles it on the fly.
I am getting class not found error when i see that the class in defined
in the CLASSPATH for this target. But the same target runs fine if ran
from command prompt and system classpath (windows) included this jar. I
am running the ant script from Eclipse. I have defined the classpath in
the any target class path but it ignores it completely. How can i tell
ant to look into system classpath for information when it starts to run
this target. ? or could i init classpath in ant init target so it is
available to every target.
Thanks
Raj
**********************************************************************
This email is intended for the named recipient(s) only. Its contents
are confidential and may only be retained by the named recipient(s)
and may only be copied or disclosed with the consent of
LCH.Clearnet Limited. If you are not an intended recipient please
delete this e-mail and notify postmaster@lchclearnet.com.
The contents of this email are subject to contract in all cases,
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy. LCH.Clearnet Limited accepts no liability,
including liability for negligence, in respect of any statement in
this email.
LCH.Clearnet Limited, Registered Office: Aldgate House,
33 Aldgate High Street, London EC3N 1EA. Recognised as a Clearing
House under the Financial Services & Markets Act 2000. Reg in England
No.25932
Telephone: +44 20 7426 7000 Internet:
http://www.lchclearnet.com
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
**********************************************************************
This email is intended for the named recipient(s) only. Its contents
are confidential and may only be retained by the named recipient(s)
and may only be copied or disclosed with the consent of
LCH.Clearnet Limited. If you are not an intended recipient please
delete this e-mail and notify postmaster@lchclearnet.com.
The contents of this email are subject to contract in all cases,
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy. LCH.Clearnet Limited accepts no liability,
including liability for negligence, in respect of any statement in
this email.
LCH.Clearnet Limited, Registered Office: Aldgate House,
33 Aldgate High Street, London EC3N 1EA. Recognised as a Clearing
House under the Financial Services & Markets Act 2000. Reg in England No.25932
Telephone: +44 20 7426 7000 Internet: http://www.lchclearnet.com
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|