The disappointment

Since I sometimes want to hack on my UI5-Applications when I am on road without an internet connection, SAP WebIDE Personal Edition is a nice solution for me.

Unfortunately SAP does only deliver packages for Windows and Mac, but not for Linux. When there is a Mac-Package there is a way for a Linux-Package I thought.

So I downloaded the Mac and Windows Versions and compared them. Beside of some system-specific executeables, all work is done by the Orion Application Server.

After a bit of googling the good message of the day:

*YAY* a linux version is supported. Let’s rebuild the package with the linux binaries!

 

Repackaging

There are a few easy steps to do (Well I spent some time to figure it out), first of all download these archives:

Unzip both archives to different folders

  • ./webide/ for the WebIDE
  • ./orion/ for Eclipse Orion

The most important file is the orion executeable. You will need to get the original linux executable orion-file in your webide folder, therefore copy ./orion/orion to ./webide/orion.

Starting orion will not work, it will complain about a windows runtime it can not launch. So we also need to edit ./webide/orion.ini to look like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-consoleLog
-console
-data
serverworkspace
-nosplash
-vmargs
-Dorg.eclipse.equinox.http.jetty.http.port=8080
-Dorg.eclipse.equinox.http.jetty.autostart=false
-Dorion.XSRFPreventionFilterEnabled=true
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx384m

Now the file should know the library to launch, but this time it will complain about not finding it. Why?

We have to copy all the files from ./orion/plugins to ./webide/plugins and replace the existing ones.

The directory should look like this:

Like you might see: the library should now be present. Lets start ./orion and voilá:

 

Disclaimer

I couldn’t test all functionalities, but the basic editing, syntax-highlighting works as intended.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply