[Yanel-dev] [Bug 5341] use svnant to get svn revision number instead of configuring it in build.properties

bugzilla at wyona.com bugzilla at wyona.com
Wed Feb 4 21:11:38 CET 2009


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5341





------- Comment #18 from guillaume.deflache at wyona.com  2009-02-04 21:13 -------
I am wondering if we should not be using "svnversion" ( see
http://svnbook.red-bean.com/nightly/en/svn.ref.svnversion.re.html ) instead of
"svn st" (well its equivalent in SvnAnt, that is
http://subclipse.tigris.org/svnant/svn.html#wcVersion ).

This seems like that could be:
- more precise (warning you by hints in the revision string you are about to
release something with locally-modified files for example)
- faster (see http://svn.haxx.se/users/archive-2003-08/0659.shtml which states
getting a WC global revision is an inherently slow operation, so we'd better
make it as fast as possible as it will run (hopefully once?) at the start of
each build.


Also maybe the Maven artifacts stuff could be committed separately (seems
independant to me), WDYT?


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list