wiki:Fr_HowToCompileFromSource

Version 9 (modified by fxp, 14 years ago) ( diff )

--

Version 2.3 et supérieure

Pré-requis :

  • installer Java
  • installer ant
  • installer Maven
  • Sur windows, installer cygwin
    • réaliser une installation par défaut en ajoutant le paquet "patch" qui se trouve dans la rubrique développement.

Installation

Dans un terminal (sous linux) ou dans une console cygwin (sous windows) :

cd /cygdrive/c/
mkdir geosource
cd geosource
svn co https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/sandbox/GeoSource/trunk .
mvn clean install

Lancement

cd target/patched/bin
./start-geonetwork.sh

Dans le navigateur : http://localhost:8080/geonetwork

Version 2.2.x et inférieure

Comment compiler GéoSource depuis le dépôt subversion (SVN) ?

Pré-requis :

Compilation

Exemple des instructions pour une compilation sous Unix/Linux dans le répertoire tmp :

cd /tmp
mkdir geosource
cd geosource
svn co https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/sandbox/GeoSource/branches/2.2.x .
cd Jeeves
ant
cd ../GeoNetwork
ant

Initialisation

cd gast
java -jar gast.jar -setup
java -jar gast.jar -sampleData

Lancement

cd ../bin
./start-geonetwork.sh

Dans le navigateur : http://localhost:8080/geonetwork

Note: See TracWiki for help on using the wiki.