Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Ant and firewall problem
Ant and firewall problem [message #299732] Thu, 23 February 2006 05:31 Go to next message
Eclipse UserFriend
Hi,

I have problems when running Ant scripts in separate VMs (no problem
when running in the same VM). If I disable my Firewall no problem at all.

If the firewall is enabled, there is no real error but no output in the
console and sometimes the tasks does not seem to be started.

The java executable is trusted and excluded from any firewall rule and
there is no entry about any blocked port in the firewall log ;-(

Could anyone explain that phenomenon? How exactly does the Ant run in
the external VM communicate with eclipse - via sockets?

The firewall is Agnitum Outpost Firewall Pro. Anyone with the same
problems out there?

Thanks in advance,
Jan
Re: Ant and firewall problem [message #299744 is a reply to message #299732] Thu, 23 February 2006 11:04 Go to previous message
Eclipse UserFriend
The console output from the separate VM Ant run is communicated back to
Eclipse via a socket.
The port is determined at launch time using the first free port on localhost
using org.eclipse.jdt.launching.SocketUtil.findFreePort() which just uses
the new ServerSocket(0) support.

HTH
Darins

"Jan Mauersberger" <mauersberger@ikv.de> wrote in message
news:dtk2ue$cki$1@utils.eclipse.org...
> Hi,
>
> I have problems when running Ant scripts in separate VMs (no problem when
> running in the same VM). If I disable my Firewall no problem at all.
>
> If the firewall is enabled, there is no real error but no output in the
> console and sometimes the tasks does not seem to be started.
>
> The java executable is trusted and excluded from any firewall rule and
> there is no entry about any blocked port in the firewall log ;-(
>
> Could anyone explain that phenomenon? How exactly does the Ant run in the
> external VM communicate with eclipse - via sockets?
>
> The firewall is Agnitum Outpost Firewall Pro. Anyone with the same
> problems out there?
>
> Thanks in advance,
> Jan
Previous Topic:Getting Action from ActionSet & setSelection trouble
Next Topic:Loading icons from extension point
Goto Forum:
  


Current Time: Tue Jun 03 06:38:36 EDT 2025

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

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

Back to the top