Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » ATF » ATF installation/building problems on MacOSX
ATF installation/building problems on MacOSX [message #562929] Fri, 26 March 2010 09:42 Go to next message
Jan F. is currently offline Jan F.
Messages: 7
Registered: March 2010
Junior Member
I am trying to get ATF working on MacOSX but am encountering problems along everything I try.

Here is what I am doing:

Mac OS X Snow Leopard
Eclipse 3.5 Galileo SR2, PDE, 64 bit cocoa version, downloaded from here: http://www.eclipse.org/downloads/download.php?file=/technolo gy/epp/downloads/release/galileo/SR2/eclipse-rcp-galileo-SR2 -macosx-cocoa-x86_64.tar.gz

1, the installation path (following http://wiki.eclipse.org/ATF/Installing)
- unzip the Eclipse, choose workspace
- follow the steps in the ATF/Installation page exactly

On trying to run using Run As -> Run in Mozilla, it switches to the Web Browser Tools perspective, but subsequently fails with an error:

Unhandled event loop exception
No more handles [Could not detect registered XULRunner to use]

I looked into the XULRunner plugin, but the JAR seems to be empty.
I tried to download XULRunner separately and install it, but that did not help.

2. the building ATF part (following http://wiki.eclipse.org/ATF/Workspace)
- unzip the Eclipse, choose workspace
- follow the steps in ATF/Workspace page exactly

Checked out the team set, went to releng and clicked Set as Target Platform in the atf.target file.

This download whole bunch of stuff as expected, but along the way shows this error:

An internal error occurred during: "Resolving Target Definition".
Profile TARGET_DEFINITION:resource:/org.eclipse.atf.releng/pde/atf.t arget is not current.

Ultimately finishes, but an error is still shown in org.eclipse.atf.debug.test:

Bundle 'org.eclipse.wst.common.project.facet.ui' cannot be resolved MANIFEST.MF /org.eclipse.atf.debug.test/META-INF line 12 Plug-in Problem
The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.core.runtime.CoreException. Fix the build path then try building this project org.eclipse.atf.debug.test Unknown Java Problem
The type org.eclipse.core.runtime.CoreException cannot be resolved. It is indirectly referenced from required .class files ATFProjectHelper.java /org.eclipse.atf.debug.test/src/org/eclipse/atf/debug/testpl ugin line 1 Java Problem

If I try to run the ATF core configuration, I get:

java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:236)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Can anybody shed a light on how to get ATF working (ideally through the ATW/Workspace path)?

-Jan
Re: ATF installation/building problems on MacOSX [message #562956 is a reply to message #562929] Fri, 26 March 2010 11:25 Go to previous message
Jacek Pospychala is currently offline Jacek Pospychala
Messages: 159
Registered: July 2009
Senior Member
hi Jan,
the problem may be related to the x86_64 platform. If you followed wiki
install steps, you probably installed Mozilla XULRunner from Zend update
site. Unfortunately it's missing 64-bit build for Mac, because Mozilla
provides only 32bit builds.
So you have two alternative options:
1. find x86_64 XULRunner build for Mac and launch Eclipse with extra
params -vmargs
-Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/64bitXulrun ner
2. get Eclipse 32bit build and try standard install there again


Thanks for trying ATF!

Jacek


Jan F. wrote:
> I am trying to get ATF working on MacOSX but am encountering problems
> along everything I try.
>
> Here is what I am doing:
>
> Mac OS X Snow Leopard
> Eclipse 3.5 Galileo SR2, PDE, 64 bit cocoa version, downloaded from
> here:
> http://www.eclipse.org/downloads/download.php?file=/technolo gy/epp/downloads/release/galileo/SR2/eclipse-rcp-galileo-SR2 -macosx-cocoa-x86_64.tar.gz
>
>
> 1, the installation path (following
> http://wiki.eclipse.org/ATF/Installing)
> - unzip the Eclipse, choose workspace
> - follow the steps in the ATF/Installation page exactly
>
> On trying to run using Run As -> Run in Mozilla, it switches to the
> Web Browser Tools perspective, but subsequently fails with an error:
>
> Unhandled event loop exception
> No more handles [Could not detect registered XULRunner to use]
>
> I looked into the XULRunner plugin, but the JAR seems to be empty.
> I tried to download XULRunner separately and install it, but that did
> not help.
>
> 2. the building ATF part (following
> http://wiki.eclipse.org/ATF/Workspace)
> - unzip the Eclipse, choose workspace
> - follow the steps in ATF/Workspace page exactly
>
> Checked out the team set, went to releng and clicked Set as Target
> Platform in the atf.target file.
>
> This download whole bunch of stuff as expected, but along the way
> shows this error:
>
> An internal error occurred during: "Resolving Target Definition".
> Profile TARGET_DEFINITION:resource:/org.eclipse.atf.releng/pde/atf.t
> arget is not current.
>
> Ultimately finishes, but an error is still shown in
> org.eclipse.atf.debug.test:
>
> Bundle 'org.eclipse.wst.common.project.facet.ui' cannot be resolved
> MANIFEST.MF /org.eclipse.atf.debug.test/META-INF line 12
> Plug-in Problem
> The project was not built since its build path is incomplete. Cannot
> find the class file for org.eclipse.core.runtime.CoreException. Fix
> the build path then try building this project
> org.eclipse.atf.debug.test Unknown Java Problem
> The type org.eclipse.core.runtime.CoreException cannot be resolved. It
> is indirectly referenced from required .class files
> ATFProjectHelper.java
> /org.eclipse.atf.debug.test/src/org/eclipse/atf/debug/testpl ugin
> line 1 Java Problem
>
> If I try to run the ATF core configuration, I get:
>
> java.lang.RuntimeException: No application id has been found.
> at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe
> faultApp(EclipseAppContainer.java:236)
> at org.eclipse.equinox.internal.app.MainApplicationLauncher.run
> (MainApplicationLauncher.java:29)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
> Can anybody shed a light on how to get ATF working (ideally through
> the ATW/Workspace path)?
>
> -Jan
Previous Topic:How set breakpoint in jsp javascript
Next Topic:ATF installation/building problems on MacOSX
Goto Forum:
  


Current Time: Sun Apr 20 03:00:25 EDT 2014

Powered by FUDForum. Page generated in 0.04023 seconds