Bon on débroussaille pour les suivants!

J'ai modifié la variable M2_REPO et il me fait par defaut M2-REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar....
j'ai pas de 1.0.4 (???) mais par contre j'ai 1.1 donc j'ai fait M2-REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar

...ça marche pas (les librairies Lutin ne sont toujours pas trouvées par Eclipse)...

lorsque je fais 'mvn compile', il y a un message d'erreur du type (ici seulement un extrait) :
visiblement il ne trouve pas les fichiers sur votre serveur maven..

d'autre part je ne vois pas de reactulaisation de profiles.xml sur :
http://labs.libre-entreprise.org/plugins/scmcvs/cvsweb.php/isis-fish-data/profiles.xml?rev=1.1;content-type=text%2Fplain;cvsroot=isis-fish

Merci et A+


Downloading: http://repo1.maven.org/maven2/asm/asm/1.5.4-snapshot/asm-1.5.4-snap
shot.pom
[WARNING] Unable to get resource 'asm:asm:pom:1.5.4-snapshot' from repository ce
ntral (http://repo1.maven.org/maven2)
[WARNING] POM for 'aspectwerkz:aspectwerkz-core:pom:2.0:compile' is invalid. It
will be ignored for artifact resolution. Reason: Parse error reading POM. Reason
: end tag name </project> must match start tag name <dependencies> from line 42
(position: TEXT seen ...<dependencies>\n</project>... @43:11)
Downloading: http://lutinbuilder.labs.libre-entreprise.org/maven2/asm-util/asm-u
til/1.5.4-snapshot/asm-util-1.5.4-snapshot.pom
[WARNING] Unable to get resource 'asm-util:asm-util:pom:1.5.4-snapshot' from rep
ository codelutin-lib (http://lutinbuilder.labs.libre-entreprise.org/maven2)
Downloading: http://repo1.maven.org/maven2/asm-util/asm-util/1.5.4-snapshot/asm-
util-1.5.4-snapshot.pom
[WARNING] Unable to get resource 'asm-util:asm-util:pom:1.5.4-snapshot' from rep
ository central (http://repo1.maven.org/maven2)
Downloading: http://lutinbuilder.labs.libre-entreprise.org/maven2/com/h2database
/h2/1.0.20070117/h2-1.0.20070117.pom
[WARNING] Unable to get resource 'com.h2database:h2:pom:1.0.20070117' from repos
itory codelutin-lib (http://lutinbuilder.labs.libre-entreprise.org/maven2)
Downloading: http://repo1.maven.org/maven2/com/h2database/h2/1.0.20070117/h2-1.0
.20070117.pom
[WARNING] Unable to get resource 'com.h2database:h2:pom:1.0.20070117' from repos
itory central (http://repo1.maven.org/maven2)
Downloading: http://lutinbuilder.labs.libre-entreprise.org/maven2/swixat/swixat/
0.6.0/swixat-0.6.0.pom
[WARNING] Unable to get resource 'swixat:swixat:pom:0.6.0' from repository codel
utin-lib (http://lutinbuilder.labs.libre-entreprise.org/maven2)
Downloading: http://repo1.maven.org/maven2/swixat/swixat/0.6.0/swixat-0.6.0.pom
[WARNING] Unable to get resource 'swixat:swixat:pom:0.6.0' from repository centr
al (http://repo1.maven.org/maven2)
[INFO] [compiler:compile]
[INFO] Compiling 27 source files to C:\Documents and Settings\fbastard\isis-data
base-3\target\checkout\target\classes


Benjamin POUSSIN a écrit:
On Fri, 02 Mar 2007 14:47:48 +0100
Francois.Bastardie@ifremer.fr wrote:

  
Bon,
2 problèmes il semblerait:
* 1 pour l'avenir : quand on compile avec 'mvn compile' le 
telechargement des librairies Lutin, etc. se fait bien à partir des 
nveaux fichiers pom.xml et profiles.xml que tu as corrigé mais par 
contre on aboutit à une ribambelle de messages type:

        for (Population pop : siMatrix.getPopulations(date)) {
C:\Documents and 
Settings\fbastard\isis-database-3\target\checkout\simulators\D
faultSimulator.java:[108,12] generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
        List<Rule> rules = param.getRules();

etc.
les scripts de isis semblent écrit en Java5 et là il semble tester avec 
Java 1.3 ?? il n'y aurait pas un problème de version Java ou Eclipse 
qqpart??
    

Ok, j'ai ajouter dans le fichier profiles.xml qu'il faut qu'il utilise
la syntaxe 1.5.

  
** deuxième problème: dans eclipse il ne fait toujours pas le lien entre 
le projet isis-fish-data et les librairies lutinMatrix, topia, etc.
J'ai bien creer la variable M2_REPO mais je l'a fait pointer sur 
C:\maven-2.0.5\bin car je n'ai pas de $HOME/.m2/repository (c propre à 
Linux?)
c'est ça le problème?
    

Oui.

Meme sous windows tu as un repertoires $HOME. $HOME sous linux est
pour moi /home/poussin.

Sous windows je dirais que ton repertoire $HOME est
C:\Documents and Settings\fbastard

tu peux le vérifier car il doit y avoir les fichiers .isis-config-3,
.m2, ... dedans.


--
Benjamin
--------------------
tél: +33 (0) 2 40 50 29 28
email: poussin@codelutin.com           () campagne du ruban ascii
http://www.codelutin.com               /\ pour les mails en ascii
  

_______________________________________________ Isis-fish-devel mailing list Isis-fish-devel@lists.labs.libre-entreprise.org http://lists.labs.libre-entreprise.org/mailman/listinfo/isis-fish-devel

-- 
--------------------------------------------------------
François Bastardie

French Research Institute for the Development of the Sea (IFREMER)
Ecologie et Modèles pour l'Halieutique
Rue de l'Ile d'Yeu
BP 21105
44311 NANTES Cedex 03 - France
Tél : 02 40 37 41 64  
Fax : 02 40 37 40 75
E-mail : francois.bastardie@ifremer.fr