Public bug reported:

I can't get to have eclipse to use an ant file.

here's the log output:

!ENTRY org.eclipse.jface 4 2 2007-08-24 09:45:41.600
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
        at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
        at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
        at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
        at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
        at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
        at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
        at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
        at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
        at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        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.AntViewDropAdapter.processString(AntViewDropAdapter.java:77)
        at 
org.eclipse.ant.internal.ui.views.AntViewDropAdapter.access$0(AntViewDropAdapter.java:62)
        at 
org.eclipse.ant.internal.ui.views.AntViewDropAdapter$1.run(AntViewDropAdapter.java:48)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at 
org.eclipse.ant.internal.ui.views.AntViewDropAdapter.drop(AntViewDropAdapter.java:45)
        at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:65)
        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.Widget.sendEvent(Widget.java:1109)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:935)
        at 
org.eclipse.swt.dnd.DropTarget.drag_data_received(DropTarget.java:363)
        at 
org.eclipse.swt.dnd.DropTarget.Drag_Data_Received(DropTarget.java:246)
        at org.eclipse.swt.internal.gtk.OS._gtk_drag_get_data(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_drag_get_data(OS.java:4067)
        at org.eclipse.swt.dnd.DropTarget.drag_drop(DropTarget.java:405)
        at org.eclipse.swt.dnd.DropTarget.Drag_Drop(DropTarget.java:253)
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5291)
        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1149)
        at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native 
Method)
        at 
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1437)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2854)
        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:585)
        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)

I'm using sun-java5

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[gutsy] No ant support
https://bugs.launchpad.net/bugs/134537
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to