-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME.txt
73 lines (52 loc) · 2.56 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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.