Using buildNumber in ANT generated script from ANT plugin
3 views
Skip to first unread message
monster910
unread,
Jun 26, 2008, 2:22:18 PM6/26/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Israfil Mojo User Discussions
When generating an ANT script, the finalName is placed in the package
target. Unfortunately, the buildNumber value from the Maven plugin is
not in the ANT scope.
How to I get the SVN revision number (for build number) since the
generated ANT script does not use Maven?
Christian Edward Gruber
unread,
Jun 26, 2008, 2:47:32 PM6/26/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to israfil-m...@googlegroups.com
I'm not an ANT wonk, but I think there's an ant task for SVN use, and I think it can get the current revision number of the workspace you're in.
If not, "svn info" returns a list of info, including the current revision. If you test for the line