On Mon, Apr 8, 2013 at 10:20 AM, Andrea Aime
<[email protected]> wrote:
>
> Nice. I guess your first stop is to checkout the geotools sources from trunk
> and try to
> build them. In order to also include the ogr module in the build, you have
> to add -Pogr
> to the command line:
>
> mvn clean install -Pogr
>
> Once you have the jar for that module built (it will be in the module's
> target directory), you can drop
> it in a GeoServer master nightly build and if all is fine, it should just
> work (otherwise... not, let me know)
>

Hi Andrea

I gave a try today, it looks no jar were built.
Looking at the build output, it seems there was an error:

[INFO] ------------------------------------------------------------------------
[INFO] Building OGR DataStore Module
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/home/capooti/training/geoserver/geotools/geotools/modules/unsupported/ogr/pom.xml
to 
/home/capooti/.m2/repository/org/geotools/gt-ogr/10-SNAPSHOT/gt-ogr-10-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core OGR DataStore Module
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/capooti/training/geoserver/geotools/geotools/modules/unsupported/ogr/ogr-core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 12 source files to
/home/capooti/training/geoserver/geotools/geotools/modules/unsupported/ogr/ogr-core/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 5 source files to
/home/capooti/training/geoserver/geotools/geotools/modules/unsupported/ogr/ogr-core/target/test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/capooti/training/geoserver/geotools/geotools/modules/unsupported/ogr/ogr-core/src/test/java/org/geotools/data/ogr/OGRPeformanceTest.java:[66,33]
cannot find symbol
symbol  : constructor ShapefileDataStore(java.net.URL,boolean)
location: class org.geotools.data.shapefile.ShapefileDataStore

I am compiling vs GDAL 1.10. Any suggestion?

cheers
p

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to