Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » ATF » ATF installation/building problems on MacOSX
ATF installation/building problems on MacOSX [message #523435] Fri, 26 March 2010 13:42 Go to next message
Jan F. is currently offline Jan F.Friend
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 #523498 is a reply to message #523435] Fri, 26 March 2010 15:25 Go to previous messageGo to next message
Jacek Pospychala is currently offline Jacek PospychalaFriend
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
Re: ATF installation/building problems on MacOSX [message #523518 is a reply to message #523498] Fri, 26 March 2010 16:46 Go to previous messageGo to next message
Jan F. is currently offline Jan F.Friend
Messages: 7
Registered: March 2010
Junior Member
Hi Jacek,
thanks for a quick reply!

Yes, switching to 32-bit version of Galileo fixed the installation troubles. I will update the wiki page to note that the steps do not work for 64-bit version.

I am still getting the same errors trying to build ATF from sources though. I can provide the error log, if it is going to be useful in any way.

-Jan
Re: ATF installation/building problems on MacOSX [message #523745 is a reply to message #523518] Mon, 29 March 2010 07:12 Go to previous message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
Jan F. wrote:
> Hi Jacek,
> thanks for a quick reply!
>
> Yes, switching to 32-bit version of Galileo fixed the installation
> troubles. I will update the wiki page to note that the steps do not
> work for 64-bit version.
>
> I am still getting the same errors trying to build ATF from sources
> though. I can provide the error log, if it is going to be useful in
> any way.
>
> -Jan

Jan,
thanks for updating the wiki.
You could get ATF on Eclipse 64-bit to work by building Mozilla from the
sources. I tried it for Linux 64-bit, so if you're interested, I can
provide some hints.

Looking at the activity in this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=512489 it's very Linux
64-bit builds will be finally officially supported soon by Mozilla.
Here's also bug related to supporting Mac 64 bit:
https://bugzilla.mozilla.org/show_bug.cgi?id=519060
So 64-bit platforms may officially get some more love soon :-)

Jacek
Re: ATF installation/building problems on MacOSX [message #562982 is a reply to message #523498] Fri, 26 March 2010 16:46 Go to previous message
Jan F. is currently offline Jan F.Friend
Messages: 7
Registered: March 2010
Junior Member
Hi Jacek,
thanks for a quick reply!

Yes, switching to 32-bit version of Galileo fixed the installation troubles. I will update the wiki page to note that the steps do not work for 64-bit version.

I am still getting the same errors trying to build ATF from sources though. I can provide the error log, if it is going to be useful in any way.

-Jan
Re: ATF installation/building problems on MacOSX [message #562998 is a reply to message #562982] Mon, 29 March 2010 07:12 Go to previous message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
Jan F. wrote:
> Hi Jacek,
> thanks for a quick reply!
>
> Yes, switching to 32-bit version of Galileo fixed the installation
> troubles. I will update the wiki page to note that the steps do not
> work for 64-bit version.
>
> I am still getting the same errors trying to build ATF from sources
> though. I can provide the error log, if it is going to be useful in
> any way.
>
> -Jan

Jan,
thanks for updating the wiki.
You could get ATF on Eclipse 64-bit to work by building Mozilla from the
sources. I tried it for Linux 64-bit, so if you're interested, I can
provide some hints.

Looking at the activity in this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=512489 it's very Linux
64-bit builds will be finally officially supported soon by Mozilla.
Here's also bug related to supporting Mac 64 bit:
https://bugzilla.mozilla.org/show_bug.cgi?id=519060
So 64-bit platforms may officially get some more love soon :-)

Jacek
Previous Topic:ATF installation/building problems on MacOSX
Next Topic:atf 0.3.0 installation woes
Goto Forum:
  


Current Time: Sat Nov 09 04:08:41 GMT 2024

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

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

Back to the top