Got as far as the second example, and it looks like there might be some
dependencies missing. Here is the build output:
NetBeans: Executing
'F:\JavaSoftware\apache-maven-2.2.1\bin\mvn.bat -Dnetbeans.execution=true
clean install'
NetBeans: JAVA_HOME =C:\Program Files\Java\jdk1.6.0_14
Scanning for projects...
------------------------------------------------------------------------
Building gttest1
task-segment: [clean, install]
------------------------------------------------------------------------
[clean:clean]
Deleting directory C:\Users\tomw\Documents\NetBeansProjects\gttest1\target
[resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
Copying 0 resource
[compiler:compile]
Compiling 3 source files to
C:\Users\tomw\Documents\NetBeansProjects\gttest1\target\classes
------------------------------------------------------------------------
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
Compilation failure
org/geotools/demo/Quickstart.java:[15,24] cannot find symbol
symbol : class FileDataStore
location: package org.geotools.data
org/geotools/demo/Quickstart.java:[17,23] package org.geotools.map does not
exist
org/geotools/demo/Quickstart.java:[18,23] package org.geotools.map does not
exist
org/geotools/demo/Quickstart.java:[19,25] package org.geotools.swing does
not exist
org/geotools/demo/Quickstart.java:[20,30] package org.geotools.swing.data
does not exist
org/geotools/demo/Quickstart.java:[34,20] cannot find symbol
symbol : variable JFileDataStoreChooser
location: class org.geotools.demo.Quickstart
org/geotools/demo/Quickstart.java:[39,8] cannot find symbol
symbol : class FileDataStore
location: class org.geotools.demo.Quickstart
org/geotools/demo/Quickstart.java:[39,49] getDataStore(java.net.URL) in
org.geotools.data.FileDataStoreFinder cannot be applied to (java.io.File)
org/geotools/demo/Quickstart.java:[43,8] cannot find symbol
symbol : class MapContext
location: class org.geotools.demo.Quickstart
org/geotools/demo/Quickstart.java:[43,29] cannot find symbol
symbol : class DefaultMapContext
location: class org.geotools.demo.Quickstart
org/geotools/demo/Quickstart.java:[47,8] cannot find symbol
symbol : variable JMapFrame
location: class org.geotools.demo.Quickstart
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 3 seconds
Finished at: Fri Sep 25 20:11:15 MST 2009
Final Memory: 12M/22M
------------------------------------------------------------------------
----- Original Message -----
From: "Michael Bedward" <
[hidden email]>
To: "Tom Williamson" <
[hidden email]>; "geotools users"
<
[hidden email]>
Sent: Friday, September 25, 2009 4:32 PM
Subject: Re: [Geotools-gt2-users] Geotools-gt2-users Digest, Vol 40, Issue
32
> 2009/9/26 Tom Williamson wrote:
>> I forgot to mention, I'm using Netbeans.
>
> Hi Tom,
>
> It would be great for us if you could try out the Netbeans side of the
> course notes. They cover the same example application as the web page
> (
http://geotools.org/quickstart.html) but also discuss working with
> Netbeans + maven or Netbeans + manually installed jars.
>
> Michael
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users