| Eclipse Ant Tasks don't work on using the Ant Launcher in M8 [message #157492] | 
Thu, 06 May 2004 09:11   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 
> 
> 
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05141 seconds