Re: [Geotools-devel] Question regarding maven repos

2009-11-29 Thread Christian Müller
I configured like you proposed, this is a good idea.
Anyway the problem remains. I have 2 build servers, one suse 11.1 32 bit and 
one ubunutu 9.10 64 Bit. Both of them hosted a tomcat6 and I deployed the 
hudson war. The configurations seem to be identical, but the 32 bit Hudson 
had these class path problems. 

At the end, I removed tomcat6 on both virtual machines  and started the 
hudson.war with the init scripts. This works. 

Another interesting thing is that starting hudson with OpenJDK, no geoserver 
builds are possible. This is because of an SSL handshake problem.
I did not investigate further and use SUN 6 now. 

I hope to have offical URLs within December. At the moment I can say that 
the SUN builds work as expected, the ibm and openjdk builds have problems, 
interestingly sometimes exact the same test cases. 

So far, so good 


Andrea Aime writes: 

> Christian Müller ha scritto:
>> If I run geoserver and geotools builds with java 5 and java 6 on the same 
>> machine, should I have two different local maven repos. (At the moment I 
>> have one, ".m2" in the home dir.
> 
> Yes, you should. On the win32 hudson (which is not working due to
> systematic failures we are not able to trace atm) I made maven use
> two separate repositories for java5 and java6 by adding the following
> configuration: 
> 
> -gs "C:/Hudson/Hudson Home With Spaces/mvn/settings-jdk5.xml" 
> 
> where settings-jdk5.xml is a copy of apache-maven/conf/settings
> with an explicitly set localRepository 
> 
> Hope this helps 
> 
> Cheers
> Andrea 
> 
> -- 
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] Question regarding maven repos

2009-11-25 Thread Andrea Aime
Christian Müller ha scritto:
> If I run geoserver and geotools builds with java 5 and java 6 on the same 
> machine, should I have two different local maven repos. (At the moment I 
> have one, ".m2" in the home dir. 

Yes, you should. On the win32 hudson (which is not working due to
systematic failures we are not able to trace atm) I made maven use
two separate repositories for java5 and java6 by adding the following
configuration:

-gs "C:/Hudson/Hudson Home With Spaces/mvn/settings-jdk5.xml"

where settings-jdk5.xml is a copy of apache-maven/conf/settings
with an explicitly set localRepository

Hope this helps

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Question regarding maven repos

2009-11-25 Thread Christian Müller

If I run geoserver and geotools builds with java 5 and java 6 on the same 
machine, should I have two different local maven repos. (At the moment I 
have one, ".m2" in the home dir. 

The jobs are started with the same maven options as in the official hudson 
build server. 

Sometimes I get errors like 

"Invalid version number in class file", which indicates a Java5 / Java 6 
clash.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel