Re: Can't use Ant from within Eclipse

From: Denise Howard (dhowar..gp.com)
Date: Mon Aug 30 2004 - 12:58:03 EDT

  • Next message: Marc Guenther: "Re: Can't install WOLips Profiling in Eclipse 3.0"

    Hi Ulrich--

    Thanks for the response. I did this but it made no difference--Eclipse just
    stares back at me and nothing occurs behind the scenes.

    Denise

    > From: Ulrich Köster <ulrich@objectstyle.org>
    > Date: Sat, 28 Aug 2004 18:28:40 +0200
    > To: "WOLips <woproject-dev@objectstyle.org>" <woproject-dev@objectstyle.org>
    > Subject: Re: Can't use Ant from within Eclipse
    >
    > Hi Denise,
    >
    > try to restore the defaults in Eclipse's ant preferences.
    >
    > Ulrich
    >
    > Am 28.08.2004 um 04:42 schrieb Denise Howard:
    >
    >> Hi--
    >>
    >> This is slightly off-topic for the list but I hope someone can help.
    >>
    >> Configuration: I'm running Mac OS X 10.3.5, Eclipse 3.0.0, JBoss 3.2,
    >> and
    >> Ant 1.6.1.
    >>
    >> Problem: I can't do any Ant-related stuff from within Eclipse. For
    >> example
    >> if I have a project going and I select packaging-build.xml and
    >> right-click
    >> to select Run->Ant Build (there are two Ant Build items in the popup
    >> list--select first one) I get an "Errors Running Operations" alert
    >> dialog:
    >>
    >> Launching (Error: An internal error occurred during: "Launching").
    >> An internal error occurred during: "Launching".
    >> java.lang.NoSuchMethodError:
    >> org.eclipse.ant.core.AntCorePreferences.getRemoteAntProperties()Ljava.u
    >> til/L
    >> ist;
    >> org.eclipse.ant.internal.ui.launchConfiguratios.AntLaunchDelegate.gener
    >> ateCo
    >> mmandLine(AntLaunchDelegate.java:331)
    >> Etc....
    >>
    >> If I choose the second Ant Build item in the popup list, nothing at all
    >> occurs in Eclipse but the following appears in the system console (not
    >> the
    >> one in Eclipse):
    >>
    >> !ENTRY org.eclipse.ui 4 4 Aug 27, 2004 00:21:49.876
    >> !MESSAGE Unhandled event loop exception
    >> Unhandled event loop exception
    >> Reason:
    >>
    >> !ENTRY org.eclipse.ui 4 0 Aug 27, 2004 00:21:49.878
    >> !MESSAGE
    >> org.eclipse.ant.core.AntCorePreferences.getCustomPropertyFiles(Z)[Ljava
    >> /lang
    >> /String;
    >> !STACK 0
    >> java.lang.NoSuchMethodError:
    >> org.eclipse.ant.core.AntCorePreferences.getCustomPropertyFiles(Z)[Ljava
    >> /lang
    >> /String;
    >> at
    >> org.eclipse.ant.internal.ui.preferences.AntPropertiesBlock.setEnabled(A
    >> ntPro
    >> pertiesBlock.java:438)
    >> Etc....
    >>
    >> Xdoclet is similarly useless.
    >>
    >> Ant- and Xdoclet-related entries appear in the Eclipse preferences and
    >> in
    >> the menus, and I can run Ant just fine from a command line. In the app
    >> preferences window if I
    >>
    >> I spent two hours rooting around in the docs and folders looking for
    >> possible reasons and ways to fix it, but came up empty. What's wrong
    >> with
    >> my environment?
    >>
    >> Denise
    >>
    >>
    >>
    >> ________________________________________________________________
    >> This message could have been secured by PGP Universal. To secure
    >> future messages from this sender, please click this link:
    >>
    >> woproject-dev@objectstyle.org">https://keys.pgp.com/b/b.e?r=woproject-dev@objectstyle.org
    >>
    >

    ________________________________________________________________
    This message could have been secured by PGP Universal. To secure
    future messages from this sender, please click this link:

    woproject-dev@objectstyle.org">https://keys.pgp.com/b/b.e?r=woproject-dev@objectstyle.org



    This archive was generated by hypermail 2.0.0 : Mon Aug 30 2004 - 13:06:36 EDT