Installation - medes-imps/imogene GitHub Wiki

Prerequisite

Before following these installation instructions, check that the Java runtime environment is installed on the machine. Check your configuration by running java -version in command line terminal or check it online here.

If the Java runtime environment is not installed on the machine download the last Java SE JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html.


Install the Eclipse IDE

Download and unpack the Eclipse IDE for Java EE Developers.

After the installation, configure the Eclipse launching parameters. In the Eclipse root directory, edit the file eclipse.ini, add the -clean parameter and save the file.

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-clean
--launcher.library
...

Installing Tomcat

Install Tomcat version 7. It can be downloaded from the Apache Tomcat website.

Note: For Windows, do not select the option to start the service at start-up.

Follow this steps to install the servlet container Tomcat and configure it for Eclipse.

  1. Start Eclipse, then select Window > Preferences
  2. Under Server > Runtime Environments
  3. On the right panel, click the Add button
  4. Under Apache select the Apache Tomcat v7.0 and click Next
  5. Click Browse and select the folder where Tomcat is installed on your computer
  6. Click Finish and OK to close the Preferences view

Follow this steps to add Tomcat as a server in the Eclipse Workbench.

  1. Start Eclipse, then select File > New > Other...
  2. Select Server > Server and click Next
  3. Select Apache > Tomcat v7.0 Server and click "Next1. ClickFinishto create the server

Install the GWT Plugins for Eclipse

The Web and Administration application are developed using the GWT development toolkit. To install and configure GWT within your eclipse follow the steps described here.


Install the Android Plugins for Eclipse and the Android SDK

To be able to generate and deploy android applications generated using imogene you wil need to install the Android ADT plugin whithin your eclipse following the steps described here.


Third party libraries

The imogene Android applications need some external Android project which are used as a libraries. A library project is a standard Android project. These libraries are located here https://code.google.com/p/imogene.android.

Follow these steps to import the libraries in your Eclipse workbench:

  1. Clone the repository https://code.google.com/p/imogene.android.
  2. Import the android projects that it contains in your eclipse. * medes-android_lib * medes-android-maps_lib

These libraries, and therefore the Android applications generated using imogene use the ActionBarSherlock extension which is an other Android library that need to be imported in your eclipse.

Follow the steps described here to use the ActionBarSherlock extension.

When you generate an Android application using imogene this application is supposed to use these libraries. The Android plugin often messed up with the library feature, so when a project is generated you will certainly need to reference the libraries in the newly generated project.

Follow these steps to declare the projects above as libraries in your generated Android application:

  1. In the Package Explorer, right-click the dependent project and select Properties.
  2. In the Properties window, select the Android properties group at left and locate the Library properties at right.
  3. If a library appears in the list: * Select it and click on Remove on the right side. * Click Apply. * The project should now be in error.
  4. Click Add to open the Project Selection dialog.
  5. From the list of available library projects, select the actionbarsherlock, medes-android_lib and medes-android-maps_lib projects and click OK.
  6. Click Apply.
  7. Click OK to close the Properties window.

Install Other Dependency Plugins for Eclipse

The imogene plugin needs some other plugins to work properly.

Follow these steps to download and install these plugins into your Eclipse development environment:

  1. Start Eclipse, select Help > Install New software....
  2. In the Work with list, select Indigo (or the Eclipse version name that you are using if different)
  3. Under Modelling select the checkboxes next to EMF - Eclipse Modeling Framework SDK, EMF Validation Framework SDK, MWE SDK and Xpand SDK.
  4. Click Next
  5. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  6. Read and accept the license agreements, then click Finish.

Install the Imogene Plugin for Eclipse

The last step is to install the imogene plugin.

Follow these steps to download and install the imogene plugin:

  1. Start Eclipse, then select Help > Install New Software....
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter "Imogene" for the Name and the following URL for the Location:
    http://update-site.i-mogene.org/
  4. Click OK.
  5. In the Available Software dialog, unselect the checkbox next to Group items by category.
  6. Click Select All, then Next
  7. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  8. Read and accept the license agreements, then click Finish.
    Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  9. When the installation completes, restart Eclipse.

Done! If you haven't encountered any problems, then the installation is complete. Find out HowToUse the studio.

⚠️ **GitHub.com Fallback** ⚠️