[
https://issues.apache.org/jira/browse/AXIS2-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539784
]
Kent Tong commented on AXIS2-3178:
----------------------------------
It is because the plugin resets the ANT_HOME and replaces the default jars with
its own (Windows | Preferences | Ant | Runtime | Ant Home Entries), but it
doesn't seem to provide the org.apache.tools.ant.launch.AntMain class. This
class is normally included in the ant-launcher.jar.
As a work around, just resest ANT_HOME to something like
c:\eclipse\plugins\org.apache.ant (check the exact name).
> ANT scripts stop working after "Code Generator Wizard - Eclipse Plug-in"
> installed
> ----------------------------------------------------------------------------------
>
> Key: AXIS2-3178
> URL: https://issues.apache.org/jira/browse/AXIS2-3178
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.3
> Environment: Eclipse 3.3 (JEE Distro / Europa)
> Reporter: Dustin Henson
> Assignee: Lahiru Sandakith
>
> In Eclipse you can run ant scripts using the External Tools toolbar item.
> These stop working after the Code Generator Wizard is installed. The two
> areas don't seem like they should be related and I don't have any lead as to
> the cause, but I can recreate it consistently on my computer.
> To recreate:
> - Download and install the JEE Distro (Europa) of Eclipse 3.3
> - Create a simple ant script:
> <project name="project" default="test">
> <target name="test" description="Creates the JAR file for this
> library">
> <echo>Test</echo>
> </target>
> </project>
> - Set the ant script to run as an External Tools > Ant Build
> - Test it and it works
> - Download and install the 1.3 version of the "Code Generator Wizard -
> Eclipse Plug-in" tool
> - Restart Eclipse
> - Run the ANT script again and it hangs. Checking the error log via the
> Plug-in Development Perspective shows the following error:
> Error logged from Ant UI:
> 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.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:95)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]