Skip to content

OpenLegacy is a powerful, lightweight, extensible & flexible Java based API, framework and tools designed for building simple & complex applications/services over existing legacy applications. Commonly known as: Legacy modernization or application modernization.

License

tamarojgreen/openlegacy

 
 

Repository files navigation

Development environment installation guide:

Pre-requiresites:
JDK 1.6 Installed
Spring tool suite (Recommended) - STS (Spring's eclipse) from http://www.springsource.org/downloads/sts
OR
Eclipse 3.7 with "Maven Integration For Eclipse", "AspectJ Development Tools", "Egit - Git Team Provider"
from Eclipse market place (Help -> Eclipse Marketplace...)

Tested with STS 2.9.2, 3.0.0 and Eclipse 3.7

1.
For STS - start springsource/sts-<VERSION>/sts.exe
OR start your eclipse

Select a clean workspace folder

3.
Select file-> "import" -> Git -> "Project from git"
On "Check HOME Directory" dialog click OK

4.
Copy the following URL to your clipboard: https://github.com/openlegacy/openlegacy.git
Click "Clone"
Provide your user & password

5.
Select the working branch (master). Click "Next"

6.
Select a local git folder. Click "Next", and "Finish"
Wait for the import to complete

7.
Once complete, select "Next" & "Import existing projects"

Select all projects

8.
Perform project -> clean..., "Clean all project", in case of errors
Execute the test suite: OpenLegacyRuntimeSuite (CTRL+SHIFT+T to find it) to run all OpenLegacy runtime unitests.
On windows, you may need to enable Windows firewall prompt.

Designtime project is using Drools rule engine (*.drl files). It is recommended to install the plugin from:
http://download.jboss.org/jbosstools/updates/development/indigo/soa-tooling/

To install the plugin, select "Help" -> "Install New Software", click "Add..." and add the above URL.
Select "JBoss SOA development" -> JBoss Drools Core.
Uncheck "Contact All update sites" (for a faster installation).

9.
Import code style preferences. Select Import -> prefrences, and select the file from openlegacy/eclipsep-openlegacy-prefs.epf
This is to keep our code formatting standard.

10.
For running OpenLegacy web application, import:

- <GIT CLONE DIR>/openlegacy/openlegacy-templates/openlegacy-mvc-sample project (web demo application)
(URL is http://localhost:8080/openlegacy-mvc-sample)

OR 

- <GIT CLONE DIR>/openlegacy/openlegacy-templates/openlegacy-mobile-sample project (mobile demo application)
(URL is http://localhost:8080/openlegacy-mobile-sample)
OR

- <GIT CLONE DIR>/openlegacy/openlegacy-templates/openlegacy-mvc-new project (new empty web application)
(URL is http://localhost:8080/openlegacy-mvc-new/emulation)

right click on "run-application.launch", and click run as-> "run-application".
Verify the launcher is using JDK 1.6 in case of an error.

Open your browser to the chosen application above mentioned URL.

About

OpenLegacy is a powerful, lightweight, extensible & flexible Java based API, framework and tools designed for building simple & complex applications/services over existing legacy applications. Commonly known as: Legacy modernization or application modernization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.0%
  • AspectJ 4.2%
  • JavaScript 1.3%
  • COBOL 1.1%
  • HTML 0.4%
  • XSLT 0.0%