Project

General

Profile

Eclipse configuration » History » Version 4

Pablo Alingery, 08/06/2016 10:27

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