Ant problemos [message #70332] |
Fri, 27 May 2005 09:47  |
Eclipse User |
|
|
|
Originally posted by: paulcohen.ozemail.com.au
Hi,
I have a problem that is really killing me.
I recently installed Eclipse3.1M7. JDK is V1.5.0_01
Ant builds ran fine in 3.1M6, but now every time I try to run an ant task
I get a popup with:
Title: Java Virtual Machine Launcher
Message: Could not find the main class. Program will exit.
Build and Executes/debugs of the project all work fine...Ant just does not
want to run.
I've checked the tools.jar and jre...all looks fine.
Any ideas...anyone..please?
Help....
ty,
pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Ant problemos [message #70984 is a reply to message #70973] |
Fri, 27 May 2005 15:08  |
Eclipse User |
|
|
|
Thank you.
There must be a bug in here somewhere...it should not have been soo hard to
figure this out.
I will attempt to play around with migration in this area to see what I can
find.
Darins
"Paul" <paulcohen@ozemail.com.au> wrote in message
news:9bee63ae24ad182d588aa63a58c380c9$1@www.eclipse.org...
> Success!!
> Thank you.
>
> Had to go to window/preferences/ant/runtime/
> and remove the old ones manually and add external jars.
> Now works fine.
>
> Strange how it did that because I dumped a whole directory from one G
> drive to C, without running it on G first, unless there is a workspace
> setting that held the ant home locations? These were also copied from G to
> C drive?
>
> So problem actually seemed to be just the ant home was screwed, as I just
> tested the same/diff workspace with "set an input handler" checked and
> it's all sweet.
>
> Thanks again for your time in talking me through this.
> Sometimes it's obvious, but an outside eye is what you need.
>
> Cheers,
> pc
>
|
|
|
Powered by
FUDForum. Page generated in 0.37411 seconds