On Wed, Nov 10, 2010 at 12:25 PM, Dan Tilden <[email protected]> wrote:

> I'm building Geoserver from source, and I've encountered several errors.
>  (For
> reference, I'm following this guide:
>
> http://docs.geoserver.org/stable/en/developer/quickstart/index.html#check-out-
> source-code)
>
> If I build from trunk, the command-line build succeeds (mvn clean install),
> but
> after opening the project in Eclipse, there are a number of build errors,
> mostly
> following the format:
>
>  "Project is missing required library:
> '[...]/m2/repository/org/geotools/gt-
> api/2.6-SNAPSHOT/gt-api-2.6-SNAPSHOT.jar'"
>
> Any ideas as to what's wrong here?
>
> The most likely cause is that you have not added the maven package cache as
a classpath variable in eclipse.  Instructions on doing so are included in
the eclipse setup section of the developer documentation (
http://docs.geoserver.org/stable/en/developer/quickstart/index.html#import-modules-into-eclipse);
are you following those?

>
> On another note, if I build from the 1.7.x branch, I get:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to execute: Executing Ant script: /config.build.xml [config]:
> Failed to execute.
>
> Unable to locate configuration: /home/tilden/Downloads/svn/geoserver-
> 1.7.2/src/web/minimal
>
> I noticed that someone else had posted the same error previously, but it
> seemed
> that he was never able to get it working.  Any ideas for getting this
> working?
>

src/web/minimal/ is not actually checked into SVN exactly; it is fetched
automatically via SVN externals.  If you are not using SVN to retrieve the
sources, then you will need to either copy the minimal configuration from
data/ manually, or set the configDirectory and configId properties in your
maven command  (-DconfigDirectory=...).

--
David Winslow
OpenGeo - http://opengeo.org/
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to