Difference between revisions of "OS.bee Software Factory Installation Luna"

From OS.bee documentation
Jump to: navigation, search
(before you start)
(Links to the repositories)
Line 59: Line 59:
 
==== Links to the repositories ====
 
==== Links to the repositories ====
  
- the '''public P2''' is available under [http://download.osbee.org/downloads/p2/osbee-master-clean/luna/latest/]
+
The links to the repositpries are available on the [http://www.osbee.org/free-download/ download page].
  or with [http://10.131.1.10/downloads/p2/osbee-master-clean/luna/latest/] as the internal link to the same repository
+
 
+
- the '''master build''' is available under [http://download.osbee.org/downloads/p2/osbee/luna/master/]
+
  or with [http://10.131.1.10/downloads/p2/osbee/luna/master/] as the internal link to the same repository. It contains the release candidate and is more stable than daily or latest. Best for internal use to produce the videos etc. because it does not change on a daily base. It will change only after a significant improvement.
+
 
+
- or the '''daily build''' [http://10.131.1.10/downloads/p2/osbee/luna/daily] from inside
+
  or [http://download.osbee.org/downloads/p2/osbee/luna/daily] from outside the Compex network. The P2 for the developers. Contains the last successful build of the daily branch. The daily branch is updated automatically from the development branch after a successful build (not test) of the development branch.
+
 
+
- for the '''development build''' use latest [http://10.1.13.15/downloads/p2/osbee/luna/latest]. This is for the one who wants to or has to be at the top ...
+
 
+
  
 
==== Installation ====
 
==== Installation ====

Revision as of 15:40, 3 August 2016

General information

Java Version

To be able to use the OS.bee Softwarefactory you need to install the right Java version.

On Windows, this is Java JDK 8 64bit Java SE Downloads.

In case you need to use several Java versions on your system, see additional information in [#InstalltheOS.Additional Information Java versions]


Eclipse Version

To be able to use the OS.bee Softwarefactory you need to start with the right Eclipse version. You can use this one Eclipse Luna DSL Developers SR2. Download and extract it to a place you like.

Installation of the Softwarefactory

Install the OS.bee Softwarefactory

before you start

The following change in the eclipse.ini might help to avoid timeout problems with servers that respond slowly.

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=3000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=3000

And it will help to give the Eclipse a little more memory:

-Xmx4096m


A resulting eclipse.ini for a Windows installation might look like:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.dsl.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=3000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=3000
-Xms128m
-Xmx4096m

Links to the repositories

The links to the repositpries are available on the download page.

Installation

- Start the new Eclipse installation and select or define a workspace. Here too, it is important that each Eclipse installation is assigned its own workspace.

 Image(workspace1.png)

- Go to the menu bar and select Help -> Install New Software ... - Copy the appropriate link to the repository into Work with:

 Image(setup.PNG)

- Select the "OS.bee Softwarefactory EE", confirm the upcoming dialogues and wait for the installation to be finished.

- confirm the "software to be installed" dialog


- accept the terms of the license aggreement after you read them carefully and confirm the "Review licenses" dialog by pushing the "Finish" button:

 Image(eclipse_installation_agree_to_licenses.PNG)

- confirm the "Security Warning" dialog

 Image(install_unsigned_code_warning.PNG)

- You will then be prompted to restart Eclipse. Please do so!


Set Targetplatform for the OS.bee Softwarefactory EE

- Check the workspace you are using (see section [wiki:OsbeeInstallSWF#Installation Installation] above) - is it the one you want to use for the further processing? If not, open the right one.

 You can add the parameter {{{-data <path/to/workspace}}} to a shortcut you use to start Eclipse. This will help using the right workspace in the future. It also removes the question about the workspace on Eclipse startup. 

- Then set the targetplatform here: Menu -> Window -> Preferences -> Plug-in Development -> Target Platform

 Image(targetplatform.png)

- Add a new Target Definition or edit the existing entry.

 Image(addnewtarget.png)

- Then add conten, software site.

 Image(addcontent.png)

- Use the same link as above for the softwaresite. - Select OS.bee Softwarefactory EE Targetplatform (DON'T INSTALL...)

 and uncheck the include required software checkbox.
 Image(addcontent2.PNG)

- Change in regsiter Content and deactivate the following bundles in the resulting target definition.

 {{{
  javax.annotation version 1.2
  javax.servlet    version 3.1  (may not be present)
 }}}
 Image(addcontent3.png)


Do not forget to activate your new created target definition!

 ... [Finish]

- Restart Eclipse

HEUREKA!