I have an existing Java project with an ant build scrip, build.xml. I
tried to create an Eclipse project by using the "Java Project from
Existing Ant Buildfile" wizard. However, every time I select the
build.xml file in the "Ant Buildfile" field, there is an error
The file selected is not a valid Ant buildfile
However, I can use ant to build using the same build.xml file. My
questions:
1. Is there a more detailed error message from Eclipse about what's
wrong with the "build.xml" ant file I specified in the New
project wizard?
2. How is the Ant/Eclipse integration happen? Which ant executable
does Eclipse use? Could it be that my problem is actually a
configuration problem?
Here are my environments.
OS: Linux river 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008
i686 GNU/Linux
Eclipse: Version: 3.2.2
Build id: M20070212-1330 ('Ubuntu' version: 3.2.2-3ubuntu3)
Java: Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode,
sharing)
Ant: Apache Ant version 1.7.0 compiled on August 29 2007
Thanks in advance,
Estro
>I have an existing Java project with an ant build scrip, build.xml. I
>tried to create an Eclipse project by using the "Java Project from
>Existing Ant Buildfile" wizard. However, every time I select the
>build.xml file in the "Ant Buildfile" field, there is an error
try feeding it one of mine. See http://mindprod.com/jgloss/ant.html
If that does not work, try trimming yours down to the bare minimum.
Perhaps it understands only simple patterns.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Estroc - 10 Mar 2008 18:42 GMT
On Mar 7, 3:36 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> >I have an existing Java project with an ant build scrip, build.xml. I
> >tried to create an Eclipse project by using the "Java Project from
[quoted text clipped - 9 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Roedy,
Thanks for the reply. I tried the Ant plugin, and found that Eclipse
actually keeps a log (http://www.eclipse.org/eclipse/platform-core/
documents/3.1/debug.html) file for these kind of failures. See the
stack dump below. Looks like the problem is a missing java class for
"ant". How can I fix this missing class problem?
Thanks,
Estro
!ENTRY org.eclipse.jface 4 2 2008-03-09 01:05:17.815
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
at org.apache.tools.ant.Project.initProperties(Project.java:308)
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.eclipse.ant.internal.ui.model.AntModelProject.init(AntModelProject.java:
105)
at
org.eclipse.ant.internal.ui.model.AntModel.initializeProject(AntModel.java:
367)
at
org.eclipse.ant.internal.ui.model.AntModel.prepareForFullParse(AntModel.java:
341)
at
org.eclipse.ant.internal.ui.model.AntModel.parseDocument(AntModel.java:
305)
at org.eclipse.ant.internal.ui.model.AntModel.reconcile(AntModel.java:
263)
at
org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:
1383)
at
org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:
1393)
at org.eclipse.ant.internal.ui.AntUtil.getTargets(AntUtil.java:285)
at
org.eclipse.ant.internal.ui.model.AntProjectNodeProxy.parseBuildFile(AntProjectNodeProxy.java:
63)
at
org.eclipse.ant.internal.ui.model.AntProjectNodeProxy.parseBuildFile(AntProjectNodeProxy.java:
86)
at
org.eclipse.ant.internal.ui.model.AntProjectNodeProxy.getLabel(AntProjectNodeProxy.java:
106)
at
org.eclipse.ant.internal.ui.model.AntModelLabelProvider.getText(AntModelLabelProvider.java:
36)
at
org.eclipse.jface.viewers.StructuredViewer.buildLabel(StructuredViewer.java:
2102)
at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:
258)
at org.eclipse.jface.viewers.AbstractTreeViewer
$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:95)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:858)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:
849)
at org.eclipse.jface.viewers.StructuredViewer
$UpdateItemSafeRunnable.run(StructuredViewer.java:465)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:858)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:
1955)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:
753)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createAddedElements(AbstractTreeViewer.java:
313)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalAdd(AbstractTreeViewer.java:
257)
at org.eclipse.jface.viewers.TreeViewer.internalAdd(TreeViewer.java:
910)
at
org.eclipse.jface.viewers.AbstractTreeViewer.add(AbstractTreeViewer.java:
136)
at
org.eclipse.jface.viewers.AbstractTreeViewer.add(AbstractTreeViewer.java:
602)
at
org.eclipse.ant.internal.ui.views.AntViewContentProvider.add(AntViewContentProvider.java:
44)
at org.eclipse.ant.internal.ui.views.AntView.addProject(AntView.java:
456)
at org.eclipse.ant.internal.ui.views.actions.AddBuildFilesAction
$1$1.run(AddBuildFilesAction.java:75)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
3157)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2859)
at org.eclipse.jface.operation.ModalContext
$ModalContextThread.block(ModalContext.java:158)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:
326)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:
479)
at
org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:
265)
at org.eclipse.ui.internal.progress.ProgressManager
$2.run(ProgressManager.java:894)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
67)
at
org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:
929)
at
org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:
904)
at
org.eclipse.ant.internal.ui.views.actions.AddBuildFilesAction.run(AddBuildFilesAction.java:
63)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
539)
at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem
$6.handleEvent(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:
95)
at org.eclipse.core.internal.runtime.PlatformActivator
$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.ant.ui 4 120 2008-03-09 01:05:29.452
!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(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBuildListener
$ServerConnection.run(RemoteAntBuildListener.java:95)
Roedy Green - 12 Mar 2008 08:26 GMT
>java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
sounds as if you are supposed to do something to register the ant
jars with Eclipse. Find the install docs.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Estroc - 13 Mar 2008 01:15 GMT
On Mar 12, 12:26 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> >java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
>
[quoted text clipped - 4 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Roedy,
I checked my Eclipse settings:
Windows -> Preferences -> Ant -> Runtime
and the entries in the Classpath tab are all seem OK:
Ant Home Entries
Global Entries
Contributed Entries
In particular, the first entry under "Ant Home Entries" is
/usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/ant.jar
and I double check using "jar -tvf" command on the "ant.jar".
There is indeed a "org/apache/tools/ant/Main.class" in that jar.
Everything seems OK, but it still gives me the following error.
Any idea what should I do.
Thanks in advance,
Estro
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
at org.apache.tools.ant.Project.initProperties(Project.java:
308)
at org.apache.tools.ant.Project.init(Project.java:295)
Roedy Green - 28 Mar 2008 13:38 GMT
>I checked my Eclipse settings:
> Windows -> Preferences -> Ant -> Runtime
>and the entries in the Classpath tab are all seem OK:
I can't give you specific help since I don't use Eclipse or Linux.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Estroc - 13 Mar 2008 01:15 GMT
On Mar 12, 12:26 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> >java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
>
[quoted text clipped - 4 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Roedy,
I checked my Eclipse settings:
Windows -> Preferences -> Ant -> Runtime
and the entries in the Classpath tab are all seem OK:
Ant Home Entries
Global Entries
Contributed Entries
In particular, the first entry under "Ant Home Entries" is
/usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/ant.jar
and I double check using "jar -tvf" command on the "ant.jar".
There is indeed a "org/apache/tools/ant/Main.class" in that jar.
Everything seems OK, but it still gives me the following error.
Any idea what should I do.
Thanks in advance,
Estro
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
at org.apache.tools.ant.Project.initProperties(Project.java:
308)
at org.apache.tools.ant.Project.init(Project.java:295)
Estroc - 13 Mar 2008 01:15 GMT
On Mar 12, 12:26 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> >java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
>
[quoted text clipped - 4 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Roedy,
I checked my Eclipse settings:
Windows -> Preferences -> Ant -> Runtime
and the entries in the Classpath tab are all seem OK:
Ant Home Entries
Global Entries
Contributed Entries
In particular, the first entry under "Ant Home Entries" is
/usr/lib/eclipse/plugins/org.apache.ant_1.6.5/lib/ant.jar
and I double check using "jar -tvf" command on the "ant.jar".
There is indeed a "org/apache/tools/ant/Main.class" in that jar.
Everything seems OK, but it still gives me the following error.
Any idea what should I do.
Thanks in advance,
Estro
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
at org.apache.tools.ant.Project.initProperties(Project.java:
308)
at org.apache.tools.ant.Project.init(Project.java:295)
Roedy Green - 28 Mar 2008 13:35 GMT
>Looks like the problem is a missing java class for
>"ant". How can I fix this missing class problem?
See http://mindprod.com/jgloss/ant.html
for how to install ant.
you need a SET ANT_HOME=F:\Program Files\apache-ant-1.7.0
I presume that is how the IDE finds the ant classes.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Estroc - 10 Mar 2008 18:42 GMT
On Mar 7, 3:36 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> >I have an existing Java project with an ant build scrip, build.xml. I
> >tried to create an Eclipse project by using the "Java Project from
[quoted text clipped - 9 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com
Roedy,
Thanks for the reply. I tried the Ant plugin, and found that Eclipse
actually keeps a log (http://www.eclipse.org/eclipse/platform-core/
documents/3.1/debug.html) file for these kind of failures. See the
stack dump below. Looks like the problem is a missing java class for
"ant". How can I fix this missing class problem?
Thanks,
Estro
!ENTRY org.eclipse.jface 4 2 2008-03-09 01:05:17.815
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
at org.apache.tools.ant.Project.initProperties(Project.java:308)
at org.apache.tools.ant.Project.init(Project.java:295)
at
org.eclipse.ant.internal.ui.model.AntModelProject.init(AntModelProject.java:
105)
at
org.eclipse.ant.internal.ui.model.AntModel.initializeProject(AntModel.java:
367)
at
org.eclipse.ant.internal.ui.model.AntModel.prepareForFullParse(AntModel.java:
341)
at
org.eclipse.ant.internal.ui.model.AntModel.parseDocument(AntModel.java:
305)
at org.eclipse.ant.internal.ui.model.AntModel.reconcile(AntModel.java:
263)
at
org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:
1383)
at
org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:
1393)
at org.eclipse.ant.internal.ui.AntUtil.getTargets(AntUtil.java:285)
at
org.eclipse.ant.internal.ui.model.AntProjectNodeProxy.parseBuildFile(AntProjectNodeProxy.java:
63)
at
org.eclipse.ant.internal.ui.model.AntProjectNodeProxy.parseBuildFile(AntProjectNodeProxy.java:
86)
at
org.eclipse.ant.internal.ui.model.AntProjectNodeProxy.getLabel(AntProjectNodeProxy.java:
106)
at
org.eclipse.ant.internal.ui.model.AntModelLabelProvider.getText(AntModelLabelProvider.java:
36)
at
org.eclipse.jface.viewers.StructuredViewer.buildLabel(StructuredViewer.java:
2102)
at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:
258)
at org.eclipse.jface.viewers.AbstractTreeViewer
$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:95)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:858)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:
849)
at org.eclipse.jface.viewers.StructuredViewer
$UpdateItemSafeRunnable.run(StructuredViewer.java:465)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:858)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:
1955)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:
753)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createAddedElements(AbstractTreeViewer.java:
313)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalAdd(AbstractTreeViewer.java:
257)
at org.eclipse.jface.viewers.TreeViewer.internalAdd(TreeViewer.java:
910)
at
org.eclipse.jface.viewers.AbstractTreeViewer.add(AbstractTreeViewer.java:
136)
at
org.eclipse.jface.viewers.AbstractTreeViewer.add(AbstractTreeViewer.java:
602)
at
org.eclipse.ant.internal.ui.views.AntViewContentProvider.add(AntViewContentProvider.java:
44)
at org.eclipse.ant.internal.ui.views.AntView.addProject(AntView.java:
456)
at org.eclipse.ant.internal.ui.views.actions.AddBuildFilesAction
$1$1.run(AddBuildFilesAction.java:75)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
3157)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2859)
at org.eclipse.jface.operation.ModalContext
$ModalContextThread.block(ModalContext.java:158)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:
326)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:
479)
at
org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:
265)
at org.eclipse.ui.internal.progress.ProgressManager
$2.run(ProgressManager.java:894)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
67)
at
org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:
929)
at
org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:
904)
at
org.eclipse.ant.internal.ui.views.actions.AddBuildFilesAction.run(AddBuildFilesAction.java:
63)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
539)
at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem
$6.handleEvent(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:
95)
at org.eclipse.core.internal.runtime.PlatformActivator
$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.ant.ui 4 120 2008-03-09 01:05:29.452
!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(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBuildListener
$ServerConnection.run(RemoteAntBuildListener.java:95)