if you've ran mvn install and mvn eclipse:eclipse and both succeeded, what you 
may be needing is just an eclipse workspace refresh.
just select all the projects in the package explorer eclipse view and hit F5. 
If after it finishes (gonna take a while) there are still missing dependencies 
shown, you'll need a full build, go to eclipse's Project menu, select clean 
and clean all projects, so that the eclipse compiler cleans and compiles all 
the projects.

That's what usually fixes it for me.

Cheers,
Gabriel

On Monday 26 January 2009 15:19:01 D.Nunes wrote:
> Hi all,
>
> i'm trying to build a geoserver 1.7.2 project.
>
> i mounted successfully the geoserver 1.7.2 sources on eclipse, following
> the manual 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.
>
> ----------------------------------
>
>
> Now, when i do the eclipse build, i have some errors.
>
> These are the erros in the wms and wfs sources:
>
> http://www.nabble.com/file/p21669498/error.png
>
> Am i missing something?
>
> Many Thanks,
>
> Cumps.
>
> D.Nunes

-- 
Gabriel Roldan
OpenGeo - http://www.opengeo.org

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to