[Geoserver-devel] Postgis-NG on trunk

Hi all,
wondering where we are with jdbc-ng switch.
I know I run WFS 1.0 cite tests with postgis-ng and they worked
out, but I did not commit the switch for web2 to postgis-ng
as other tests were needed.
Soo... what is alpha2 being released with?

I have this web2/core pom.xml change that should switch
web2 to use postgis-ng by default:

Index: pom.xml

--- pom.xml (revisione 12142)
+++ pom.xml (copia locale)
@@ -84,7 +84,7 @@
      </dependency>
      <dependency>
        <groupId>org.geotools</groupId>
- <artifactId>gt-postgis</artifactId>
+ <artifactId>gt-jdbc-postgis</artifactId>
      </dependency>
      <dependency>
        <groupId>org.geotools</groupId>

Ok to commit it? Did anyone else patched web2 in another
way to add support for postgis-ng?

Cheers
Andrea

Hmmm... I thought I already changed this. But I only changed web2/app not web2/core. Hmmm... why the dependency from core? Is it necessary?

Regardless, +1 on the change.

-Justin

Andrea Aime wrote:

Hi all,
wondering where we are with jdbc-ng switch.
I know I run WFS 1.0 cite tests with postgis-ng and they worked
out, but I did not commit the switch for web2 to postgis-ng
as other tests were needed.
Soo... what is alpha2 being released with?

I have this web2/core pom.xml change that should switch
web2 to use postgis-ng by default:

Index: pom.xml

--- pom.xml (revisione 12142)
+++ pom.xml (copia locale)
@@ -84,7 +84,7 @@
      </dependency>
      <dependency>
        <groupId>org.geotools</groupId>
- <artifactId>gt-postgis</artifactId>
+ <artifactId>gt-jdbc-postgis</artifactId>
      </dependency>
      <dependency>
        <groupId>org.geotools</groupId>

Ok to commit it? Did anyone else patched web2 in another
way to add support for postgis-ng?

Cheers
Andrea

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Justin Deoliveira ha scritto:

Hmmm... I thought I already changed this. But I only changed web2/app not web2/core. Hmmm... why the dependency from core? Is it necessary?

Well, core depends on old postgis because there is a direct reference
from the application context:

<bean id="postgisDataStorePanel" class="org.geoserver.web.data.resource.DataStorePanelInfo">
     <property name="id" value="postgis"/>
     <property name="factoryClass" value="org.geotools.data.postgis.PostgisDataStoreFactory"/>
     <property name="iconBase" value="org.geoserver.web.GeoServerApplication"/>
     <property name="icon" value="img/icons/geosilk/database_vector.png"/>
   </bean>

This is just used to provide a name and an icon for postgis
in the new datastore panel.
I guess this could be also turned in its own custom module,
would make especially sense if we have a real custom
parameter entry panel for Postgis

Cheers
Andrea