Nice tip, thanks!
Could this tip be added to the developer's guide?
(I can't seem to remember reading anything about this in there)
Kenneth
2011/5/23 Michael Bedward <[email protected]>
> And the answer is...
>
> org.geotools.maven.tools.InsertSourceTag in the javadocs module. You
> run it from the command line with a file or directory name as the
> single arg. It will recurse down a directory tree, attacking source
> files as it finds them. I don't seem to have put anything in there to
> set svn:keywords so you would need to do that afterwards.
>
> Example, insert missing source tag in all source files for module foo
>
> cd topdir/build/maven/javadoc
>
> mvn exec:java -Dexec.mainClass=org.geotools.maven.tools.InsertSourceTag
> -DcommandlineArgs=../../modules/library/foo/src
>
> find ../modules/library/foo -type f -name '*.java' -exec svn ps
> svn:keywords "Id URL" {} \;
>
> Michael
>
>
> On 23 May 2011 17:13, Michael Bedward <[email protected]> wrote:
> > We've done an update once during my time but I can't remember whether
> > we used the code that it is in the javadoc module or if I used a
> > script. I remember it was just after we got the taglet working
> > properly.
> >
> > I will delve and report back.
> >
> > Michael
> >
> >
> > On 23 May 2011 16:47, Jody Garnett <[email protected]> wrote:
> >> So I should not delete those then :-)
> >> Is there any good way to get the source tag updated... I am not even
> sure
> >> that thing is in our developers guide.
> >>
> >> --
> >> Jody Garnett
> >>
> >> On Monday, 23 May 2011 at 4:44 PM, Michael Bedward wrote:
> >>
> >> Hi Jody,
> >>
> >> It's generated auto-magically from the @source tag in the class
> javadocs.
> >>
> >> Michael
> >>
> >> On 23 May 2011 16:31, Jody Garnett <[email protected]> wrote:
> >>
> >> Nifty; I did not know that (handy user tip which would be good for the
> faq).
> >>
> >> --
> >> Jody Garnett
> >>
> >> On Monday, 23 May 2011 at 4:18 PM, Michael Bedward wrote:
> >>
> >> Hello Sayyed,
> >>
> >> The javadocs are your friend for this.
> >>
> >> For most classes you will find the relevant GeoTools module is listed
> >> at the end of the class header docs. For example, on the DataStore
> >> page...
> >>
> >>
> http://docs.geotools.org/stable/javadocs/org/geotools/data/DataStore.html
> >>
> >> There is this...
> >> Module:
> >> modules/library/api (gt-api.jar)
> >>
> >> Michael
> >>
> >>
> >> On 23 May 2011 15:58, sayyed ghazali <[email protected]> wrote:
> >>
> >> hello, i need to resolve
> >>
> >> import org.geotools.data.DataStore;
> >> import org.geotools.feature.FeatureCollection;
> >>
> >> wat dependency should i add in pom.xml to reslove the above imports....
> >>
> >>
> >> plz help me.....
> >>
> >>
> ------------------------------------------------------------------------------
> >> What Every C/C++ and Fortran developer Should Know!
> >> Read this article and learn how Intel has extended the reach of its
> >> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> >> developers boost performance applications - including clusters.
> >> http://p.sf.net/sfu/intel-dev2devmay
> >> _______________________________________________
> >> Geotools-gt2-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >>
> >>
> ------------------------------------------------------------------------------
> >> What Every C/C++ and Fortran developer Should Know!
> >> Read this article and learn how Intel has extended the reach of its
> >> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> >> developers boost performance applications - including clusters.
> >> http://p.sf.net/sfu/intel-dev2devmay
> >> _______________________________________________
> >> Geotools-gt2-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >>
> >>
> >
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel