Skip to main content



      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 09: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 12:26 Go to previous message
Eclipse UserFriend
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: Sun May 04 08:57:54 EDT 2025

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

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

Back to the top