[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.epf] Re: Mac OS X support

I believe I have a little more information on the exception from the post below. I believe the problem is the call to File.renameTo() a few lines before the exception is thrown. It seems that on some platforms, renameTo has problems moving files across partitions. In my case, the /tmp directory is on a different partition than the /Users directory, so renameTo gives up and returns false.

I hope I'm not overstepping my bounds here, but I created a bugzilla entry for this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=144296


Jeffrey


Jeffrey Howard wrote:
Hello,

I read through the development plan on the project web site. I didn't see anything ruling out (or in) support for Mac OS X. Right now, though, only Linux/GTK and Windows builds are posted to the download section. Is there work planned or underway to begin building for OS X as well? And/or is a helping hand needed there?


I did try creating a build environment and running EPF on my Powerbook. I checked out the R1_0_M3_BRANCH. I only got as far as trying to create a new method library. At that point, I got an error dialog, saying:


"IUPL0300E: Unable to open the specified method library.

Reason:
The selected method library folder is invalid, does not exist, or you do not have the proper permission to access it.


Click OK to select another library folder."

I went and looked at the directory in which it attempted to create the library; it exists, is empty, and I have read/write/execute permissions on it.

The following exception was logged to the console.

MultiFileResourceSetImpl.cleanUp(): removed resources: []
org.eclipse.epf.persistence.MultiFileIOException: Could not rename '/tmp/EPF/_di6kcO8-Edql0tBiwE3BCwnew_diJvcO8-Edql0tBiwE3BCw' to '/Users/jhoward/EPF/Method Libraries/BUP/library.xmi'
at org.eclipse.epf.persistence.MultiFileXMIResourceImpl.commit(MultiFileXMIResourceImpl.java:915)


at org.eclipse.epf.persistence.MethodLibraryPersister$FailSafePersister.commit(MethodLibraryPersister.java:648)

at org.eclipse.epf.persistence.MultiFileResourceSetImpl.save(MultiFileResourceSetImpl.java:1100)

at org.eclipse.epf.persistence.MultiFileResourceSetImpl.save(MultiFileResourceSetImpl.java:979)

at org.eclipse.epf.library.util.ModelStorage.newLibrary(ModelStorage.java:71)
at org.eclipse.epf.library.services.LibraryProcessor.newLibrary(LibraryProcessor.java:934)


at org.eclipse.epf.library.ui.LibraryUIManager.createLibrary(LibraryUIManager.java:346)

at org.eclipse.epf.library.ui.LibraryUIManager.promptForMethodLibrary(LibraryUIManager.java:168)

at org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start(AuthoringUIPlugin.java:71)

at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:995)

at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)


at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)

at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)

at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter..java:86)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)

at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:388)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)

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.eclipse.epf.rcp.MainWorkbenchAdvisor.getInitialWindowPerspectiveId(MainWorkbenchAdvisor.java:115)


at org.eclipse.ui.internal.Workbench.getDefaultPerspectiveId(Workbench.java:2351)

at org.eclipse.ui.internal.registry.PerspectiveRegistry.verifyDefaultPerspective(PerspectiveRegistry.java:625)

at org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegistry.java:405)

at org.eclipse.ui.internal.WorkbenchPlugin.getPerspectiveRegistry(WorkbenchPlugin.java:438)

at org.eclipse.ui.internal.Workbench.getPerspectiveRegistry(Workbench.java:952)

at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1438)

at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1388)
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)


at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708)

at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.epf.rcp.MainApplication.run(MainApplication.java:52)
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 happy to RTFM if someone can point me at the right manual. Any idea where I might've gone wrong?



Thank you, Jeffrey