[
https://issues.jboss.org/browse/JBIDE-11720?page=com.atlassian.jira.plugi...
]
Douglas Palmer commented on JBIDE-11720:
----------------------------------------
Is this what you had in mind:
{code}
Index: build/aggregate/build.xml
===================================================================
--- build/aggregate/build.xml (revision 41073)
+++ build/aggregate/build.xml (working copy)
@@ -525,10 +525,10 @@
<isset property="BUILD_ALIAS" />
</and>
<then>
- <propertyregex override="true"
property="update.site.version" defaultvalue="${JOB_NAME}"
input="${JOB_NAME}"
regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate"
replace=": ${JBT_VERSION}.${BUILD_TS}-H${BUILD_NUMBER}-${BUILD_ALIAS}\3" />
+ <propertyregex override="true"
property="update.site.version" defaultvalue="${JOB_NAME}"
input="${JOB_NAME}"
regexp="(jboss|soa)tools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate"
replace=": ${JBT_VERSION}.${BUILD_TS}-H${BUILD_NUMBER}-${BUILD_ALIAS}\3" />
</then>
<else>
- <propertyregex override="true"
property="update.site.version" defaultvalue="${JOB_NAME}"
input="${JOB_NAME}"
regexp="jbosstools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate"
replace=": \1.${BUILD_TS}-H${BUILD_NUMBER}\2\3" />
+ <propertyregex override="true"
property="update.site.version" defaultvalue="${JOB_NAME}"
input="${JOB_NAME}"
regexp="(jboss|soa)tools-([0-9.]+)(_stable_branch|_trunk)(.*).aggregate"
replace=": \1.${BUILD_TS}-H${BUILD_NUMBER}\2\3" />
</else>
</if>
</then>
{code}
support soa tools job name conventions when generating build ID for
index.html pages (JBT & JBDS sites)
-------------------------------------------------------------------------------------------------------
Key: JBIDE-11720
URL:
https://issues.jboss.org/browse/JBIDE-11720
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng, SOA Tooling, updatesite
Affects Versions: 3.3.0.Beta1-SOA
Reporter: Nick Boldt
Assignee: Douglas Palmer
Fix For: 3.3.0.Beta2-SOA
Before:
http://www.qa.jboss.com/binaries/RHDS/builds/staging/devstudio-5.0_stable...
devstudio-5.0_stable_branch.soa-tooling.updatesite ->
5.0.0.v20120430-1318-H279-Beta2.soa-tooling
http://download.jboss.org/jbosstools/updates/nightly/soa-tooling/trunk/
jbosstools-3.3_trunk.soa-tooling.aggregate/ ->
3.3.0.v20120430-1651-H1254-CR1.soa-tooling
After:
http://www.qa.jboss.com/binaries/RHDS/builds/staging/soatools-5.0.0.Beta1...
soatools-5.0.0.Beta1--JBDS-updatesite -> soatools-5.0.0.Beta1--JBDS-updatesite (no
pattern matched)
http://download.jboss.org/jbosstools/builds/staging/soatools-3.3.0.Beta1-...
soatools-3.3.0.Beta1--aggregate -> soatools-3.3.0.Beta1--aggregate (no pattern
matched)
Files to fix:
https://svn.jboss.org/repos/devstudio/trunk/product-soa/site/build.xml
http://anonsvn.jboss.org/repos/jbosstools/trunk/build/aggregate/build.xml (lines
528-531)
Look for lines like this, and add additional regex matches:
{code}<propertyregex override="true"
property="update.site.version" .../> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira