Project

General

Profile

Eclipse configuration » History » Version 6

Version 5 (Pablo Alingery, 08/06/2016 10:28) → Version 6/16 (Pablo Alingery, 08/06/2016 10:28)

h1. Eclipse configuration

h2. Sitools v3 Extra INFO

* Get the source of sitools2


<pre>
git clone https://github.com/SITools2/SITools2-core.git
</pre>

* Choose the branch Dev3


<pre>
git checkout dev-3
</pre>

* Changement of build-$(host).properties and 'host' in file sitools.properties
%{color:red}(which one ? locate this file precisely please and give an example of the modif done )%

h2. Eclipse Configuration

* Close project sitools-tests-testing
* Target platform
# add eclipse/plugin
# add sitools/cots/restlet-2.0.5-patched
_ Attention:_
# eclipse/plugin: Select only osgi jar
# sitools/cots/restlet-2.0.5-patched : Select all jars except lucene jar, org.restlet.ext.wadl and solr jar

* Run configuration :

# '-Djava.net.preferIPv4Stack=true' added to add to VM arguements
# Load the core starter and core in main
# Add dependency of extension project in classpath

* if error for the project 'org.restlet.ext.solr', add JARS solr-core-4.5.0.jar

h2. Build the project

* Ant refresh-preoperties
* Ant refresh-userlibraries
* Run the application

h2. Errors js

* Add semicomma when necessary

h2. The init sitools projet in git :

https://git.ias.u-psud.fr/gwang/Sitools2-V3.0.git