Project

General

Profile

Eclipse configuration » History » Version 6

Pablo Alingery, 08/06/2016 10:28

1 1 Guanji Wang
h1. Eclipse configuration
2 1 Guanji Wang
3 1 Guanji Wang
h2. Sitools v3 Extra INFO
4 2 Guanji Wang
5 1 Guanji Wang
* Get the source of sitools2
6 6 Pablo Alingery
7 3 Pablo Alingery
<pre>
8 1 Guanji Wang
 git clone https://github.com/SITools2/SITools2-core.git 
9 1 Guanji Wang
</pre>
10 5 Pablo Alingery
11 1 Guanji Wang
* Choose the branch Dev3
12 6 Pablo Alingery
13 4 Pablo Alingery
<pre> 
14 4 Pablo Alingery
git checkout dev-3
15 1 Guanji Wang
</pre>
16 4 Pablo Alingery
17 5 Pablo Alingery
* Changement of build-$(host).properties and 'host' in file sitools.properties
18 4 Pablo Alingery
%{color:red}(which one ? locate this file precisely please and give an example of the modif done  )%
19 1 Guanji Wang
20 1 Guanji Wang
h2. Eclipse Configuration
21 1 Guanji Wang
22 1 Guanji Wang
* Close project sitools-tests-testing
23 2 Guanji Wang
* Target platform
24 2 Guanji Wang
# add eclipse/plugin
25 2 Guanji Wang
# add sitools/cots/restlet-2.0.5-patched
26 2 Guanji Wang
_ Attention:_  
27 2 Guanji Wang
# eclipse/plugin: Select only osgi jar
28 2 Guanji Wang
# sitools/cots/restlet-2.0.5-patched : Select all jars except lucene jar, org.restlet.ext.wadl and solr jar
29 1 Guanji Wang
30 2 Guanji Wang
31 2 Guanji Wang
*  Run configuration : 
32 2 Guanji Wang
33 2 Guanji Wang
# '-Djava.net.preferIPv4Stack=true'  added to add to VM arguements 
34 2 Guanji Wang
# Load the core starter and core in main
35 2 Guanji Wang
# Add dependency of extension project in classpath
36 2 Guanji Wang
37 1 Guanji Wang
* if error for the project 'org.restlet.ext.solr', add JARS solr-core-4.5.0.jar
38 1 Guanji Wang
39 2 Guanji Wang
h2. Build the project
40 2 Guanji Wang
41 1 Guanji Wang
* Ant refresh-preoperties
42 1 Guanji Wang
* Ant refresh-userlibraries
43 1 Guanji Wang
* Run the application
44 1 Guanji Wang
45 1 Guanji Wang
h2. Errors js
46 2 Guanji Wang
47 1 Guanji Wang
* Add semicomma when necessary
48 2 Guanji Wang
49 2 Guanji Wang
50 2 Guanji Wang
51 2 Guanji Wang
h2. The init sitools projet in git : 
52 2 Guanji Wang
53 2 Guanji Wang
https://git.ias.u-psud.fr/gwang/Sitools2-V3.0.git