[Geoserver-users] GeoServer 1.7.2 Released

The GeoServer team is happy to announce the release of GeoServer 1.7.2.
The release is available for download from:

http://geoserver.org/display/GEOS/GeoServer+1.7.2

The new and note worthy for this release includes:

   * Curved labeling
   * Label wrapping
   * Support for hatched fills
   * OGR WFS output extension
   * Improved DB2 extension
   * HTML imagemap extension
   * Label support in GeoExt styler extension

And more. The entire change log can be found in the issue tracker:

http://jira.codehaus.org/browse/GEOS/fixforversion/14681

A special thanks goes out to:

* Mauro Bartolomeoli for contributing the HTML image map extension
* Christian Müller for his work on the improved DB2 extension
* Ming Ya Jiang (aka "Dukie") for his patch to REST config

And thanks to everyone who contributed bug reports and testing for this
release.

--
The GeoServer Team

Hi Justin,

I'm trying to mount the geoserver 1.7.2 project (source), but are missing 2
jar files.

I wonder where can i get the gt-main-2.5.3.jar and gt-api-2.5.3.jar.

This is the scenario when i do the mvn -Dmaven.test.skip install

(...)

Downloading:
http://www.mortbay.org/maven2/release/org/geotools/gt-main/2.5.3/gt
-main-2.5.3.jar
Downloading:
http://maven.restlet.org/org/geotools/gt-main/2.5.3/gt-main-2.5.3.j
ar
Downloading:
http://repo1.maven.org/maven2/org/geotools/gt-main/2.5.3/gt-main-2.
5.3.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geotools:gt-api:jar:2.5.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-api
-Dvers
ion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-api
-Dversio
n=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:1.7.2
        2) org.geotools:gt-api:jar:2.5.3

2) org.geotools:gt-main:jar:2.5.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-main
-Dver
sion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-main
-Dversi
on=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:1.7.2
        2) org.geotools:gt-main:jar:2.5.3

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

for artifact:
  org.geoserver:geoserver:pom:1.7.2

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

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Mon Jan 26 10:01:34 GMT 2009

Cumps,

D. Nunes
--
View this message in context: http://www.nabble.com/GeoServer-1.7.2-Released-tp21659659p21663113.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

I think you posted this three times to the mailing list (or maybe a moderator let all the messages through at once), please be careful about that.

It doesn't looke lik 2.5.3 has been deployed to any of the mirrors... not sure whether they moved to OSGeo servers yet or not, Justin will be able to tell you. But you can build it yourself by checking out http://svn.osgeo.org/geotools/tags/2.5.3/

Build build/maven first, to get the necessary tools, then go into the root and run with -DALL

-Arne

D.Nunes wrote:

Hi Justin,

I'm trying to mount the geoserver 1.7.2 project (source), but are missing 2
jar files.

I wonder where can i get the gt-main-2.5.3.jar and gt-api-2.5.3.jar.

This is the scenario when i do the mvn -Dmaven.test.skip install

Downloading:
http://www.mortbay.org/maven2/release/org/geotools/gt-main/2.5.3/gt
-main-2.5.3.jar
Downloading:
http://maven.restlet.org/org/geotools/gt-main/2.5.3/gt-main-2.5.3.j
ar
Downloading:
http://repo1.maven.org/maven2/org/geotools/gt-main/2.5.3/gt-main-2.
5.3.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geotools:gt-api:jar:2.5.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-api
-Dvers
ion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-api
-Dversio
n=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:1.7.2
        2) org.geotools:gt-api:jar:2.5.3

2) org.geotools:gt-main:jar:2.5.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-main
-Dver
sion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-main
-Dversi
on=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:1.7.2
        2) org.geotools:gt-main:jar:2.5.3

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

for artifact:
  org.geoserver:geoserver:pom:1.7.2

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

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Mon Jan 26 10:01:34 GMT 2009

i'm following

Cumps,

D. Nunes
  
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers

Hi! Sorry for the multiple answers. I edited multiple times.

i'm following this manual:

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

1) Install JAVA SDK
Download and install the Java SDK.

Create an environment variable called JAVA_HOME and point it to your Java
SDK directory.
Then modify the PATH variable and add: ;%JAVA_HOME%/bin
Apply the changes.

2) Download Subversion
Windows:
http://subversion.tigris.org/files/documents/15/29065/svn-1.3.0-setup.exe
Linux: http://subversion.tigris.org/project_packages.html

Install subversion.

3) Checkout the Source Code
Using SVN Checkout, get the source code:
svn checkout https://svn.codehaus.org/geoserver/trunk

4) Download and install Maven
Windows: http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.4.exe
Linux: http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0.4.zip

If you are using Linux, execute the following commands:
export M2_HOME=/usr/java/maven-2.0.4
export PATH=$PATH:$M2_HOME/bin

5) Build Source Code
Go to the command line and navigate to the root of the source tree that you
just downloaded.
Execute the command:
mvn install

If it fails, just try again. It trys to download jars and some might not be
available at that time. So just keep trying.

If it succeeds, run the next command:
mvn eclipse:eclipse

6) Set up Eclipse
Windows:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-SDK-3.1.2-win32.zip
Linux GTK:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-SDK-3.1.2-linux-gtk.tar.gz
Linux Motif:
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-SDK-3.1.2-linux-motif.tar.gz

Install Eclipse.

Start up Eclipse.
Got to: Windows -> Preferences
In the wondow that pops up click on Java -> Build Path -> Classpath
Variables
On the Classpath Variables panel, select New
Define a new variables called M2_REPO and set it to your local maven
repository. (for windows it would be C:/Documents and
Settings/username/.m2/repository)

7) Get the Code into Eclipse
Import existing projects into the workspace, use the root of your geoserver
source tree.
Select all of the modules. Hit Finish.

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

i inserted the 2 missing jars in my .m2 repository, but now when i do the
mvn install i get the following error:

[INFO]
------------------------------------------------------------------------
[INFO] Building GeoServer WFS Output Format Archetype
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.
2\maven\archetype\wfsOutputFormat\target\geoserver-archetype-wfsoutputformat-1.7
.2-sources.jar
[INFO] [install:install]
[INFO] Installing C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\m
aven\archetype\wfsOutputFormat\target\geoserver-archetype-wfsoutputformat-1.7.2.
jar to C:\Documents and
Settings\dnunes\.m2\repository\org\geoserver\maven\geose
rver-archetype-wfsoutputformat\1.7.2\geoserver-archetype-wfsoutputformat-1.7.2.j
ar
[INFO] Installing C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\m
aven\archetype\wfsOutputFormat\target\geoserver-archetype-wfsoutputformat-1.7.2-
tests.jar to C:\Documents and
Settings\dnunes\.m2\repository\org\geoserver\maven
\geoserver-archetype-wfsoutputformat\1.7.2\geoserver-archetype-wfsoutputformat-1
.7.2-tests.jar
[INFO] Installing C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\m
aven\archetype\wfsOutputFormat\target\geoserver-archetype-wfsoutputformat-1.7.2-
sources.jar to C:\Documents and
Settings\dnunes\.m2\repository\org\geoserver\mav
en\geoserver-archetype-wfsoutputformat\1.7.2\geoserver-archetype-wfsoutputformat
-1.7.2-sources.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Core Platform Module
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 9 source files to C:\Documents and
Settings\dnunes\Desktop\172\
geoserver-1.7.2\platform\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\Service.java:[7,24] cannot find symbol
symbol : class Version
location: package org.geotools.util

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\Service.java:[38,10] cannot find symbol
symbol : class Version
location: class org.geoserver.platform.Service

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\Service.java:[47,46] cannot find symbol
symbol : class Version
location: class org.geoserver.platform.Service

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\Service.java:[65,11] cannot find symbol
symbol : class Version
location: class org.geoserver.platform.Service

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\GeoServerExtensions.java:[16,24] cannot find
symbol
symbol : class SoftValueHashMap
location: package org.geotools.util

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\GeoServerExtensions.java:[17,32] package
org.geotools
.util.logging does not exist

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\GeoServerExtensions.java:[55,11] cannot find
symbol
symbol : class SoftValueHashMap
location: class org.geoserver.platform.GeoServerExtensions

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\util\VersionPropertyEditor.java:[7,24] cannot
find sy
mbol
symbol : class Version
location: package org.geotools.util

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\Service.java:[99,21] operator + cannot be applied
to
int,Version.hashCode

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\Service.java:[99,35] incompatible types
found : <nulltype>
required: int

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\GeoServerResourceLoader.java:[52,66] package
org.geot
ools.util.logging does not exist

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\GeoServerExtensions.java:[48,34] cannot find
symbol
symbol : variable Logging
location: class org.geoserver.platform.GeoServerExtensions

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\GeoServerExtensions.java:[55,67] cannot find
symbol
symbol : class SoftValueHashMap
location: class org.geoserver.platform.GeoServerExtensions

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\util\ReaderUtils.java:[54,66] package
org.geotools.util.loggin
g does not exist

C:\Documents and
Settings\dnunes\Desktop\172\geoserver-1.7.2\platform\src\main\j
ava\org\geoserver\platform\util\VersionPropertyEditor.java:[30,21] cannot
find s
ymbol
symbol : class Version
location: class org.geoserver.platform.util.VersionPropertyEditor

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Mon Jan 26 11:12:03 GMT 2009
[INFO] Final Memory: 24M/44M
[INFO]
------------------------------------------------------------------------

Cumps.

D.Nunes

--
View this message in context: http://www.nabble.com/GeoServer-1.7.2-Released-tp21659659p21663963.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

My apologies, i have not yet deployed the geotools release. It is my first order of business this morning. I just started the jar upload so if you try again in say 30 minutes or so, it should be ok.

-Justin

Arne Kepp wrote:

Hi,

I think you posted this three times to the mailing list (or maybe a moderator let all the messages through at once), please be careful about that.

It doesn't looke lik 2.5.3 has been deployed to any of the mirrors... not sure whether they moved to OSGeo servers yet or not, Justin will be able to tell you. But you can build it yourself by checking out http://svn.osgeo.org/geotools/tags/2.5.3/

Build build/maven first, to get the necessary tools, then go into the root and run with -DALL

-Arne

D.Nunes wrote:

Hi Justin,

I'm trying to mount the geoserver 1.7.2 project (source), but are missing 2
jar files.

I wonder where can i get the gt-main-2.5.3.jar and gt-api-2.5.3.jar.

This is the scenario when i do the mvn -Dmaven.test.skip install

Downloading:
http://www.mortbay.org/maven2/release/org/geotools/gt-main/2.5.3/gt
-main-2.5.3.jar
Downloading:
http://maven.restlet.org/org/geotools/gt-main/2.5.3/gt-main-2.5.3.j
ar
Downloading:
http://repo1.maven.org/maven2/org/geotools/gt-main/2.5.3/gt-main-2.
5.3.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geotools:gt-api:jar:2.5.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-api
-Dvers
ion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-api
-Dversio
n=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:1.7.2
        2) org.geotools:gt-api:jar:2.5.3

2) org.geotools:gt-main:jar:2.5.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-main
-Dver
sion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-main
-Dversi
on=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) org.geoserver:geoserver:pom:1.7.2
        2) org.geotools:gt-main:jar:2.5.3

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

for artifact:
  org.geoserver:geoserver:pom:1.7.2

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

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Mon Jan 26 10:01:34 GMT 2009

i'm following

Cumps,

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

Hi again,

i mounted successfully the geoserver 1.7.2 sources on eclipse (following the
manual i talked above).

Now, when i do the eclipse build, i have some erros.

These are the erros in the wms and wfs sources:

http://www.nabble.com/file/p21667933/error.png

What can i do?

Cumps.

D.Nunes
--
View this message in context: http://www.nabble.com/GeoServer-1.7.2-Released-tp21659659p21667933.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

D.Nunes ha scritto:

Hi again,

i mounted successfully the geoserver 1.7.2 sources on eclipse (following the
manual i talked above).

Now, when i do the eclipse build, i have some erros.

These are the erros in the wms and wfs sources:

http://www.nabble.com/file/p21667933/error.png

What can i do?

Cumps.

It seems your GeoServer projects are referring to an older version
of GeoTools (older than 2.5.3, that is). Not sure why...

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.