Project

General

Profile

Eclipse configuration » History » Version 11

Pablo Alingery, 08/06/2016 10:41

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