Errors in running Ant scripts


I am trying to run  a ant script through RAD j2ee project. It ran fine from one computer RAD j2ee project. It is not running on other computer with similar RAD project set up, references etc by Complaining like cannot found.

In the classpaath i see that jdbcresultset  jar though. No compilation errors as such in work space as well.

Not sure why Ant script does not run and abruptly stops in middle and throws error message saying cannot find cannot found.

Any ideas, sample code, resources highly appreciated. Thanks in advance
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mick BarryJava DeveloperCommented:
is it in the classpath specified in the ant build file?
Best post your build.xml
That error ALWAYS is a classpath error (unless the class name supplied is wrong of course).

Just because you set the system classpath to something (there's no need to ever do that) doesn't mean it's going to be used by an application.
Any properly configured Java application sets its own classpath to include what it needs and only what it needs.
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

If you're still having difficulties, run the following and post the file ant.log here:
ant -d &>ant.log

Open in new window

gudii9Author Commented:
On the second machine it complains
    [javac] file com\ibm\ws\ffdc\FFDCSelfIntrospectable.class not found like

    [javac] C:\xyz_WorkSpace\060909_1\ cannot access

    [javac] file com\ibm\ws\ffdc\FFDCSelfIntrospectable.class not found

    [javac] if (resultSet instanceof WSJdbcResultSet) {

    [javac] ^

    [javac] Note: C:\xyz_WorkSpace\ uses or overrides a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] 1 error



 but on first machinee it works fine. I want to know under which jar does
 FFDCSelfIntrospectable.class resides in so that i can copy paste same jar from first working machine to second  not working machine. please advise
That's a Webshpere class. If you search on the classname under your Websphere tree with this app, you should find the jar:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mick BarryJava DeveloperCommented:
check the build path used on the good machine and compare the directory contents with whats on the bad nachine. that should show you whats different

running ant in verbose mode may also help
gudii9Author Commented:
Thank you very much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.