Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP applications on the Mac
RCP applications on the Mac [message #393341] Wed, 10 November 2004 08:24 Go to next message
Eclipse UserFriend
Hi,

I was wondering if anyone has successfully deployed RCP applications
on the Mac. I would be interested in the kind of issues you had to face
while doing so.

Thanks in advance
Manu
Re: RCP applications on the Mac [message #393591 is a reply to message #393341] Thu, 11 November 2004 03:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yvon_thoraval.mac.com

Manu Radhakrishna a écrit :
> Hi,
>
> I was wondering if anyone has successfully deployed RCP applications
> on the Mac. I would be interested in the kind of issues you had to face
> while doing so.
> Thanks in advance
> Manu
>

I don't have a true deployment experience for the moment but I could say
moving from folder to folder either browser-example or editor-example
works very well.

Another experience i do have is running an swt app on Mac OS X.3.6
providing the following directory tree :

app_home :
bin
your-packages-bin
lib
java_swt
libswt-carbon-3111.jnilib
libswt-pi-carbon-3111.jnilib
libswt-webkit-carbon-3111.jnilib
swt-pi.jar
swt.jar
src
your-packages-src

works very well from comman line then...
(don't forget the vm arg : -Djava.library.path=lib)

The only drawback i get is with Eclipse itself : when having both Swing
and swt in a trial project, the Swing version won't start :
2004-11-11 09:19:17.959 java[2916] Apple AWT Java VM was loaded on first
thread -- can't start AWT.

But from command line it starts.

I should mention this is not a mixed-up Swing-swt project, only two
independant mains in the same project to see the differences betwwen one
swing verion and another using swt.

In that case, saying an swt project, even the simplest swing
"helloworld" don't start (same error message) althought it start from
command line...

This prob is an issue of Eclipse, i think, something like bad parameters
passed to the vm ???

Best,

Yvon
Re: RCP applications on the Mac [message #400800 is a reply to message #393341] Tue, 21 December 2004 00:40 Go to previous message
Eclipse UserFriend
It works, but there are some platform-specific things you need to know. See
the discussion on 10/6 "Stand alone on Mac"

RCP on mac works just the same as on other platforms, but you have to start
using the following parameters:

# Option 1: new style java on OS X
# REQUIRES: Eclipse 3.1+ and Java 1.4.2_04+
# -XstartOnFirstThread
# java -XstartOnFirstThread -cp startup.jar org.eclipse.core.launcher.Main
-application Google.googleApplication -consolelog -os macosx -ws carbon

# Option 2: old style java_swt
../java_swt -cp startup.jar org.eclipse.core.launcher.Main -application
Google.googleApplication -consolelog -os macosx -ws carbon

For older versions of Eclipse / Java, you need to use the java_swt
application that comes with Eclipse instead of java (it's inside the app
bundle).

Andre Weinand provides a complete Mac application bundle for a RCP project
here: http://www.weinand.org/eclipse/IconExplorer.dmg

Cheers,

nik


On 11/10/04 20:24, in article cmt4pq$6qh$1@eclipse.org, "Manu Radhakrishna"
<manuradhakrishna@yahoo.com> wrote:

> Hi,
>
> I was wondering if anyone has successfully deployed RCP applications
> on the Mac. I would be interested in the kind of issues you had to face
> while doing so.
>
> Thanks in advance
> Manu
>
Previous Topic:Sample of graphic editor.
Next Topic:Can a view know its secondary id?
Goto Forum:
  


Current Time: Fri Jul 25 09:07:05 EDT 2025

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

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

Back to the top