Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Ant Tasks don't work on using the Ant Launcher in M8
Eclipse Ant Tasks don't work on using the Ant Launcher in M8 [message #157492] Thu, 06 May 2004 13:11 Go to next message
Eclipse UserFriend
Originally posted by: etarun.blr.cognizant.com

Hi all,

The eclipse ant-tasks, ex <eclipse.convertPath>, etc don't seem to work
using the Ant launcher within the eclipse environment. (gives a
ClassNotFoundException). One needs to made use of the antRunner
applicatione entry point and use a batch script whic does:

%JAVAEXE% -cp %STARTUPJAR% org.eclipse.core.launcher.Main -noupdate
-application
org.eclipse.ant.core.antRunner -data %WORKSPACE% -buildfile %BUILDFILE%

I am unsure whether I am doing something wrong or whether this is this the
intented behaviour. (which seems quite limiting)

All help appreciated,
Tarun
Re: Eclipse Ant Tasks don't work on using the Ant Launcher in M8 [message #157531 is a reply to message #157492] Thu, 06 May 2004 16:26 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Not the intended behavior.

The Eclipse Ant tasks need the context of the Eclipse workspace to work
correctly.
Set builds that use the Eclipse Ant tasks to run in the same VM as Eclipse.
See the JRE tab for that particular Ant launch configuration.

HTH
Darins

"Tarun Ramakrishna Elankath" <etarun@blr.cognizant.com> wrote in message
news:c7ddi9$45u$1@eclipse.org...
> Hi all,
>
> The eclipse ant-tasks, ex <eclipse.convertPath>, etc don't seem to work
> using the Ant launcher within the eclipse environment. (gives a
> ClassNotFoundException). One needs to made use of the antRunner
> applicatione entry point and use a batch script whic does:
>
> %JAVAEXE% -cp %STARTUPJAR% org.eclipse.core.launcher.Main -noupdate
> -application
> org.eclipse.ant.core.antRunner -data %WORKSPACE% -buildfile %BUILDFILE%
>
> I am unsure whether I am doing something wrong or whether this is this the
> intented behaviour. (which seems quite limiting)
>
> All help appreciated,
> Tarun
>
>
>
Previous Topic:Sysdeo Eclipse Preferences Now Broken?
Next Topic:junit & project organization in M3.0
Goto Forum:
  


Current Time: Thu Dec 26 14:05:21 GMT 2024

Powered by FUDForum. Page generated in 0.03299 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top