[
https://issues.apache.org/jira/browse/HTTPCLIENT-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509447
]
Roland Weber commented on HTTPCLIENT-664:
-----------------------------------------
Hi Oleg,
you can't use $Revision$ to tell snapshots apart. It will expand to the last
revision in which that particular _file_ was changed, not to the _global_
revision of the snapshot you're building. That's what I meant here:
http://mail-archives.apache.org/mod_mbox/jakarta-httpcomponents-dev/200706.mbox/[EMAIL
PROTECTED]
You'd have to get the global revision from some Ant task that Sebastian pointed
out, then copy it into the properties file.
cheers,
Roland
> Version detection based on build-time properties
> ------------------------------------------------
>
> Key: HTTPCLIENT-664
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-664
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Reporter: Oleg Kalnichevski
> Fix For: 4.0 Alpha 2
>
> Attachments: httpclient-ver.patch
>
>
> Version detection based on build-time properties as discussed on the dev
> mailing list
> http://www.nabble.com/publishing-sources-to-the-maven-repo-tf3894418.html#a11048527
> http://www.nabble.com/-HttpClient--PATCH--Version-detection-tf4007519.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]