Hi Michael, Yeah it does help, although one thing i do not get, after placing the jar file in the org\geotools\ dir, how tell NB6 to use this JAR as i am still getting no description for the functions?? Or is it simply the case of doing like an import statement at the top of my file?
Cheers Michael Bedward wrote: > > Hi Luong, > > Because you are building a maven project you need to install the > javadocs in your local maven repository. Here is one way to do it: > > 1. Download the geotools-2.4.4 doc.zip file from the downloads page > > 2. Unzip the file - it will expand into a directory tree with apidocs > being the top dir. > > 3. Maven needs the javadocs to be together in a jar file. You can > create one from the command line like this: > jar -cf gt2-2.4.4-javadoc.jar apidocs > Here I'm assuming that you're in the directory above the apidocs dir. > Note also that the jar you are creating has a javadoc.jar extension - > this is necessary for netbeans/maven to find the javadocs when you're > working in the IDE. > > 4. In your maven repository there will be a directory org/geotools, > create a new directory under geotools and call it javadoc.jars > > 5. copy the jar file you created in step (3) into the javadoc.jars dir > > Hope that helps > > Michael > > > 2008/6/30 fx5900 <[EMAIL PROTECTED]>: >> >> Hi i am following this tutorial >> http://docs.codehaus.org/display/GEOTDOC/03+First+Project >> http://docs.codehaus.org/display/GEOTDOC/03+First+Project using NB6. >> When i >> add the . operator for attaching the getVersion function, i also notice a >> tooltip like, that appears saying >> >> org.geotools.factory.GeoTools >> public static Version getVersion() >> Javadoc not found. Either Javadoc documentation for this item does not >> exist >> or you have not added specified Javadoc in the Java Platform Manager or >> the >> Library Manager. >> >> I was just wondering how do i add the documentation for these functions >> using NB6 environment beacuase i have the gt2-2.4.4-doc file but unsure >> how >> to get NB6 to recognise this. Or do i need a documentation for factory? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Javadoc-for-functions-tp18182863p18182863.html >> Sent from the geotools-gt2-users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> 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 >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> > > ------------------------------------------------------------------------- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- View this message in context: http://www.nabble.com/Javadoc-for-functions-tp18182863p18205202.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
