Project

General

Profile

Eclipse configuration » History » Version 2

Version 1 (Guanji Wang, 05/02/2016 09:59) → Version 2/16 (Guanji Wang, 05/02/2016 10:05)

h1. Eclipse configuration

h2. Sitools v3 Extra INFO


* Get the source of sitools2
git clone https://github.com/SITools2/SITools2-core.git
* Choose the branch Dev3
git checkout dev-3
* Changement of build-$(host).properties and 'host' in sitools;properties

h2. Eclipse Configuration

* Close project sitools-tests-testing

* Target platform
# * add eclipse/plugin
# * add sitools/cots/restlet-2.0.5-patched
_ Attention:_
#

Attention: 1.
eclipse/plugin: Select only osgi jar
#

2.
sitools/cots/restlet-2.0.5-patched : Select all jars except lucene jar, org.restlet.ext.wadl and solr jar

jar;

* Close project sitools-tests-testing
*
Run configuration :

#
1. '-Djava.net.preferIPv4Stack=true' added to add to VM arguements
#

2.
Load the core starter and core in main
#

3.
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

Run
* 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