[Geoserver-users] Build Failure on trunk

hi everybody,

Impossible to build the trunk (1.6.X) today, build failure on test.

----------------------------------
- GEOSERVER_DATA_DIR: /tmp/mock36384data
----------------------------------
9 juil. 2007 15:07:03 org.vfny.geoserver.global.xml.XMLConfigReader loadCatalog
ATTENTION: Your catalog.xml file is not up to date and is probably from an older version of GeoServer. This problem is now being fixed automatically.
9 juil. 2007 15:07:05 org.geotools.xml.SchemaLocator locateSchema
ATTENTION: Failed to create schema: http://www.opengis.net/wfs
java.lang.NullPointerException: Could not find a type for property: dateTimeProperty of type: java.sql.Timestamp
        at org.geoserver.wfs.xml.FeatureTypeSchemaBuilder.buildSchemaContent(FeatureTypeSchemaBuilder.java:248)

When i try to skip test : mvn install -Dmaven.test.skip
[INFO] ----------------------------------------------------------------------------
[INFO] Building Versioned Web Feature Service Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.geotools.maven:gt2-xmlcodegen' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------

Any ideas ?

Thanks....

--
Sébastien

Hi Sébastien,

It appears that the build box agrees with you.. I am looking into the problem.

-Justin

Sébastien Geindre wrote:

hi everybody,

Impossible to build the trunk (1.6.X) today, build failure on test.

----------------------------------
- GEOSERVER_DATA_DIR: /tmp/mock36384data
----------------------------------
9 juil. 2007 15:07:03 org.vfny.geoserver.global.xml.XMLConfigReader loadCatalog
ATTENTION: Your catalog.xml file is not up to date and is probably from an older version of GeoServer. This problem is now being fixed automatically.
9 juil. 2007 15:07:05 org.geotools.xml.SchemaLocator locateSchema
ATTENTION: Failed to create schema: http://www.opengis.net/wfs
java.lang.NullPointerException: Could not find a type for property: dateTimeProperty of type: java.sql.Timestamp
        at org.geoserver.wfs.xml.FeatureTypeSchemaBuilder.buildSchemaContent(FeatureTypeSchemaBuilder.java:248)

When i try to skip test : mvn install -Dmaven.test.skip
[INFO] ----------------------------------------------------------------------------
[INFO] Building Versioned Web Feature Service Module
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.geotools.maven:gt2-xmlcodegen' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------

Any ideas ?

Thanks....

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Justin Deoliveira ha scritto:

Hi Sébastien,

It appears that the build box agrees with you.. I am looking into the problem.

A local build works just fine here... againk, I think there is something
that overwrites the jars in the repo with versions, and this is
happening periodically. On my PC it builds fine because I did a fresh
gt2 build and then forced the Geoserver build not to download anything
using the -o switch.

Cheers
Andrea

Andrea Aime a écrit :

Justin Deoliveira ha scritto:

Hi Sébastien,

It appears that the build box agrees with you.. I am looking into the problem.

A local build works just fine here... againk, I think there is something
that overwrites the jars in the repo with versions, and this is
happening periodically. On my PC it builds fine because I did a fresh
gt2 build and then forced the Geoserver build not to download anything
using the -o switch.

could it be a dependence to gt2 library ?

Cheers
Andrea

--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr
05 61 07 84 93

Yes, this is definitely the problem... just sent an email to the gt devel list to try and get this sorted out.. For not it appears the only work around is to build gt locally :(.

-Justin

Andrea Aime wrote:

Justin Deoliveira ha scritto:

Hi Sébastien,

It appears that the build box agrees with you.. I am looking into the problem.

A local build works just fine here... againk, I think there is something
that overwrites the jars in the repo with versions, and this is
happening periodically. On my PC it builds fine because I did a fresh
gt2 build and then forced the Geoserver build not to download anything
using the -o switch.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,4692536832565210051143!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

it seems that my compliation environment is broken...
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/geindre/bin/geoserver-1.6/geoserver/wfsv/src/main/java/org/vfny/geoserver/global/GeoServerVersioningFeatureLocking.java:[25,7] org.vfny.geoserver.global.GeoServerVersioningFeatureLocking is not abstract and does not override abstract method getDifferences(java.lang.String,java.lang.String,org.opengis.filter.Filter) in org.geotools.data.VersioningFeatureSource

do i have to make a mvn clean ???

chekcout gotools trunk, mvn install it
and then compile geoserver trunk with -o option ?

thank for your help.

Sébastien Geindre a écrit :

Andrea Aime a écrit :
  

Justin Deoliveira ha scritto:
    

Hi Sébastien,

It appears that the build box agrees with you.. I am looking into the problem.
      

A local build works just fine here... againk, I think there is something
that overwrites the jars in the repo with versions, and this is
happening periodically. On my PC it builds fine because I did a fresh
gt2 build and then forced the Geoserver build not to download anything
using the -o switch.
    

could it be a dependence to gt2 library ?
  

Cheers
Andrea

Sébastien Geindre ha scritto:

it seems that my compliation environment is broken...
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/geindre/bin/geoserver-1.6/geoserver/wfsv/src/main/java/org/vfny/geoserver/global/GeoServerVersioningFeatureLocking.java:[25,7] org.vfny.geoserver.global.GeoServerVersioningFeatureLocking is not abstract and does not override abstract method getDifferences(java.lang.String,java.lang.String,org.opengis.filter.Filter) in org.geotools.data.VersioningFeatureSource

do i have to make a mvn clean ???

chekcout gotools trunk, mvn install it
and then compile geoserver trunk with -o option ?

Yeah, that should be just enough... are you telling me that
after these three steps you're still having Geoserver broken?
If so, things are worse that I thought...

Cheers
Andrea

Sébastien Geindre wrote:

it seems that my compliation environment is broken...
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/geindre/bin/geoserver-1.6/geoserver/wfsv/src/main/java/org/vfny/geoserver/global/GeoServerVersioningFeatureLocking.java:[25,7] org.vfny.geoserver.global.GeoServerVersioningFeatureLocking is not abstract and does not override abstract method getDifferences(java.lang.String,java.lang.String,org.opengis.filter.Filter) in org.geotools.data.VersioningFeatureSource

do i have to make a mvn clean ???

Its usually a good idea to do a clean yes. I usually never just do mvn install, always mvn clean install.

chekcout gotools trunk, mvn install it
and then compile geoserver trunk with -o option ?

If you checkout gt trunk, maven install it you should be able to build geotools trunk with or without the -o option.

-Justin

thank for your help.

Sébastien Geindre a écrit :

Andrea Aime a écrit :
  

Justin Deoliveira ha scritto:
    

Hi Sébastien,

It appears that the build box agrees with you.. I am looking into the problem.
      

A local build works just fine here... againk, I think there is something
that overwrites the jars in the repo with versions, and this is
happening periodically. On my PC it builds fine because I did a fresh
gt2 build and then forced the Geoserver build not to download anything
using the -o switch.
    

could it be a dependence to gt2 library ?
  

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,46925f0063582092453641!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Andrea Aime a écrit :

Sébastien Geindre ha scritto:

it seems that my compliation environment is broken...
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/geindre/bin/geoserver-1.6/geoserver/wfsv/src/main/java/org/vfny/geoserver/global/GeoServerVersioningFeatureLocking.java:[25,7] org.vfny.geoserver.global.GeoServerVersioningFeatureLocking is not abstract and does not override abstract method getDifferences(java.lang.String,java.lang.String,org.opengis.filter.Filter) in org.geotools.data.VersioningFeatureSource

do i have to make a mvn clean ???

chekcout gotools trunk, mvn install it
and then compile geoserver trunk with -o option ?

Yeah, that should be just enough... are you telling me that
after these three steps you're still having Geoserver broken?
If so, things are worse that I thought...

i did that and it'ok.
Merci !

Cheers
Andrea

--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr