From: fx5900 <luo...@ho...> - 2008-06-17 22:04:29
|
Hi i am following this link http://docs.codehaus.org/display/GEOT/Using+NetBeans+with+Geotools http://docs.codehaus.org/display/GEOT/Using+NetBeans+with+Geotools which describes how to use netbeans with geotools. I have the mavenide plugin and have downloaded the svn file onto my C drive and my current netbeans is 5.5. It tells me that i need to install the svn profile however how do i install this exactly??? As when i try to manually download the file i get an error message saying the module dependencies could not be satisfied and it gives me the option to install it anyway. Another question i would like as is, in the Compiler Options instructions it states to go to Tools->Options->Building->Compiler Types->External Compilation* but i cannot see this because i am using 5.5 but the notes referr to 3.6. What do i need to do for the compiler options? Also the images on the page does not reflect up to date netbeans so i am very confused as to what i need to do next after downloading the svn file. Please help if you can guys -- View this message in context: http://www.nabble.com/HELP%21-Using-Netbeans-with-GeoTools-tp17937033p17937033.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: Jody G. <jga...@re...> - 2008-06-17 22:33:17
|
That is very old; it seems that netbeans users have not contributed documentation recently ... I would follow the instructions for eclipse...where they say: mvn eclipse:eclipse use "mvn netbeans:netbeans" and hope for the best. - http://docs.codehaus.org/display/GEOT/2.5.8+Maven+Eclipse+Plugin+Goals Are you trying to build geotools? Or just download and use it... Jody |
From: Michael B. <mic...@gm...> - 2008-06-18 02:37:52
|
I've got geotools / maven cooking with Netbeans 6. Firstly, I'd recommend that you update your Netbeans from 5 to 6. There are quite a lot of bug fixes and some useful new features including a local and remote maven repository browser and better support for subversion, and smart editing of the maven pom.xml file (tag completion, repo browsing etc). You don't need to download a profile for svn (at least I didn't). Just add the geotools svn site details into the IDE. In NB6 you can choose to use external maven, rather than the one embedded in mevenide, for all projects or just a single project. If you want to do it for all projects go to Preferences->Miscellaneous and select the Maven 2 tab - you'll see a check box for external maven. You can also set the path to your local repo here. To use external maven for an individual project, right click on the project in the IDE, select Properties from the pop up menu, and then in the dialog that appears select Actions from the list on the left. You'll see a checkbox for using external maven. You can also enter extra args for maven goals here if you want. With the latest mevenide I've been using the embedded maven without any problems. I also frequently use maven from the command line (2.0.9) and haven't noticed any conflicts. For some idiosynchratic reason I tend to use maven from the command line for building geotools and use it from within Netbeans for building my geotools / maven app. Works for me. Hope that helps. Michael |
From: Martin D. <mar...@ge...> - 2008-06-18 07:46:03
|
Jody Garnett a écrit : > I would follow the instructions for eclipse...where they say: mvn > eclipse:eclipse use "mvn netbeans:netbeans" and hope for the best. "mvn netbeans:netbeans" do not exists because... we don't need it! As Michael said, NetBeans 6 + Maven plugin can open Maven project natively without any particular action from user side. Martin |
From: Jody G. <jga...@re...> - 2008-06-18 19:52:46
|
Understood - can we make a page in the developers guide for netbeans user- even if the page says use netbeans 6+. And delete the page that tripped up luong8201... Jody > Jody Garnett a écrit : >> I would follow the instructions for eclipse...where they say: mvn >> eclipse:eclipse use "mvn netbeans:netbeans" and hope for the best. > "mvn netbeans:netbeans" do not exists because... we don't need it! As > Michael said, NetBeans 6 + Maven plugin can open Maven project > natively without any particular action from user side. > > Martin |
From: Michael B. <mic...@gm...> - 2008-06-19 03:18:44
|
On Thu, Jun 19, 2008 at 5:52 AM, Jody wrote: > Understood - can we make a page in the developers guide for netbeans > user- even if the page says use netbeans 6+. > And delete the page that tripped up luong8201... > Jody I'll have a go at that today or tomorrow Michael |
From: fx5900 <luo...@ho...> - 2008-06-18 21:37:56
|
You mentioned about adding the goetools svn site details into the IDE. Where would i get the information from to do that as i am a bit confused? Do you have a link to show this please? Also, i have downloaded NB 6 which looks pretty nice i might, and have noticed that i can download the latest Maven using the Plugins. I have downloaded this but unsure why you would need this when using geotools? Thanks Michael Bedward wrote: > > I've got geotools / maven cooking with Netbeans 6. > > Firstly, I'd recommend that you update your Netbeans from 5 to 6. > There are quite a lot of bug fixes and some useful new features > including a local and remote maven repository browser and better > support for subversion, and smart editing of the maven pom.xml file > (tag completion, repo browsing etc). > > You don't need to download a profile for svn (at least I didn't). > Just add the geotools svn site details into the IDE. > > In NB6 you can choose to use external maven, rather than the one > embedded in mevenide, for all projects or just a single project. If > you want to do it for all projects go to Preferences->Miscellaneous > and select the Maven 2 tab - you'll see a check box for external > maven. You can also set the path to your local repo here. > > To use external maven for an individual project, right click on the > project in the IDE, select Properties from the pop up menu, and then > in the dialog that appears select Actions from the list on the left. > You'll see a checkbox for using external maven. You can also enter > extra args for maven goals here if you want. > > With the latest mevenide I've been using the embedded maven without > any problems. I also frequently use maven from the command line > (2.0.9) and haven't noticed any conflicts. For some idiosynchratic > reason I tend to use maven from the command line for building geotools > and use it from within Netbeans for building my geotools / maven app. > Works for me. > > Hope that helps. > > Michael > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://www.nabble.com/HELP%21-Using-Netbeans-with-GeoTools-tp17937033p17992473.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: fx5900 <luo...@ho...> - 2008-06-18 21:49:36
|
Also, on the geotools website 2.4 or 2.5. As i am very new to this presumably one would go for the stable release as it is recommended. Although, what i do not get is, when after downloading all the zip files, how do i plug this into my netbeans 6 as it were? Thanks fx5900 wrote: > > You mentioned about adding the goetools svn site details into the IDE. > Where would i get the information from to do that as i am a bit confused? > Do you have a link to show this please? Also, i have downloaded NB 6 > which looks pretty nice i might, and have noticed that i can download the > latest Maven using the Plugins. I have downloaded this but unsure why you > would need this when using geotools? > > Thanks > > > Michael Bedward wrote: >> >> I've got geotools / maven cooking with Netbeans 6. >> >> Firstly, I'd recommend that you update your Netbeans from 5 to 6. >> There are quite a lot of bug fixes and some useful new features >> including a local and remote maven repository browser and better >> support for subversion, and smart editing of the maven pom.xml file >> (tag completion, repo browsing etc). >> >> You don't need to download a profile for svn (at least I didn't). >> Just add the geotools svn site details into the IDE. >> >> In NB6 you can choose to use external maven, rather than the one >> embedded in mevenide, for all projects or just a single project. If >> you want to do it for all projects go to Preferences->Miscellaneous >> and select the Maven 2 tab - you'll see a check box for external >> maven. You can also set the path to your local repo here. >> >> To use external maven for an individual project, right click on the >> project in the IDE, select Properties from the pop up menu, and then >> in the dialog that appears select Actions from the list on the left. >> You'll see a checkbox for using external maven. You can also enter >> extra args for maven goals here if you want. >> >> With the latest mevenide I've been using the embedded maven without >> any problems. I also frequently use maven from the command line >> (2.0.9) and haven't noticed any conflicts. For some idiosynchratic >> reason I tend to use maven from the command line for building geotools >> and use it from within Netbeans for building my geotools / maven app. >> Works for me. >> >> Hope that helps. >> >> Michael >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Geotools-gt2-users mailing list >> Geo...@li... >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> >> > > -- View this message in context: http://www.nabble.com/HELP%21-Using-Netbeans-with-GeoTools-tp17937033p17992695.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: Michael B. <mic...@gm...> - 2008-06-19 03:35:48
|
Hi Yes - working with a stable version of geotools is a good idea. In that case you don't need to compile geotools from source if you don't want to. You can download a binary distribution of 2.4.4 (the current stable version) at: http://geotools.codehaus.org/2.4.4 Regarding maven - you don't *have* to use it to build your geotools applications but I'd really recommend that you do. It took me a while to get used to maven (and I still have a love/hate relationship with it :) but because geotools is so big you'll find that using maven really helps. Once you get used to it you can also do very cool things like identify redundant jars in your own projects, generate a list of dependencies etc., bundle up things for release etc. If you decide to go with maven (within netbeans) to build your own apps then you might find it good to download the geotools 2.4.4 source instead of the binary distribution (also at the above web page) and build the geotools library yourself. This will set you up with geotools and all of its dependencies on your local disk plus you will have the source code to browse which I find essential in addition to the geotools javadocs. You don't really need to worry about the geotools svn repository unless / until you want to use the development version (2.5). If you've already got NB6 / mevenide working then the above info might be enough, but please feel free to ask if you need more detail. Michael |
From: fx5900 <luo...@ho...> - 2008-06-19 19:52:02
|
Hi Michael, I so do really apreciate the help you have given me so far. What i want to do is develop my own version of google map which is why i have come to goetools. I did try using google maps but i thought that it did alot of the work for me. It would be great if you could provide some tutorials showing how to use geographical data like to search places, something like simple like that. Again your help is much appreciated. I will definitely ask you questions, although i hope you don't think i would be asking maybe silly questions. Cheers Michale. Michael Bedward wrote: > > Hi > > Yes - working with a stable version of geotools is a good idea. In > that case you don't need to compile geotools from source if you don't > want to. You can download a binary distribution of 2.4.4 (the current > stable version) at: > > http://geotools.codehaus.org/2.4.4 > > Regarding maven - you don't *have* to use it to build your geotools > applications but I'd really recommend that you do. It took me a while > to get used to maven (and I still have a love/hate relationship with > it :) but because geotools is so big you'll find that using maven > really helps. Once you get used to it you can also do very cool > things like identify redundant jars in your own projects, generate a > list of dependencies etc., bundle up things for release etc. > > If you decide to go with maven (within netbeans) to build your own > apps then you might find it good to download the geotools 2.4.4 source > instead of the binary distribution (also at the above web page) and > build the geotools library yourself. This will set you up with > geotools and all of its dependencies on your local disk plus you will > have the source code to browse which I find essential in addition to > the geotools javadocs. > > You don't really need to worry about the geotools svn repository > unless / until you want to use the development version (2.5). > > If you've already got NB6 / mevenide working then the above info might > be enough, but please feel free to ask if you need more detail. > > Michael > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://www.nabble.com/HELP%21-Using-Netbeans-with-GeoTools-tp17937033p18016774.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |
From: Michael B. <mic...@gm...> - 2008-06-20 03:04:52
|
Once you've got netbeans / maven / geotools set up on your system you'll find that there is quite a lot of information available to help you... The user manual is a great place to start (note: it is being written for geotools 2.5 but you'll still find it very useful when working with 2.4) http://docs.codehaus.org/display/GEOTDOC/Home If you download the geotools source as we discussed then you can examine the code of the demo programs (in the demo directory). You can search the archives of this mailing list - you'll often find answers to your questions that way: http://www.nabble.com/geotools-gt2-users-f4263.html Of course there is always Google :) The geotools javadocs can be a bit confusing when you're starting out because there are many classes that you will probably never use directly, but if you keep that in mind and use them to understand classes that appear in demo programs, the user guide etc. the docs are invaluable. Once you start getting the hang of things you will also find that the source code for the unit test modules that accompany most of the geotools classes is a rich source of examples. I haven't been using geotools for very long myself so I certainly not the right person to write tutorials yet ! But the above source of info, as well as this list, have been a big help for me. Enjoy ! Michael On Fri, Jun 20, 2008 at 5:52 AM, fx5900 <luo...@ho...> wrote: > > Hi Michael, > > I so do really apreciate the help you have given me so far. What i want to > do is develop my own version of google map which is why i have come to > goetools. I did try using google maps but i thought that it did alot of the > work for me. It would be great if you could provide some tutorials showing > how to use geographical data like to search places, something like simple > like that. Again your help is much appreciated. I will definitely ask you > questions, although i hope you don't think i would be asking maybe silly > questions. |