Re: [Geotools-devel] Setting system properties for junit tests

2009-05-13 Thread Michael Bedward
You can do it as in this example I think... http://www.mail-archive.com/us...@maven.apache.org/msg66139.html Michael -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environm

Re: [Geotools-devel] Setting system properties for junit tests

2009-05-13 Thread Andrea Aime
Christian Müller ha scritto: > I have to set some system properties for new junit test in jdbc-ng. > > 1) > Trying to use > System.setProperty("java.naming.factory.initial", > "org.osjava.sj.SimpleContextFactory") > > in the test case works within eclispe, but NOT with a "mvn clean install".

[Geotools-devel] Setting system properties for junit tests

2009-05-13 Thread Christian Müller
I have to set some system properties for new junit test in jdbc-ng. 1) Trying to use System.setProperty("java.naming.factory.initial", "org.osjava.sj.SimpleContextFactory") in the test case works within eclispe, but NOT with a "mvn clean install". 2) mvn -Djava.naming.factory.initial=org.os