dinsdag 11 januari 2011

Eclipse Orion first impressions and setup for iPad

As iPad doesn't support Java, there is no Eclipse on it, until now!
Because the iPad comes with Safari, a very good standards compliant webkit based browser, looking for a web based IDE does indeed make sense. So I'm very excited about the Orion announcement as can be found here, here and here.

Installing and starting is easy

Download from http://download.eclipse.org/e4/orion/. I choose the version for Mac OSX. It extracts into a folder named eclipse that I renamed immediately to eclipse-orion to avoid confusion with all the other versions installed on my machine.

Setting the server port to other than 8080

Port 8080 is already taken on my system I needed to edit the config.ini file and change the org.eclipse.equinox.http.jetty.http.port variable.
For Mac OSX select eclipse and right mouse click to to show package contents:
Then locate config.ini inside the Contents/MacOS folder.
Then edit to choose the port that is free.
-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20101119.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.100.v20101004
-consoleLog
-console
-data
serverworkspace
-vmargs
-Dorg.eclipse.equinox.http.jetty.http.port=8888
-Dorg.eclipse.equinox.http.jetty.autostart=false
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

Fire up your iPad (simulator)

Open the iPad simulator, start Safari and go the URL http://ip-address-of-dev-machine:8888/ and see the workspace.

Now you can edit files of your mobile website and save and see them in action right on the couch.

Next time: hooking up to an existing workspace.

7 opmerkingen:

  1. Thanks for trying it out! To the best of our knowledge, Orion currently does not run on a (real) iPad, because we are not getting the onscreen keyboard to appear when in the code editor. If you can get it to work, please let us know! ;-)

    BeantwoordenVerwijderen
  2. Thanks for this short article. It helped me to get started with Orion. I guess you mean the eclipse.ini file to customize the server port?

    BeantwoordenVerwijderen
  3. great. iPad apps in development are mostly in these categories: books, business, education, entertainment, finance, games, health care & fitness.

    ipad apps development

    BeantwoordenVerwijderen
  4. Hi,
    I would recommend writing this down and organizing it in an easy to read manner.
    nency

    BeantwoordenVerwijderen
  5. @Boris would any of the recently archived Blinki stuff or probably something, its authors (and still strategic member of Eclipse Foundation AFAIK ;-) Genuitec got for iOS and WebKit help?

    BeantwoordenVerwijderen
  6. Thank you for your post, I look for such article along time,today i find it finally.this post give me lots of advise it is very useful for me .i will pay more attention to you ,i hope you can go on posting more such post.

    BeantwoordenVerwijderen
  7. i really like your post & as a business person i m totally agree with you that you always know what are you doing & what result you are achieving. iPhone Application Developers

    BeantwoordenVerwijderen