Hi Andrea, That should be fine, but I was just chatting to Jody and he pointed out that Git doesn't support the svn:keywords property. I think the easiest solution is for me to hack the source taglet code in the javadocs module to insert the file path rather than the "$URL" tag.
I'll look at it this evening. Michael On 23 May 2011 18:12, Andrea Aime <[email protected]> wrote: > On Mon, May 23, 2011 at 9:29 AM, Michael Bedward <[email protected]> > wrote: >> >> 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" {} \; > > I'm very tempted to schedule some time in the weekend to do this > over all of our modules... would there be any harm in dong so? > Cheers > Andrea > > -- > ------------------------------------------------------- > Ing. Andrea Aime > GeoSolutions S.A.S. > Tech lead > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ------------------------------------------------------- > ------------------------------------------------------------------------------ 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
