[Geoserver-users] [Geoserver-devel] geoserver-1.4.x_merge_wcs from svn depends on geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available

Sorry about the misunderstanding Vincent.

If someones wnats to build out the raster-branch of geoserver you have
to do as follows:

1>Checkout the geotools-2.3.x stable branch here

http://svn.geotools.org/geotools/branches/2.3.x

3>Install JAI and ImageIO for your plaform

details are here

<where to get it>
Here you have the links to the latest builds (the ones I personally use):

https://jai.dev.java.net/binary-builds.html#Daily_builds
https://jai-imageio.dev.java.net/binary-builds.html#Daily_builds_1.1

<how to install it>
The two libraries have a commons structure. Each of them as a native
distribution (dll or so files) contained in the bin dir and a pure
java distribution (jar files) contained in the lib/ext dir.

Simply drop the native files in a location that is in the path while
put the jar in the jre/lib/ext.

I usually put the dll in the bin dir of jdk and jre and also I put the
jars in jdk_home/jre/lib/ext and jre_home/lib/ext because in case you
might want to rebuild geotools from source you need to have JAI
installed on both locations.

4>Checkout the geoserver raster branch here

https://svn.codehaus.org/geoserver/branches/1.4.x_merge_wcs

5>do a maven install for geotools and the for geoserver

At the end you should get e nice WAR for geoserver in the web dir of
the geoserver checkout. You can deploy that in tomcat or just use the
built-in jetty engine (not recommended, at least not by me :slight_smile: ) to
try the war out.

Tomorrow, I will be the whole day working on geoserver-geotoos, let me
know if you have some problems.

Simone.

On 10/12/06, Vincent Schut <schut@anonymised.com> wrote:

Ciao Simone,

thanks for the clarification, I mistakenly supposed that the
merge-wcs-branch depended on the current svn of geotools, 2.4.0-snaphot.
I'll get and build the 2.3 branch and see if that works.

Vincent.

-------- Original Message --------
From: "Simone Giannecchini" <simboss1@anonymised.com>
To: "Vincent Schut" <schut@anonymised.com>
Subject: Re:[Geoserver-devel] geoserver-1.4.x_merge_wcs from svn depends
on geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available
Date: 10/12/2006 02:17 PM
> Ciao Vincent,
> the raster-branch of geoserver depends on the 2.3.x branch of geotools.
>
> If you download and build the source code of the geoserver branch you
> need also to download and build the code for the correlated geotools
> 2.3.x branch which can be found here
>
> http://svn.geotools.org/geotools/branches/2.3.x
>
> in order to build the jars needed for geoserver
>
> Anyway, within next week we should create a new release of the
> geoserver raster branch together with the geotools 2.3.-rc1 release.
>
> Simone.
>
> On 10/12/06, Vincent Schut <schut@anonymised.com> wrote:
>> Hi devs,
>>
>> geoserver-1.4.x_merge_wcs from svn depends on
>> geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available from the
>> geotools m2 repo. See the following error on mvn compile:
>>
>> vincent@anonymised.com /usr/local/src/geoserver-1.4.x_merge_wcs $ mvn compile
>> [INFO] Scanning for projects...
>> [INFO] Reactor build order:
>> [INFO] GeoServer
>> [INFO] Core Platform Module
>> [INFO] Data Module
>> [INFO] Main Module
>> [INFO] Web Coverage Service Module
>> [INFO] Validation Module
>> [INFO] Web Feature Service Module
>> [INFO] Web Map Service Module
>> [INFO] GeoServer Maven Plugins
>> [INFO] Configuration Deployment PlugIn
>> [INFO] Web Application Module
>> [INFO] Artifact Merger PlugIn
>> [INFO] Test Module
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] Building GeoServer
>> [INFO] task-segment: [compile]
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] No goals needed for project - skipping
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] Building Core Platform Module
>> [INFO] task-segment: [compile]
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> Downloading:
>> http://lists.refractions.net/m2//org/geotools/gt2-main/2.3.0-RC1-SNAPSHOT/gt2-main-2.3.0-RC1-SNAPSHOT.pom
>>
>> [WARNING] Unable to get resource from repository refractions
>> (http://lists.refractions.net/m2/)
>> Downloading:
>> http://lists.refractions.net/m2//org/geotools/gt2-api/2.3.0-RC1-SNAPSHOT/gt2-api-2.3.0-RC1-SNAPSHOT.pom
>>
>> [WARNING] Unable to get resource from repository refractions
>> (http://lists.refractions.net/m2/)
>> Downloading:
>> http://lists.refractions.net/m2//org/geotools/gt2-api/2.3.0-RC1-SNAPSHOT/gt2-api-2.3.0-RC1-SNAPSHOT.jar
>>
>> [WARNING] Unable to get resource from repository refractions
>> (http://lists.refractions.net/m2/)
>> Downloading:
>> http://lists.refractions.net/m2//org/geotools/gt2-main/2.3.0-RC1-SNAPSHOT/gt2-main-2.3.0-RC1-SNAPSHOT.jar
>>
>> [WARNING] Unable to get resource from repository refractions
>> (http://lists.refractions.net/m2/)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.geotools:gt2-api:jar:2.3.0-RC1-SNAPSHOT
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.geotools
>> -DartifactId=gt2-api \
>> -Dversion=2.3.0-RC1-SNAPSHOT -Dpackaging=jar
>> -Dfile=/path/to/file
>>
>> Path to dependency:
>> 1) org.geoserver:platform:jar:1.4.0-M2-WCS
>> 2) org.geotools:gt2-api:jar:2.3.0-RC1-SNAPSHOT
>>
>> 2) org.geotools:gt2-main:jar:2.3.0-RC1-SNAPSHOT
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.geotools
>> -DartifactId=gt2-main \
>> -Dversion=2.3.0-RC1-SNAPSHOT -Dpackaging=jar
>> -Dfile=/path/to/file
>>
>> Path to dependency:
>> 1) org.geoserver:platform:jar:1.4.0-M2-WCS
>> 2) org.geotools:gt2-main:jar:2.3.0-RC1-SNAPSHOT
>>
>> ----------
>> 2 required artifacts are missing.
>>
>> for artifact:
>> org.geoserver:platform:jar:1.4.0-M2-WCS
>>
>> from the specified remote repositories:
>> espace (http://maven.espace.ird.nc),
>> geotools (http://maven.geotools.fr/repository/),
>> mortbay (http://www.mortbay.org/maven2/release),
>> refractions (http://lists.refractions.net/m2/),
>> central (http://repo1.maven.org/maven2),
>> ibiblio (http://www.ibiblio.org/maven2)
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 4 seconds
>> [INFO] Finished at: Thu Oct 12 13:54:51 CEST 2006
>> [INFO] Final Memory: 9M/21M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> I checked the geotools repo manually and these jars are indeed missing.
>>
>> Cheers,
>> Vincent.
>>
>> -------------------------------------------------------------------------
>>
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Geoserver-devel mailing list
>> Geoserver-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------

Ciao Vincent,
please, read below...

On 10/12/06, Vincent Schut <schut@anonymised.com> wrote:

Simone,

Thanks for the help. But first let me explain a bit about my interest in
geoserver.
I started playing with geoserver (wcs branch) about some weeks ago, as
we probably want to replace our webgis engine (mapserver) by geoserver
(and mapbuider) in due time. We have quite some rasters to serve, so
that's why I choose the wcs branch. I've been following the geoserver
(and deegree and mapserver) mailing lists already much longer by the
way, so that I would know better if geoserver would meet our needs.
I figured that the wcs branch would be about ready to play with, so I
started. I already had jai and jai-io (did some java image processing
before) so that's no problem. I compiled both geotools trunk and
geoserver-wcs branch, which appeared to match at that time, that's why I
was confused about the changed depencency on geotools-2.3.x which
apparently is not trunk anymore...

Sorry about the confusion. Lately we have had much discussion about
how to proceed with the various projectes involves,
geoserver,udig,geotools. If you are interested here you can find some
plans

http://docs.codehaus.org/pages/viewpageattachments.action?pageId=16158&highlight=GTSteering.pdf#Develop-attachment-GTSteering.pdf

We are planning on making the geoserver-raster-branch you checked out
the new geoserver trunk for 1.5.
As of now GeoServer trunk sits on top of geotools 2.2.x which is
getting old. On the other hand our branch has always been depending on
trunk.
The plan for GeoServer 1.5.x is to sit on top of GeoTools 2.3.x hence
we decided one week ago to stop doing our raster development on
GeoTools trunk and live on GeoTools 2.3.x since as of now most part of
the time we are just cleaning up code and creating plugins for new
formats hence we won't break anything along the line of this "stable"
development.

Moreover soon uDig as well we'll be moving to 2.3.x. What his the
point of all this? More people working on the branch, more features,
more stability, more quality produce better usability.

So I already figured out how to install geotools and geoserver stuff
from the maze that's called confluence/geoserver website :slight_smile:

By the way, I suppose you mean 'mvn install' instead of 'maven install'?
I thought both geotools and geoserver used maven2 currently?

Yeah, sorry, my fault :-).

And I don't like jetty either (but it's good for testing if the build
works). I usually deploy on tomcat.

OK, back to business. I downloaded the 2.3.x branch, and it built OK.
I'm now building geoserver again... Ah, it just finished. Build successful.
Tomorrow I'll let you know if/when I had any other problems. (If you
don't get any email from me, all went fine :))

Cool, your input and feedback as an experienced user is highly
appreciated. We are working hard to make things easier to use and more
robust therefore any input is more than welcome.

Btw geotools-2.3.x does not build with java-1.6-beta, but I guess it's
not meant to do so... I switched back to java 1.5, and everything
builded fine.

Well, strange enough, I was yesterday talking to my colleague Alessio
about starting to play with 1.6 since it has some nice features
especially when it comes to ImageIO improvements. I am going to give
it a try soon, but for the moment your experience is the only one I am
aware of with 1.6.

Anyway, thanks for the support. Probably we'll be in contact, because
I'll be doing more playing/testing with geoserver wcs branch.

I hope so, keep me and the list posted about how things proceed. Feel
free to contact me or my colleague Alessio anytime you need it either
by the mailing list or directly.

Simone.

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------

-------- Original Message --------
From: "Simone Giannecchini" <simboss1@anonymised.com>
To: "Vincent Schut" <schut@anonymised.com>
Subject: Re:[Geoserver-devel] geoserver-1.4.x_merge_wcs from svn depends on geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available
Date: 10/12/2006 07:32 PM

<snip>
Note: this is a follow up on a previous subject but I changed the subject to more or less reflect the subject of this reply, so other possibly interested readers will not skip it.

Well, strange enough, I was yesterday talking to my colleague Alessio
about starting to play with 1.6 since it has some nice features
especially when it comes to ImageIO improvements. I am going to give
it a try soon, but for the moment your experience is the only one I am
aware of with 1.6.
  

And beside the imageio improvements, it should offer a nicer gui experience for linux/gnome users :slight_smile:
Thought I'd try again with jdk1.6 and report you and Alessio the problem with java 1.6 (beta102 on amd64), as I've got the jdk installed anyway. This is the error, as far as I can see it's probably just a small api change between 1.5 and 1.6 regarding sql:

/usr/local/src/geotools/branch-2.3.x/module/referencing/src/org/geotools/referencing/factory/epsg/SimpleDataSource.java:[99,7] org.geotools.referencing.factory.epsg.SimpleDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper

Hmm should I post this on the geotools-list too?

I'll keep with 1.5 for the time being; the build with jdk1.5 went fine yesterday. If you need a jdk1.6 tester just let me hear, I'll be glad to give it a try again.

  

Anyway, thanks for the support. Probably we'll be in contact, because
I'll be doing more playing/testing with geoserver wcs branch.

I hope so, keep me and the list posted about how things proceed. Feel
free to contact me or my colleague Alessio anytime you need it either
by the mailing list or directly.
  

Thanks for the support. I'll keep in touch.

Vincent

Simone,

Thanks for the help. But first let me explain a bit about my interest in geoserver.
I started playing with geoserver (wcs branch) about some weeks ago, as we probably want to replace our webgis engine (mapserver) by geoserver (and mapbuider) in due time. We have quite some rasters to serve, so that's why I choose the wcs branch. I've been following the geoserver (and deegree and mapserver) mailing lists already much longer by the way, so that I would know better if geoserver would meet our needs. I figured that the wcs branch would be about ready to play with, so I started. I already had jai and jai-io (did some java image processing before) so that's no problem. I compiled both geotools trunk and geoserver-wcs branch, which appeared to match at that time, that's why I was confused about the changed depencency on geotools-2.3.x which apparently is not trunk anymore...

So I already figured out how to install geotools and geoserver stuff from the maze that's called confluence/geoserver website :slight_smile:

By the way, I suppose you mean 'mvn install' instead of 'maven install'? I thought both geotools and geoserver used maven2 currently?

And I don't like jetty either (but it's good for testing if the build works). I usually deploy on tomcat.

OK, back to business. I downloaded the 2.3.x branch, and it built OK. I'm now building geoserver again... Ah, it just finished. Build successful.
Tomorrow I'll let you know if/when I had any other problems. (If you don't get any email from me, all went fine :))

Btw geotools-2.3.x does not build with java-1.6-beta, but I guess it's not meant to do so... I switched back to java 1.5, and everything builded fine.

Anyway, thanks for the support. Probably we'll be in contact, because I'll be doing more playing/testing with geoserver wcs branch.

Ciao,
Vincent.

-------- Original Message --------
From: "Simone Giannecchini" <simboss1@anonymised.com>
To: "Vincent Schut" <schut@anonymised.com>
Subject: Re:[Geoserver-devel] geoserver-1.4.x_merge_wcs from svn depends on geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available
Date: 10/12/2006 03:35 PM

Sorry about the misunderstanding Vincent.

If someones wnats to build out the raster-branch of geoserver you have
to do as follows:

1>Checkout the geotools-2.3.x stable branch here

http://svn.geotools.org/geotools/branches/2.3.x

3>Install JAI and ImageIO for your plaform

details are here

<where to get it>
Here you have the links to the latest builds (the ones I personally use):

https://jai.dev.java.net/binary-builds.html#Daily_builds
https://jai-imageio.dev.java.net/binary-builds.html#Daily_builds_1.1

<how to install it>
The two libraries have a commons structure. Each of them as a native
distribution (dll or so files) contained in the bin dir and a pure
java distribution (jar files) contained in the lib/ext dir.

Simply drop the native files in a location that is in the path while
put the jar in the jre/lib/ext.

I usually put the dll in the bin dir of jdk and jre and also I put the
jars in jdk_home/jre/lib/ext and jre_home/lib/ext because in case you
might want to rebuild geotools from source you need to have JAI
installed on both locations.

4>Checkout the geoserver raster branch here

https://svn.codehaus.org/geoserver/branches/1.4.x_merge_wcs

5>do a maven install for geotools and the for geoserver

At the end you should get e nice WAR for geoserver in the web dir of
the geoserver checkout. You can deploy that in tomcat or just use the
built-in jetty engine (not recommended, at least not by me :slight_smile: ) to
try the war out.

Tomorrow, I will be the whole day working on geoserver-geotoos, let me
know if you have some problems.

Simone.

On 10/12/06, Vincent Schut <schut@anonymised.com> wrote:
  

Ciao Simone,

thanks for the clarification, I mistakenly supposed that the
merge-wcs-branch depended on the current svn of geotools, 2.4.0-snaphot.
I'll get and build the 2.3 branch and see if that works.

Vincent.

-------- Original Message --------
From: "Simone Giannecchini" <simboss1@anonymised.com>
To: "Vincent Schut" <schut@anonymised.com>
Subject: Re:[Geoserver-devel] geoserver-1.4.x_merge_wcs from svn depends
on geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available
Date: 10/12/2006 02:17 PM
    

Ciao Vincent,
the raster-branch of geoserver depends on the 2.3.x branch of geotools.

If you download and build the source code of the geoserver branch you
need also to download and build the code for the correlated geotools
2.3.x branch which can be found here

http://svn.geotools.org/geotools/branches/2.3.x

in order to build the jars needed for geoserver

Anyway, within next week we should create a new release of the
geoserver raster branch together with the geotools 2.3.-rc1 release.

Simone.

On 10/12/06, Vincent Schut <schut@anonymised.com> wrote:
      

Hi devs,

geoserver-1.4.x_merge_wcs from svn depends on
geotools-2.3.0-RC1-SNAPSHOT which is not (yet) available from the
geotools m2 repo. See the following error on mvn compile:

vincent@anonymised.com /usr/local/src/geoserver-1.4.x_merge_wcs $ mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GeoServer
[INFO] Core Platform Module
[INFO] Data Module
[INFO] Main Module
[INFO] Web Coverage Service Module
[INFO] Validation Module
[INFO] Web Feature Service Module
[INFO] Web Map Service Module
[INFO] GeoServer Maven Plugins
[INFO] Configuration Deployment PlugIn
[INFO] Web Application Module
[INFO] Artifact Merger PlugIn
[INFO] Test Module
[INFO]
----------------------------------------------------------------------------

[INFO] Building GeoServer
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------

[INFO] No goals needed for project - skipping
[INFO]
----------------------------------------------------------------------------

[INFO] Building Core Platform Module
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://lists.refractions.net/m2//org/geotools/gt2-main/2.3.0-RC1-SNAPSHOT/gt2-main-2.3.0-RC1-SNAPSHOT.pom

[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
Downloading:
http://lists.refractions.net/m2//org/geotools/gt2-api/2.3.0-RC1-SNAPSHOT/gt2-api-2.3.0-RC1-SNAPSHOT.pom

[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
Downloading:
http://lists.refractions.net/m2//org/geotools/gt2-api/2.3.0-RC1-SNAPSHOT/gt2-api-2.3.0-RC1-SNAPSHOT.jar

[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
Downloading:
http://lists.refractions.net/m2//org/geotools/gt2-main/2.3.0-RC1-SNAPSHOT/gt2-main-2.3.0-RC1-SNAPSHOT.jar

[WARNING] Unable to get resource from repository refractions
(http://lists.refractions.net/m2/)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geotools:gt2-api:jar:2.3.0-RC1-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
     mvn install:install-file -DgroupId=org.geotools
-DartifactId=gt2-api \
         -Dversion=2.3.0-RC1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

Path to dependency:
       1) org.geoserver:platform:jar:1.4.0-M2-WCS
       2) org.geotools:gt2-api:jar:2.3.0-RC1-SNAPSHOT

2) org.geotools:gt2-main:jar:2.3.0-RC1-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
     mvn install:install-file -DgroupId=org.geotools
-DartifactId=gt2-main \
         -Dversion=2.3.0-RC1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

Path to dependency:
       1) org.geoserver:platform:jar:1.4.0-M2-WCS
       2) org.geotools:gt2-main:jar:2.3.0-RC1-SNAPSHOT

----------
2 required artifacts are missing.

for artifact:
org.geoserver:platform:jar:1.4.0-M2-WCS

from the specified remote repositories:
espace (http://maven.espace.ird.nc),
geotools (http://maven.geotools.fr/repository/),
mortbay (http://www.mortbay.org/maven2/release),
refractions (http://lists.refractions.net/m2/),
central (http://repo1.maven.org/maven2),
ibiblio (http://www.ibiblio.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Oct 12 13:54:51 CEST 2006
[INFO] Final Memory: 9M/21M
[INFO]
------------------------------------------------------------------------

I checked the geotools repo manually and these jars are indeed missing.

Cheers,
Vincent.

-------------------------------------------------------------------------

Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel