-
Notifications
You must be signed in to change notification settings - Fork 1
Install the source code in MAC
To install the Europa Linked Observation Browser source code on Mac OSX you will need to firstly:
- Install/Check Maven for Mac OSX
- Download and Install NASA World Wind Libraries
- Install Eclipse
- Install Github plugin for Eclipse
- Install Maven plugin for Eclipse
OS X actually comes with maven 3 built in. You should go to the terminal and just run mvn -version and see some output like this:
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /usr/share/maven
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
If you don't have Maven installed already, then here is how to download and install maven, and configure environment variables on Mac OS X: http://bitbybitblog.com/install-maven-mac/
To get started, download the NASA World Wind Libraries from the NASA World Wind SDK and uncompress the ZIP file. For the sake of this sample, let's assume the files were uncompressed in your users download folder ~/Downloads/worldwind-1.5.0/.
Once your download is ready, it's time to copy the NASA World Wind libraries to the java library path. To do so, just execute the following commands in your terminal.
sudo cp ~/Downloads/worldwind-1.5.0/libgluegen-rt.jnilib /Library/Java/Home/bundle/Libraries/
sudo cp /home/jones/Downloads/worldwind-1.5.0/libjogl.jnilib /Library/Java/Home/bundle/Libraries/
sudo cp /home/jones/Downloads/worldwind-1.5.0/libjogl_awt.jnilib /Library/Java/Home/bundle/Libraries/
sudo cp /home/jones/Downloads/worldwind-1.5.0/libjogl_cg.jnilib /Library/Java/Home/bundle/Libraries/
With the libraries properly installed, it's now time to install Eclipse. Go to the following site http://www.eclipse.org/downloads/ and download Eclipse Classic.
After downloading uncompress the file and we are done.
There is only a few steps left! In Eclipse, go to Help > Install New Software...
By clicking Add append the following repository for egit:
http://download.eclipse.org/releases/juno
After you have added the repository and search for the plugin egit. Select a Collaboration check box (as shown in the image below) and press Next and accept the license. You're going to be asked to restart your eclipse.
Now go to File > Import... and select Git > Projects from Git. Select URI and press Next.
In the URI text field, place to following address
https://github.com/jimjonesbr/de.ifgi.europa.git
Then you're going to get the other fields, namely Host and Repository Path filled in. Press Next.
Select the branch "master" and press Next
Choose a place to store your local repository and press Next.
Select "Import existing projects" and press Next and then Finish.
Go to Help > Install new Software...
By clicking Add append the following repository for Maven Plugin m2e:
http://download.eclipse.org/technology/m2e/releases
As shown in the image below, select the Collaboration checkbox and press Next, accept the License and press Finish.
Now go to the pom.xml file on the project's root, right mouse click and go to Run As > Maven Install and your system is read to use.
To start the application, simply run the class de.ifgi.europa.gui.Start as a Java Application.





