Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Importing and running an existing project
Importing and running an existing project [message #247503] Sun, 03 February 2008 00:06 Go to next message
Eclipse UserFriend
Originally posted by: zoomclub.gmail.com

I'm trying to run an existing eclipse project but have had no luck. The
project I'm hoping to run is gervill-0.7 available at
https://gervill.dev.java.net/ via the download link.

After extracting the downloaded file I import the internal project
directory. The layout shows up in the explorer however, most files are
flagged with errors and they do not open up the files source into the
editor. I get a error message in the tab that opens instead that has a
details button on it.

There seems to be only one error but it affects all files, here is what
the problems shows for 220 errors:

"The declared package " does not match the expected package
"test.com.sun.media.sound.xxxFileName"

I've tried my newbie best at trying to alter the build path but have had
no luck. Is something not importing correctly? Does the gervill-0.7
project run elsewhere? I'm using jre6 and vista.

Thom
Re: Importing and running an existing project [message #247561 is a reply to message #247503] Sun, 03 February 2008 23:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zoomclub.gmail.com

I've had a bit more time to look into this import bug. Here are my results:

1) My old mac laptop running eclipse 3.2 imports and runs the project

2) The windows xp workstation at my day job imports and runs the project

3) My new vista laptop with Netbeans 6.0 importer works too, the project
runs just fine

4) After a reinstall of eclipse 3.3 on my vista laptop eclipse still can
not run the project, I've pasted the result of trying to open any of the
project source files after clicking on the details button below.

I'm at a loss as to why eclipse 3.3 on vista with jre6 is doing this, is
this a bug or something else?

Thom
Re: Importing and running an existing project [message #247565 is a reply to message #247561] Sun, 03 February 2008 23:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zoomclub.gmail.com

Forgot to paste in the "error opening the editor" info that eclipse gives
me when I click on the details button after trying to open a file in the
editor, here it is:

java.lang.IncompatibleClassChangeError
at
org.eclipse.jdt.internal.compiler.SourceElementParser.getTyp eReference(SourceElementParser.java:832)
at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeClass HeaderExtends(Parser.java:2125)
at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule( Parser.java:5107)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9020)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9251)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9208)
at
org.eclipse.jdt.internal.compiler.SourceElementParser.parseC ompilationUnit(SourceElementParser.java:1518)
at
org.eclipse.jdt.internal.core.CompilationUnit.buildStructure (CompilationUnit.java:148)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:229)
at
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:505)
at
org.eclipse.jdt.internal.core.BecomeWorkingCopyOperation.exe cuteOperation(BecomeWorkingCopyOperation.java:38)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:720)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:780)
at
org.eclipse.jdt.internal.core.CompilationUnit.becomeWorkingC opy(CompilationUnit.java:68)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocume ntProvider.createFileInfo(CompilationUnitDocumentProvider.ja va:952)
at
org.eclipse.ui.editors.text.TextFileDocumentProvider.connect (TextFileDocumentProvider.java:472)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocume ntProvider.connect(CompilationUnitDocumentProvider.java:1167 )
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(Abst ractTextEditor.java:3931)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(Status TextEditor.java:190)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetI nput(AbstractDecoratedTextEditor.java:1225)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.internalDo SetInput(JavaEditor.java:2167)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSetInput (JavaEditor.java:2140)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor .doSetInput(CompilationUnitEditor.java:1312)
at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:2994)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at
org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2451)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3012)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:794)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 9)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:179)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:400)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 04)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103 )
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112 )
at
org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:63)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:217)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:207)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:774)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:673)
at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:634)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2737)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2651)
at
org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPag e.java:2643)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2595)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2590)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2574)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2565)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:299)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:173)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:19 4)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:17 5)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDispatchAction.java:268)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchAction.java:244)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActio nGroup.handleOpen(PackageExplorerActionGroup.java:316)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$ 5.open(PackageExplorerPart.java:613)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:818)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1079)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1183)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:257)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Re: Importing and running an existing project [message #247569 is a reply to message #247561] Sun, 03 February 2008 23:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zoomclub.gmail.com

Here is the "error opening the editor" info eclipse shows when I click on
the details button after trying to open a project file:

java.lang.IncompatibleClassChangeError
at
org.eclipse.jdt.internal.compiler.SourceElementParser.getTyp eReference(SourceElementParser.java:832)
at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeClass HeaderExtends(Parser.java:2125)
at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule( Parser.java:5107)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9020)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9251)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9208)
at
org.eclipse.jdt.internal.compiler.SourceElementParser.parseC ompilationUnit(SourceElementParser.java:1518)
at
org.eclipse.jdt.internal.core.CompilationUnit.buildStructure (CompilationUnit.java:148)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:229)
at
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:505)
at
org.eclipse.jdt.internal.core.BecomeWorkingCopyOperation.exe cuteOperation(BecomeWorkingCopyOperation.java:38)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:720)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:780)
at
org.eclipse.jdt.internal.core.CompilationUnit.becomeWorkingC opy(CompilationUnit.java:68)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocume ntProvider.createFileInfo(CompilationUnitDocumentProvider.ja va:952)
at
org.eclipse.ui.editors.text.TextFileDocumentProvider.connect (TextFileDocumentProvider.java:472)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocume ntProvider.connect(CompilationUnitDocumentProvider.java:1167 )
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(Abst ractTextEditor.java:3931)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(Status TextEditor.java:190)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetI nput(AbstractDecoratedTextEditor.java:1225)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.internalDo SetInput(JavaEditor.java:2167)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSetInput (JavaEditor.java:2140)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor .doSetInput(CompilationUnitEditor.java:1312)
at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:2994)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at
org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2451)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3012)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:794)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 9)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:179)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:400)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 04)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103 )
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112 )
at
org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:63)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:217)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:207)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:774)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:673)
at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:634)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2737)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2651)
at
org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPag e.java:2643)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2595)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2590)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2574)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2565)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:299)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtility.java:173)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:19 4)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:17 5)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDispatchAction.java:268)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchAction.java:244)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActio nGroup.handleOpen(PackageExplorerActionGroup.java:316)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$ 5.open(PackageExplorerPart.java:613)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:818)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1079)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1183)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:257)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Re: Importing and running an existing project [message #247632 is a reply to message #247503] Mon, 04 February 2008 16:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zoomclub.gmail.com

Morning,

Does anyone have information on why the gervill project does not work with
eclipse 3.3 under vista?

Aside from the interesting results I got on different platforms (see other
posts on this thread) I have discovered that the project uses jtreg for
the code in the test directory of the gervill project. Apparently I need
to use Cygwin or MKS to run jtreg and not an IDE? The gervill developer
needed to use jtreg instead of jUnit to write the project for the OpenJDK,
jtreg is available at http://openjdk.java.net/jtreg

Also thanks Mark for your new tutorial video, it is great as usual!

I'll be working with gervill alot and would like to use eclipse not
netbeans so I need to learn how to resolve this strange problem I'm
having...

Awaiting your reply,

Thom
Re: Importing and running an existing project [message #247636 is a reply to message #247503] Mon, 04 February 2008 16:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Thom wrote:
> I'm trying to run an existing eclipse project but have had no luck. The
> project I'm hoping to run is gervill-0.7 available at
> https://gervill.dev.java.net/ via the download link.
>
> After extracting the downloaded file I import the internal project
> directory. The layout shows up in the explorer however, most files are
> flagged with errors and they do not open up the files source into the
> editor. I get a error message in the tab that opens instead that has a
> details button on it.
>
> There seems to be only one error but it affects all files, here is what
> the problems shows for 220 errors:
>
> "The declared package " does not match the expected package
> "test.com.sun.media.sound.xxxFileName"

This usually indicates that the "source location" of the project is not
set up correctly. Eclipse is trying to resolve the package names
declared in the .java files against the physical file structure in the
project.
Open the Project properties and select the Java Build Path section,
where you can configure the root of the source folders in the project.

There is also a "Project configuration" tutorial in the Eclipse Help
(under section Java Development User Guide > Getting Started). I
recommend going through that tutorial to understand how to configure
Eclipse projects.

Hope this helps,
Eric
Re: Importing and running an existing project [message #247839 is a reply to message #247636] Tue, 05 February 2008 06:26 Go to previous message
Eclipse UserFriend
Originally posted by: zoomclub.gmail.com

Hi Eric,

Thanks for your reply. When I opened eclipse tonight to try your
suggestion it just decided to work magically without me doing a thing, the
source files now show up and the gervill project runs fine.

I have no idea why I even had this problem in the first place.

The other problem I initially had was opening the internal help browser,
this now works as well.

Thanks again for your help,

Thom
Previous Topic:GDK question
Next Topic:Handlers, Commands, Actions
Goto Forum:
  


Current Time: Fri Oct 18 02:43:29 GMT 2024

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

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

Back to the top