are you sure that you're using the right tools.jar (ie corresponds to the one you're building with)? Could conceivalby be on your classpath in multiple places, so check classpath in order (like javac will)

Is there a strong reason for using ant 1.5.1 rather than current release of 1.6.5? And why not use a "binary" release anyway, given that it is (I think...) a pure java package...

-- Tim


shyama wrote:

Hi Bernhard,

Thanks though. My classpath is containing /java/lib/tools.jar. Please
let me know if it needs some other .jar files to build.
Thanks
BS




-----Original Message-----
From: Bernhard Slominski [mailto:[EMAIL PROTECTED]

Sent: Friday, July 01, 2005 3:09 PM
To: 'Tomcat Users List'
Subject: AW: error while building with jakarta-ant-1.5.1



It looks like the tools.jar is missing in your classpath, this is not
part of the JRE but the jdk and located under you jdk directory under
the lib subdirectory.

Cheers

Bernhard


-----Ursprüngliche Nachricht-----
Von: shyama [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 1. Juli 2005 11:13
An: [email protected]
Betreff: Reg:error while building with jakarta-ant-1.5.1





Hi All,



While Iam building my project on itanium platform, the
following errors
have been reported.


Can anyone help me out ?


Thanks,
BS
======================================================================
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml



bootstrap:



prepare:



check_for_optional_packages:



build: /Tomcat/jakarta-ant-1.5.1/src/main/org/apache/tools/ant/taskde
fs/optiona
l/Javah.java:349: cannot resolve symbol
symbol  : constructor Main (java.lang.String[])
location: class com.sun.tools.javah.Main
               = new com.sun.tools.javah.Main(cmd.getArguments());
                 ^
/Tomcat/jakarta-ant-1.5.1/src/main/org/apache/tools/ant/taskde
fs/optiona
l/Javah.java:350: cannot resolve symbol
symbol  : method run ()
location: class com.sun.tools.javah.Main
           main.run();
               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
2 errors



BUILD FAILED







Confidentiality Notice
The information contained in this electronic


message and any attachments to this message are
intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information.
If you are not the intended recipient, please notify


the sender at Wipro or [EMAIL PROTECTED] immediately


and destroy all copies of this message and any attachments.




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


Confidentiality Notice
The information contained in this electronic

message and any attachments to this message are
intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information.
If you are not the intended recipient, please notify

the sender at Wipro or [EMAIL PROTECTED] immediately

and destroy all copies of this message and any attachments.

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





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

Reply via email to