tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shyama" <Seshagiri.Sh...@wipro.com>
Subject RE: error while building with jakarta-ant-1.5.1
Date Fri, 01 Jul 2005 10:15:56 GMT

Hi Tim,

Iam sure that Iam using the right tools.jar, and it is containing the
class com.sun.tools.javah.Main

 3277 Tue Jan 01 00:00:00 PST 1980 com/sun/tools/javah/Util.class
  6298 Tue Jan 01 00:00:00 PST 1980 com/sun/tools/javah/OldHeaders.class
  4942 Tue Jan 01 00:00:00 PST 1980 com/sun/tools/javah/OldStubs.class
  3618 Tue Jan 01 00:00:00 PST 1980
com/sun/tools/javah/TypeSignature.class
  2657 Tue Jan 01 00:00:00 PST 1980 com/sun/tools/javah/Main.class

I just now found some info regarding this on this link:
http://sourceforge.net/mailarchive/forum.php?forum_id=3200&style=flat&vi
ewday=6&viewmonth=200402
Please go through this once and let me know your idea !!

Thanx
BS


-----Original Message-----
From: Tim Diggins [mailto:subscribed@red56.co.uk]
Sent: Friday, July 01, 2005 3:35 PM
To: Tomcat Users List
Subject: Re: error while building with jakarta-ant-1.5.1


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:bernhard.slominski@zooplus.com]
>
> 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:Seshagiri.Shyam@wipro.com]
>>Gesendet: Freitag, 1. Juli 2005 11:13
>>An: tomcat-user@jakarta.apache.org
>>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 Mailadmin@wipro.com immediately
>
>
>>and destroy all copies of this message and any attachments.
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 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 Mailadmin@wipro.com immediately
>
> and destroy all copies of this message and any attachments.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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 Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message