You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by "Bhatia Praveen, HCLT-Japan" <pr...@hcltech.co.jp> on 2005/06/14 10:01:50 UTC
RE: ECLIPSE-ANT: starting stopping forrest through ant scprit in
ecli pse
Ferdinand,
> Is there a way to STOP the jetty server started by 'forrest run' through
ant
> Script in eclipse?
>I am using this dirty hack of calling
>C:\WINDOWS\system32\taskkill.exe /F /IM java.exe
>that works without me understanding why it doesn't bring down eclipse
>as well. But it does.
====================================
Yes your trick works. I think it doesn't kill the eclipse because
eclipse in the task manager appears as eclipse.exe and is running javaw.exe
rather than java.exe which the hack is killing.
Praveen
Re: ECLIPSE-ANT: starting stopping forrest through ant scprit in ecli pse
Posted by Ferdinand Soethe <sa...@soethe.net>.
Ross Gardler wrote:
> This is becoming an increasingly common request on this list. After the
> 0.7 release I will create a release for the plugin and make it available
> via the Eclipse upgrade mechanism.
Great idea.
--
Ferdinand Soethe
Re: ECLIPSE-ANT: starting stopping forrest through ant scprit in
ecli pse
Posted by Ross Gardler <rg...@apache.org>.
Ferdinand Soethe wrote:
> Bhatia Praveen, HCLT-Japan wrote:
>
>
>>Yes your trick works. I think it doesn't kill the eclipse because
>>eclipse in the task manager appears as eclipse.exe and is running javaw.exe
>>rather than java.exe which the hack is killing.
>
>
> Ah, right. Thanks for explaining that. It means that one needs to be
> careful as you might kill other java-based software nevertheless.
Which is preciseky why we created the Eclipse plugin. Your proposed
method is dangerous.
This is becoming an increasingly common request on this list. After the
0.7 release I will create a release for the plugin and make it available
via the Eclipse upgrade mechanism.
Ross
Re: ECLIPSE-ANT: starting stopping forrest through ant scprit in ecli pse
Posted by Ferdinand Soethe <sa...@soethe.net>.
Bhatia Praveen, HCLT-Japan wrote:
> Yes your trick works. I think it doesn't kill the eclipse because
> eclipse in the task manager appears as eclipse.exe and is running javaw.exe
> rather than java.exe which the hack is killing.
Ah, right. Thanks for explaining that. It means that one needs to be
careful as you might kill other java-based software nevertheless.
--
Ferdinand Soethe