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.