Running ANT in separate VM? [message #74026] |
Tue, 08 July 2003 11:40  |
Eclipse User |
|
|
|
Originally posted by: bob.mccune.ambientconsulting.com
I understand it is possible to run ANT in a separate VM and was hoping
someone could explain how this can be done. Any ideas?
TIA,
Bob
P.S.
I'm running 2.1.1
|
|
|
|
|
|
|
Re: Running ANT in separate VM? [message #79978 is a reply to message #75540] |
Thu, 24 July 2003 19:04   |
Eclipse User |
|
|
|
Originally posted by: noemail.blah.com
I feel like I'm missing something here. How do I use that?
Inside eclispe, I can run an external command (run->java application), is
this where I put this? If so, how? I see "main class:", then arguments, do
I cut up the line below to fit? I tried that and I get nothing (no output
in the window).
I don't see how to replace the command to run for ant, so I figure the above
is what I should do.
What am I doing wrong?
Also, where do I put the target to execute, maybe on the end?
Thanks.
-Jeff
"Yves" <yves@somewhere.com> wrote in message
news:beua1c$qle$1@eclipse.org...
> You could execute the ANT script through a batch file.
> Use something like :
>
> "java -cp H:\Development\ECLIPSES\2.1\eclipse\startup.jar
> org.eclipse.core.launcher.Main -application
> org.eclipse.ant.core.antRunner -buildfile
> H:\Development\ECLIPSES\myworkspace\myproject\scripts\antscr ipt.xml
> -Declipse-home=H:\Development\ECLIPSES\2.1\eclipse
>
> Bob McCune wrote:
> > I understand it is possible to run ANT in a separate VM and was hoping
> > someone could explain how this can be done. Any ideas?
> >
> > TIA,
> > Bob
> >
> > P.S.
> > I'm running 2.1.1
> >
> >
>
|
|
|
|
Re: Running ANT in separate VM? [message #80295 is a reply to message #79992] |
Fri, 25 July 2003 11:52  |
Eclipse User |
|
|
|
Or us the external tools support to launch the bat file.
See Run menu> External Tools>External Tools...
Create a new Program launch configuration
Set the external tool location
Run.
HTH
Darins
"Michael R Head" <burner@zclipse.org> wrote in message
news:pan.2003.07.24.23.16.59.132171@zclipse.org...
> On Mon, 14 Jul 2003 15:09:19 +0200, Yves wrote:
>
> > You could execute the ANT script through a batch file.
> > Use something like :
> >
> > "java -cp H:\Development\ECLIPSES\2.1\eclipse\startup.jar
> > org.eclipse.core.launcher.Main -application
> > org.eclipse.ant.core.antRunner -buildfile
> > H:\Development\ECLIPSES\myworkspace\myproject\scripts\antscr ipt.xml
> > -Declipse-home=H:\Development\ECLIPSES\2.1\eclipse
> >
>
> Actually, in this case, you could probably use the runtime workbench
> and specify the org.eclipse.ant.core.antRunner application...
>
> mike
>
> --
> http://zclipse.org
>
|
|
|
Powered by
FUDForum. Page generated in 0.04533 seconds