2009/1/9 supunmali <supunma...@gmail.com>: > I am also having the same problem but it is in Netbeans 6.1 and I have > included the maven plugin. But when I tried to create a new project, I > cannot create the Geotool archetype under maven archetype (as in user guide > for GeoTools). It didnt even worked when I tried to ADD it. When I tried to > test with some sample codes, I get the same referencing errors as in above > screen shot. Without maven can I do it? What is the procedure to use > Geotools with Netbeans 6.1 (with or without maven)? I am new to this. Please > reply me in detail.
Firstly, relax :-) I use Geotools with NB 6.1 everyday so the problems that you're having should be easy to remedy. I've also used the most recent releases of NB 6.5 but I find that it is still a bit flakey for debugging. I have just tested the Geotools maven archetype for 2.5.2, downloading a new copy from http://maven.geotools.fr/repository and there are at least two problems with it: the dependency archetype names are missting the 'gt-' prefix and they are being set to version 1.0-SNAPSHOT instead of 2.5.2. I'll have a look at the archetype code when I get some time and chat to others on the dev list to see if we can get it fixed up. Meanwhile, you can do what I do which is to create a maven project with the simplest 'quickstart' archetype from within NB and then add the geotools specific repositories and dependencies to the POM, again from within NB. If you have a look at the User Guide you will see this process described... http://docs.codehaus.org/display/GEOTDOC/Welcome+to+NetBeans+developers#WelcometoNetBeansdevelopers-CreatinganewprojectforaGeoToolsapplication look for the third paragraph in that section that begins "if you are working with Geotools 2.4 version or earlier..." (this wording is probably misleading - I'll edit it). Hope this helps, Michael ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users