Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problems running ant from wtp
Problems running ant from wtp [message #145950] Wed, 02 November 2005 18:26 Go to next message
Eclipse UserFriend
Originally posted by: seamuskc2000.yahoo.com

Howdy,
I recently installed wtp-all-in-one-0.7-win32.zip on winXP and for the most part everything is running fine, one problem I've run into though is that I can't run external ant builds. From within a project I try to run targets from a build.xml file and get an error message of "Could not find the main class. Program will exit." The log file contains the following:
!ENTRY org.eclipse.ant.ui 4 120 2005-11-02 09:39:48.711
!MESSAGE Error logged from Ant UI:
!STACK 0
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBu ildListener$ServerConnection.run(RemoteAntBuildListener.java :97)

This same build file runs fine from my previous version of eclipse (Version: 3.0.2). Has anybody else run into this problem? Any input would be appreciated. Thanks a lot
Seamus
Re: Problems running ant from wtp [message #146860 is a reply to message #145950] Sun, 13 November 2005 00:30 Go to previous message
Vijay Bhadriraju is currently offline Vijay BhadrirajuFriend
Messages: 67
Registered: July 2009
Member
Seamus wrote:
> Howdy,
> I recently installed wtp-all-in-one-0.7-win32.zip on winXP and for the most part everything is running fine, one problem I've run into though is that I can't run external ant builds. From within a project I try to run targets from a build.xml file and get an error message of "Could not find the main class. Program will exit." The log file contains the following:
> !ENTRY org.eclipse.ant.ui 4 120 2005-11-02 09:39:48.711
> !MESSAGE Error logged from Ant UI:
> !STACK 0
> java.net.SocketTimeoutException: Accept timed out
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.accept(Unknown Source)
> at java.net.ServerSocket.implAccept(Unknown Source)
> at java.net.ServerSocket.accept(Unknown Source)
> at org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBu ildListener$ServerConnection.run(RemoteAntBuildListener.java :97)
>
> This same build file runs fine from my previous version of eclipse (Version: 3.0.2). Has anybody else run into this problem? Any input would be appreciated. Thanks a lot
> Seamus


I would post this question on the eclipse newsgroup rather than the WTP
newssgroup as Ant functionality is provided by base eclipse and you will
have a good chance of getting the correct answer.

- Vijay
Previous Topic:WTP and eclipse 3.2
Next Topic:Connector Project Build Question
Goto Forum:
  


Current Time: Tue Sep 24 23:46:34 GMT 2024

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

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

Back to the top