JBoss Tools SVN: r29509 - trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2011-03-04 04:54:54 -0500 (Fri, 04 Mar 2011)
New Revision: 29509
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java
Log:
JBIDE-7003, fix eclipse crash on win platform
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java 2011-03-04 09:49:45 UTC (rev 29508)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/Flasher.java 2011-03-04 09:54:54 UTC (rev 29509)
@@ -77,6 +77,7 @@
drawOutline = new DrawOutlineInterface() {
public void drawElementOutline(List<FlasherData> flasherData) {
for (FlasherData flasherData2 : flasherData) {
+ if(flasherData2.getElement()==null) continue;
iFlasher.setColor(flasherData2.getSelectionColor());
iFlasher.drawElementOutline(flasherData2.getElement());
}
13 years, 10 months
JBoss Tools SVN: r29508 - branches/jbosstools-3.2.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
by jbosstools-commits@lists.jboss.org
Author: lzoubek(a)redhat.com
Date: 2011-03-04 04:49:45 -0500 (Fri, 04 Mar 2011)
New Revision: 29508
Modified:
branches/jbosstools-3.2.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java
Log:
Fixed extbot to build with SWTBot 2.0.3 JBIDE-8513
Modified: branches/jbosstools-3.2.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java
===================================================================
--- branches/jbosstools-3.2.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java 2011-03-04 08:09:42 UTC (rev 29507)
+++ branches/jbosstools-3.2.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTBotExt.java 2011-03-04 09:49:45 UTC (rev 29508)
@@ -129,11 +129,11 @@
}
}
- public SWTBotScaleExt scale() {
- return scale(0);
+ public SWTBotScaleExt scaleExt() {
+ return scaleExt(0);
}
@SuppressWarnings("unchecked")
- public SWTBotScaleExt scale(int index) {
+ public SWTBotScaleExt scaleExt(int index) {
try {
List<Scale> bsrs = (List<Scale>) widgets(widgetOfType(Scale.class));
return new SWTBotScaleExt(bsrs.get(index));
13 years, 10 months
JBoss Tools SVN: r29507 - trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/dialog.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2011-03-04 03:09:42 -0500 (Fri, 04 Mar 2011)
New Revision: 29507
Modified:
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/dialog/AbstractCSSDialog.java
Log:
https://issues.jboss.org/browse/JBIDE-8414 : Preview Edit is not working for New CSS Class Dialog
- fixed. correct event checking is used
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/dialog/AbstractCSSDialog.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/dialog/AbstractCSSDialog.java 2011-03-04 06:20:50 UTC (rev 29506)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/dialog/AbstractCSSDialog.java 2011-03-04 08:09:42 UTC (rev 29507)
@@ -165,9 +165,14 @@
browser = CSSBrowser.createCSSBrowser(previewComposite, SWT.BORDER | SWT.MOZILLA);
browser.setText(generateBrowserPage());
browser.setLayoutData(gridData);
+
browser.addMouseListener(new MouseAdapter() {
+ /* TODO: yradtsevich: Deduplicate code. Method
+ * org.jboss.tools.jst.css.view.CSSPreview.createPartControl(Composite)
+ * has the same MouseListener in it.
+ * This duplicate code may cause issues like JBIDE-8414 */
public void mouseDoubleClick(MouseEvent e) {
- if (e.widget == browser) {
+ if (browser.isBrowserEvent(e)) {
browser.setEnabled(false);
previewComposite.setMaximizedControl(previewText);
previewText.setFocus();
13 years, 10 months
JBoss Tools SVN: r29506 - in trunk/build/results: OLD and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-04 01:20:50 -0500 (Fri, 04 Mar 2011)
New Revision: 29506
Added:
trunk/build/results/OLD/
trunk/build/results/OLD/buildResults.xsl
Modified:
trunk/build/results/.gitignore
trunk/build/results/build.xml
trunk/build/results/buildResults.xsl
Log:
JBIDE-7444 work in progress - generating a new buildResults.html page with more aggregate information from upstream component builds
Modified: trunk/build/results/.gitignore
===================================================================
--- trunk/build/results/.gitignore 2011-03-04 06:20:33 UTC (rev 29505)
+++ trunk/build/results/.gitignore 2011-03-04 06:20:50 UTC (rev 29506)
@@ -1 +1,2 @@
*.out.*
+zips
Copied: trunk/build/results/OLD/buildResults.xsl (from rev 29505, trunk/build/results/buildResults.xsl)
===================================================================
--- trunk/build/results/OLD/buildResults.xsl (rev 0)
+++ trunk/build/results/OLD/buildResults.xsl 2011-03-04 06:20:50 UTC (rev 29506)
@@ -0,0 +1,264 @@
+<xsl:transform version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan">
+ <xsl:output method="html" indent="yes" xalan:indent-amount="4" />
+ <xsl:template match="/projects">
+
+ <xsl:variable name="baseurl">
+ <xsl:value-of select="@baseurl" />
+ </xsl:variable>
+
+ <html>
+ <head>
+ <title>JBossTools Build Results</title>
+ <link rel="stylesheet" type="text/css" href="buildResults.css" />
+ </head>
+ <body>
+ <div id="header-blue">
+ <table width="100%" height="100%">
+ <tr>
+ <td>
+ <span id="title-blue">JBossTools Build Results</span>
+ <br />
+ <span id="buildName-blue">
+ ${build-type} build
+ ${jbds-build-name}
+ <span id="buildName-blue" style="font-size: x-small;">
+ [Hudson Build
+ <a id="buildName-blue" style="font-size: x-small;"
+ href="http://hudson.qa.jboss.com/hudson/view/DevStudio/job/${hudson-job-name}/$...">#${hudson-build-number},
+ ${hudson-build-id}</a>
+ ]
+ </span>
+ <span id="buildName-blue" style="font-size: x-small; font-style: italic;">
+ <a id="buildName-blue"
+ style="font-size: x-small; font-style: italic; color: black;"
+ href="http://hudson.jboss.org/hudson/view/JBossTools/job/${hudson-job-name}/">Public
+ Hudson Mirror</a>
+ </span>
+ </span>
+ </td>
+ <td align="right">
+ <span id="buildDate-blue">${date}</span>
+ <br />
+ <span id="buildExecTime-blue">${build-time}</span>
+ <br />
+ <a id="buildLog-blue"
+ href="http://download.jboss.org/jbosstools/builds/staging/${hudson-job-name}/logs/">Build Logs</a>
+ </td>
+ </tr>
+ </table>
+ </div>
+
+ <div id="downloads-blue">
+ <table id="links-blue" width="100%">
+ <tr>
+ <td>
+ <a class="blue" href="http://www.jboss.org/tools">JBossTools</a>
+ |
+ <a class="blue" href="http://www.redhat.com/jbds">JBDS</a>
+ |
+ <a class="blue" href="http://tools.hibernate.org">Hibernate Tools</a>
+ |
+ <a class="blue"
+ href="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201">User
+ Forum</a>
+ |
+ <a class="blue"
+ href="http://jboss.com/index.html?module=bb&op=viewforum&f=162">Development
+ Forum</a>
+ |
+ <a class="blue"
+ href="http://jira.jboss.com/jira/secure/BrowseProject.jspa?id=10020">JIRA
+ / Bugs</a>
+ | #jbosstools on irc.freenode.net
+ </td>
+ <td align="right">
+ <a class="blue" href="http://www.redhat.com">
+ <img src="images/redhat.gif" border="0" />
+ </a>
+ <a class="blue" href="http://www.jboss.org">
+ <img src="images/jboss.gif" border="0" />
+ </a>
+ <a class="blue" href="http://www.hibernate.org">
+ <img src="images/hibernate.gif" border="0" />
+ </a>
+ <a class="blue" href="http://www.eclipse.org">
+ <img src="images/eclipse.gif" border="0" />
+ </a>
+ </td>
+ </tr>
+ </table>
+
+ <div id="downloadLinks">
+
+ <table>
+ <tr>
+ <td colspan="2">
+ First time here ? Read
+ <a href="http://www.jboss.org/tools/download/installation.html">How
+ to install JBoss Tools.</a>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <h1>p2 Repo / Update Site Zips:</h1>
+ </td>
+ </tr>
+
+ <xsl:for-each select="project">
+ <xsl:variable name="rowColor">
+ <xsl:if test="position() mod 2 = 1">
+ #CCCCEE
+ </xsl:if>
+ <xsl:if test="position() mod 2 = 0">
+ #FFFFFF
+ </xsl:if>
+ <xsl:if test="contains(@name,'All')">
+ #CCEECC
+ </xsl:if>
+ <xsl:if test="contains(@name,'Source')">
+ #EECCCC
+ </xsl:if>
+ </xsl:variable>
+
+ <tr bgcolor="{$rowColor}">
+ <td>
+ <img src="images/OK-small.png" />
+ </td>
+ <td class="downloadInfo">
+ <xsl:for-each select=".">
+ <b>
+ <acronym title="{@name} :: {description}">
+ <a class="allLink-blue" href="{$baseurl}/{download/@url}">
+ <xsl:value-of select="concat(@name,' ',@version)" />
+ </a>
+ </acronym>
+ <br />
+ <a class="md5" href="{$baseurl}/{download/(a)url}.MD5">MD5</a>
+ | filesize:
+ <xsl:value-of select="download/@size" />
+ </b>
+ <br />
+ </xsl:for-each>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+
+ </div>
+
+ <div id="rightFrame">
+ <div id="buildDrivers-blue">
+ <b>SVN Revisions</b>
+ <br />
+ See
+ <a
+ href="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_stable...">SVN_REVISION.txt</a>
+ </div>
+ <div id="buildDrivers-blue">
+ <b>Target Platform</b>
+ <table>
+ <tr>
+ <td rowspan="3">
+ Eclipse Helios 3.6.1 +
+ <br />
+ Web Tools 3.2.2 +
+ <br />
+ TPTP + BIRT + DTP ...
+ </td>
+ <td>
+ <a class="blue"
+ href="http://download.jboss.org/jbosstools/updates/target-platform/latest/">Target Platform Update Site</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a class="blue"
+ href="http://download.jboss.org/jbosstools/updates/target-platform/e361-wtp322....">Target Platform Update Zip</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a class="blue"
+ href="http://anonsvn.jboss.org/repos/jbosstools/trunk/build/target-platform/uni...">Target Platform Definition File</a>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div id="unitTestResults-blue">
+ <b>Unit Test Results</b>
+ <br />
+
+ See
+ <a
+ href="http://hudson.qa.jboss.com/hudson/view/DevStudio_Stable_Branch/job/jbosst...">jbosstools-3.2_stable_branch.tests</a>
+ <!-- <table> <tr> <td> <img src="images/test.gif" /> Tests </td> <td
+ align="right">??? </td> </tr> <tr> <td> <img src="images/testerr.gif" />
+ Errors </td> <td align="right">???</td> </tr> <tr> <td> <img src="images/testfail.gif"
+ /> Failures </td> <td align="right">???</td> </tr> <tr> <td colspan="2">
+ <b id="testPassPercentageAmount">%</b> tests passed <div id="testPercentage">
+ <div id="testPassPercentage"> </div> <div id="testFailPercentage"> </div>
+ </div> </td> </tr> </table> -->
+
+ <script>
+ <!-- var tests = 2228; var failures = 0; var errors = 0; var passPercent
+ = Math.floor(((tests-(failures+errors))/tests) * 100); var failPercent =
+ 100 - passPercent; document.getElementById("testPassPercentage").style.width
+ = passPercent + '%'; document.getElementById("testFailPercentage").style.width
+ = failPercent + '%'; document.getElementById("testPassPercentageAmount").innerHTML
+ = passPercent + '%'; -->
+ </script>
+
+ <!-- <div align="right"> <a class="blue" style="align: right;" href="tests/test-results/org.jboss.ide.eclipse.tests.html">See
+ full unit test results</a> </div> <div align="right"> <a class="blue" style="align:
+ right;" href="tests/test-results/test-workspace.log.txt">See unit test workspace
+ log</a> </div> <div id="coverageResults-blue"> <b>Test Coverage Results</b>
+ <br /> <div align="right"> <a class="blue" style="align: right;" href="tests/test-results/emma-coverage/index.html">See
+ test coverage results</a> </div> <div align="right"> <a class="blue" style="align:
+ right;" href="tests/test-results/emma-coverage/coverage.es">See coverage
+ session file</a> </div> </div> -->
+ </div>
+
+ <div id="buildInfo">
+ <p>
+ <b>WARNING</b>
+ </p>
+ <p>This build has been deemed by the JBossTools team to be in
+ good working condition.
+ Please note that this build may be a
+ developer release, and if so
+ should be treated
+ with slightly more
+ understanding and care than a stable release.
+ Please see the
+ release
+ notes on JIRA and/or Sourceforge for further
+ information.
+ (This
+ release is much less likely to
+ set your
+ computer aflame.)</p>
+
+ <p>Any suggestions/issues should be posted on the relevant
+ product
+ forums and should clearly indicate that you are using an
+ integration
+ build. Please take care in making sure that your
+ issue hasn't
+ already been addressed when posting on forums or
+ opening new
+ JIRA issues.</p>
+ </div>
+
+ </div>
+
+ </div>
+
+ </body>
+ </html>
+
+
+
+ </xsl:template>
+</xsl:transform>
\ No newline at end of file
Modified: trunk/build/results/build.xml
===================================================================
--- trunk/build/results/build.xml 2011-03-04 06:20:33 UTC (rev 29505)
+++ trunk/build/results/build.xml 2011-03-04 06:20:50 UTC (rev 29506)
@@ -46,9 +46,27 @@
</condition>
<!-- if can't calculate where build/build.xml is located, must pass in path from parent when calling this script -->
+ <target name="get.saxon" unless="saxon.jar.exists">
+ <!-- or use http://downloads.sourceforge.net/saxon/saxonhe9-3-0-4j.zip ? -->
+ <property name="SAXON_MIRROR" value="http://downloads.sourceforge.net/project/saxon/Saxon-HE/9.3/saxonhe9-3-0-..." />
+ <get usetimestamp="true" dest="${COMMON_TOOLS}/saxonhe9-3-0-4j.zip" src="${SAXON_MIRROR}" />
+ <mkdir dir="${java.io.tmpdir}/saxonhe9-3-0-4j.zip_" />
+ <unzip src="${COMMON_TOOLS}/saxonhe9-3-0-4j.zip" dest="${java.io.tmpdir}/saxonhe9-3-0-4j.zip_" overwrite="true" />
+ <copy file="${java.io.tmpdir}/saxonhe9-3-0-4j.zip_/saxon9he.jar" tofile="${COMMON_TOOLS}/saxon.jar" failonerror="true" />
+ <delete dir="${java.io.tmpdir}/saxonhe9-3-0-4j.zip_" includeemptydirs="true" quiet="true" />
+ </target>
+
<target name="init">
<ant antfile="${build.xml}" target="init" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement location="${COMMON_TOOLS}/ant-contrib.jar" />
+ </classpath>
+ </taskdef>
+ <available file="${COMMON_TOOLS}/saxon.jar" type="file" property="saxon.jar.exists" />
+ <antcall target="get.saxon" />
+
<macrodef name="get.size">
<attribute name="file" />
<attribute name="property" />
@@ -82,11 +100,6 @@
</if>
</sequential>
</macrodef>
- <taskdef resource="net/sf/antcontrib/antlib.xml">
- <classpath>
- <pathelement location="${COMMON_TOOLS}/ant-contrib.jar" />
- </classpath>
- </taskdef>
</target>
<target name="build.results" depends="init">
@@ -172,7 +185,7 @@
</copy>
<xslt in="${output.dir}/download.xml" out="${output.dir}/download-snippet.html" style="download.xsl" />
<xslt in="${output.dir}/download.xml" out="${output.dir}/buildResults.html" style="buildResults.xsl" />
- <copy todir="${output.dir}" file="buildResults.css"/>
+ <copy todir="${output.dir}" file="buildResults.css" />
<delete file="${output.dir}/download.xml" />
</then>
<elseif>
@@ -222,4 +235,36 @@
<xslt in="download-template.xml" out="buildResults.out.html" style="buildResults.xsl" />
</target>
+ <!-- NEW STUFF HERE -->
+
+ <target name="test.buildResults.aggregate" depends="init" description="generate buildResults.html from build properties">
+ <property name="isTest" value="true" />
+ <ant target="collect.zips" antfile="../aggregate/site/build.xml">
+ <property name="inputRepos" value="1" />
+ <property name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk" />
+ </ant>
+ <ant target="collect.metadata" antfile="../aggregate/site/build.xml">
+ </ant>
+ <antcall target="buildResults" />
+ </target>
+
+ <target name="test.buildResults.single" depends="init" description="generate buildResults.html from build properties">
+ <property name="isTest" value="true" />
+ <ant target="collect.zips" antfile="../aggregate/site/build.xml">
+ <property name="inputRepos" value="1" />
+ <property name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ </ant>
+ <ant target="collect.metadata" antfile="../aggregate/site/build.xml">
+ </ant>
+ <antcall target="buildResults" />
+ </target>
+
+ <target name="buildResults" description="generate buildResults.html from build properties" depends="init">
+
+ <delete quiet="true" file="buildResults.out.html" />
+ <xslt in="zips/build.properties.all.xml" out="buildResults.out.html" style="buildResults.xsl" force="true">
+ <classpath location="${COMMON_TOOLS}/saxon.jar" />
+ </xslt>
+ </target>
+
</project>
Modified: trunk/build/results/buildResults.xsl
===================================================================
--- trunk/build/results/buildResults.xsl 2011-03-04 06:20:33 UTC (rev 29505)
+++ trunk/build/results/buildResults.xsl 2011-03-04 06:20:50 UTC (rev 29506)
@@ -1,12 +1,8 @@
-<xsl:transform version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan">
- <xsl:output method="html" indent="yes" xalan:indent-amount="4" />
- <xsl:template match="/projects">
-
- <xsl:variable name="baseurl">
- <xsl:value-of select="@baseurl" />
- </xsl:variable>
-
+<xsl:stylesheet version="2.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://saxon.sf.net/"
+ xmlns="http://www.w3.org/1999/xhtml" extension-element-prefixes="saxon">
+ <xsl:output method="html" indent="yes" />
+ <xsl:template match="/properties">
<html>
<head>
<title>JBossTools Build Results</title>
@@ -15,37 +11,6 @@
<body>
<div id="header-blue">
<table width="100%" height="100%">
- <tr>
- <td>
- <span id="title-blue">JBossTools Build Results</span>
- <br />
- <span id="buildName-blue">
- ${build-type} build
- ${jbds-build-name}
- <span id="buildName-blue" style="font-size: x-small;">
- [Hudson Build
- <a id="buildName-blue" style="font-size: x-small;"
- href="http://hudson.qa.jboss.com/hudson/view/DevStudio/job/${hudson-job-name}/$...">#${hudson-build-number},
- ${hudson-build-id}</a>
- ]
- </span>
- <span id="buildName-blue" style="font-size: x-small; font-style: italic;">
- <a id="buildName-blue"
- style="font-size: x-small; font-style: italic; color: black;"
- href="http://hudson.jboss.org/hudson/view/JBossTools/job/${hudson-job-name}/">Public
- Hudson Mirror</a>
- </span>
- </span>
- </td>
- <td align="right">
- <span id="buildDate-blue">${date}</span>
- <br />
- <span id="buildExecTime-blue">${build-time}</span>
- <br />
- <a id="buildLog-blue"
- href="http://download.jboss.org/jbosstools/builds/staging/${hudson-job-name}/logs/">Build Logs</a>
- </td>
- </tr>
</table>
</div>
@@ -106,43 +71,124 @@
</td>
</tr>
- <xsl:for-each select="project">
- <xsl:variable name="rowColor">
- <xsl:if test="position() mod 2 = 1">
- #CCCCEE
- </xsl:if>
- <xsl:if test="position() mod 2 = 0">
- #FFFFFF
- </xsl:if>
- <xsl:if test="contains(@name,'All')">
- #CCEECC
- </xsl:if>
- <xsl:if test="contains(@name,'Source')">
- #EECCCC
- </xsl:if>
+ <!-- three use cases: a regular component build (as, ws, etc.), a
+ different-SVN component build (teiid, pi4soa, savara), and a special component
+ build (xulrunner) -->
+ <xsl:for-each
+ select="//property[contains(@name,'build.properties.JOB_NAME')]">
+ <xsl:variable name="JOB_NAME">
+ <xsl:value-of select="@value" />
</xsl:variable>
+ <xsl:variable name="COMPONENT">
+ <xsl:choose>
+ <!-- property name="jbosstools-3.2_trunk.component- -ws-SNAPSHOT.build.properties.JOB_NAME"
+ value="jbosstools-3.2_trunk.component- -ws" -->
+ <xsl:when test="contains(@value,'component--')">
+ <xsl:value-of select="substring-after(@value,'component--')" />
+ </xsl:when>
+ <!-- property name="jbosstools-drools-5.2_trunk-SNAPSHOT.build.properties.JOB_NAME"
+ value="jbosstools-drools-5.2_trunk" -->
+ <xsl:when test="contains(@value, '_stable_branch')">
+ <xsl:value-of
+ select="substring-before(substring-after(@value,'jbosstools-'),'_stable_branch')" />
+ </xsl:when>
+ <xsl:when test="contains(@value, '_trunk')">
+ <xsl:value-of
+ select="substring-before(substring-after(@value,'jbosstools-'),'_trunk')" />
+ </xsl:when>
+
+ <!-- property name="xulrunner-1.9.1.2-2011-01-20_20-39-25-H36.build.properties.JOB_NAME"
+ value="xulrunner-1.9.1.2" -->
+ <xsl:otherwise>
+ <xsl:value-of select="@value" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <tr>
+ <td colspan="2">
+ <a href="http://hudson.qa.jboss.com/hudson/job/{$JOB_NAME}/">
+ <xsl:value-of select="$COMPONENT" />
+ </a>
+ </td>
+ </tr>
+
+ <xsl:for-each
+ select="//property[contains(@name,'build.properties.filename') and contains(@name,$COMPONENT)]">
+ <xsl:variable name="rowColor">
+ <xsl:if test="position() mod 2 = 1">
+ #CCCCEE
+ </xsl:if>
+ <xsl:if test="position() mod 2 = 0">
+ #FFFFFF
+ </xsl:if>
+ <xsl:if test="contains(@name,'All')">
+ #CCEECC
+ </xsl:if>
+ <xsl:if test="contains(@name,'Source')">
+ #EECCCC
+ </xsl:if>
+ </xsl:variable>
+
<tr bgcolor="{$rowColor}">
- <td>
- <img src="images/OK-small.png" />
- </td>
- <td class="downloadInfo">
- <xsl:for-each select=".">
- <b>
- <acronym title="{@name} :: {description}">
- <a class="allLink-blue" href="{$baseurl}/{download/@url}">
- <xsl:value-of select="concat(@name,' ',@version)" />
+ <!-- <td> <img src="images/OK-small.png" /> </td> -->
+ <td class="downloadInfo">
+ <xsl:for-each select=".">
+ <b>
+ <xsl:variable name="filelabel">
+ <xsl:choose>
+ <!-- property name="jbosstools-3.2_trunk.component- -ws-SNAPSHOT.build.properties.JOB_NAME"
+ value="jbosstools-3.2_trunk.component- -ws" -->
+ <xsl:when test="contains(@value,'component--')">
+ <xsl:value-of select="substring-after(@value,'component--')" />
+ </xsl:when>
+
+ <!-- property name="jbosstools-drools-5.2_trunk-SNAPSHOT.build.properties.JOB_NAME"
+ value="jbosstools-drools-5.2_trunk" -->
+ <xsl:when test="contains(@value, '_stable_branch')">
+ <xsl:value-of
+ select="replace(substring-after(@value,'jbosstools-'),'_stable_branch','')" />
+ </xsl:when>
+ <xsl:when test="contains(@value, '_trunk')">
+ <xsl:value-of
+ select="replace(substring-after(@value,'jbosstools-'),'_trunk','')" />
+ </xsl:when>
+
+ <!-- property name="xulrunner-1.9.1.2-2011-01-20_20-39-25-H36.build.properties.JOB_NAME"
+ value="xulrunner-1.9.1.2" -->
+ <xsl:otherwise>
+ <xsl:value-of select="@value" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <a class="allLink-blue" href="{@value}">
+ <xsl:value-of select="$filelabel" />
</a>
- </acronym>
- <br />
- <a class="md5" href="{$baseurl}/{download/(a)url}.MD5">MD5</a>
- | filesize:
- <xsl:value-of select="download/@size" />
- </b>
- <br />
- </xsl:for-each>
- </td>
- </tr>
+ <ul>
+ <li>
+ md5:
+ <xsl:for-each
+ select="//property[contains(@name,'build.properties.filemd5') and contains(@name,$COMPONENT)]">
+ <xsl:value-of select="@value" />
+ </xsl:for-each>
+ </li><li>size:
+ <xsl:for-each
+ select="//property[contains(@name,'build.properties.filesize') and contains(@name,$COMPONENT)]">
+ <xsl:value-of select="@value" /> bytes
+ </xsl:for-each>
+ </li>
+
+ <xsl:for-each
+ select="tokenize(//property[contains(@name,'build.properties.SVN_REVISION') and contains(@name,$COMPONENT)]/@value,',')">
+ <li>SVN: <xsl:value-of select="." /></li>
+ </xsl:for-each>
+ </ul>
+ </b>
+ </xsl:for-each>
+ </td>
+ </tr>
+ </xsl:for-each>
</xsl:for-each>
</table>
@@ -259,6 +305,5 @@
</html>
-
</xsl:template>
-</xsl:transform>
\ No newline at end of file
+</xsl:stylesheet>
\ No newline at end of file
13 years, 10 months
JBoss Tools SVN: r29503 - branches/3.3.indigo/build/parent.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-03-04 01:15:13 -0500 (Fri, 04 Mar 2011)
New Revision: 29503
Modified:
branches/3.3.indigo/build/parent/pom.xml
Log:
refactor and clean up; switch from helios to indigo
Modified: branches/3.3.indigo/build/parent/pom.xml
===================================================================
--- branches/3.3.indigo/build/parent/pom.xml 2011-03-04 03:30:49 UTC (rev 29502)
+++ branches/3.3.indigo/build/parent/pom.xml 2011-03-04 06:15:13 UTC (rev 29503)
@@ -30,13 +30,11 @@
<target.platform.classifier.local>local
</target.platform.classifier.local>
- <!-- Set this to a path on your own machine, or use remote URL like http://download.jboss.org/jbosstools/updates/target-platform/latest/
- Can also generate a local.target file which will always point to your local
- repo w/o having to edit here. See local.target profile below for more information. -->
- <target.platform.site>file://home/hudson/static_build_env/jbds/target-platform/e361-wtp322.target/
- </target.platform.site>
- <jbosstools.update.site>http://download.jboss.org/jbosstools/updates/nightly/trunk</jbosstools.update.site>
- <jbosstools-target-platform-repo>http://download.jboss.org/jbosstools/updates/target-platform/latest/</jbosstools-target-platform-repo>
+ <jbosstools-nightly>http://download.jboss.org/jbosstools/updates/nightly/3.3.indigo/</jbosstools.update>
+ <jbosstools-target-site>http://download.jboss.org/jbosstools/updates/target-platform_3.3.indigo/l...</jbosstools-target-site>
+
+ <!-- pass in your own path using -Dlocal.site=file://home/$user/trunk/build/target-platform/REPO/ -->
+ <local.site>file://home/hudson/static_build_env/jbds/target-platform/e37M5-wtp33M5.target/</local.site>
</properties>
<build>
@@ -209,36 +207,59 @@
</issueManagement>
<profiles>
- <!-- TODO: remove this when no one depends on it; replace with unified.target,
- not multiuple.target, since no one should need to resolve against all these
- sites (and one site is by far faster) ! -->
<profile>
- <id>helios</id>
+ <id>jbosstools-nightly</id>
<activation>
- <activeByDefault>false</activeByDefault>
+ <activeByDefault>true</activeByDefault>
</activation>
- <properties>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.sonatype.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tychoVersion}</version>
- <configuration>
- <target>
- <artifact>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.target.platform</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <classifier>${target.platform.classifier.multiple}</classifier>
- </artifact>
- </target>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <repositories>
+ <repository>
+ <id>jbosstools-nightly</id>
+ <url>${jbosstools-nightly}</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
</profile>
+ <profile>
+ <id>jbosstools-nightly-staging-composite</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>jbosstools-nightly-staging-composite</id>
+ <url>http://download.jboss.org/jbosstools/builds/staging/_composite_/3.3.indigo/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ </profile>
+ <profile>
+ <id>jboss-requirements-composite-mirror</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <repositories>
+ <repository>
+ <id>jboss-requirements-composite-mirror</id>
+ <url>http://download.jboss.org/jbosstools/updates/indigo/</url>
+ <layout>p2</layout>
+ <snapshots> <enabled>true</enabled> </snapshots>
+ <releases> <enabled>true</enabled> </releases>
+ </repository>
+ </repositories>
+ </profile>
<!-- Target platform file pointing at a single update site from which to
resolve. See unified.site if you want to resolve against a site w/o using
@@ -277,7 +298,7 @@
README in target-platform/ folder for additional usage examples. You can
also run `ant help`. If you want to build the target-platform/pom.xml AND
generate a local repo + local.target file ALL AT THE SAME TIME, you can do:
- mvn clean install -Plocal -f /path/to/target-platform/pom.xml -->
+ mvn clean install -Pget.local.target -f /path/to/target-platform/pom.xml -->
<profile>
<id>local.target</id>
<activation>
@@ -304,31 +325,9 @@
</build>
</profile>
- <!-- Time saver: to build everything from scratch from a single local repo
- on Hudson cluster or on local machine. Use -Dtarget.platform.site=file://path/to/your/own/repo -->
- <profile>
- <id>helios-local-target</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <repositories>
- <repository>
- <id>jbosstools-target-platform-repo</id>
- <url>${target.platform.site}</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- </repositories>
- </profile>
-
<!-- if you have a local repo mirror of the unified.site, you can use this
- profile with the -Dtarget.platform.site=file://path/to/repo to resolve dependencies
- without needing to use a local.target file -->
+ profile with the -Dlocal.site=file://path/to/repo to resolve dependencies
+ without needing to use a local.site file -->
<profile>
<id>local.site</id>
<activation>
@@ -336,8 +335,8 @@
</activation>
<repositories>
<repository>
- <id>jbosstools-target-platform-repo</id>
- <url>${target.platform.site}</url>
+ <id>local.site</id>
+ <url>${local.site}</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
@@ -349,27 +348,6 @@
</repositories>
</profile>
- <!-- TODO: remove this when no one depends on it; replace with unified.site -->
- <profile>
- <id>helios-remote-target</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <repositories>
- <repository>
- <id>jbosstools-target-platform-repo</id>
- <url>${jbosstools-target-platform-repo}</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- </repositories>
- </profile>
-
<!-- Time saver: to build everything from scratch from a single repo containing
all deps in unified.target, but without using the target file to filter site
contents (may end up using a different version of a dependency if site contains
@@ -381,9 +359,8 @@
</activation>
<repositories>
<repository>
- <id>jbosstools-target-platform-repo</id>
- <url>http://download.jboss.org/jbosstools/updates/target-platform/latest/
- </url>
+ <id>jbosstools-target-site</id>
+ <url>${jbosstools-target-site}</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
@@ -396,20 +373,18 @@
</profile>
<!-- Time saver: to build everything from scratch (without target platform);
- To enable it use -P helios-no-target in command line. Do not remove repos
+ To enable it use -P multiple.site in command line. Do not remove repos
that contains the same artefacts, it is done for purpose to make build more
stable in case one of the repos is offline. -->
- <!-- TODO: rename when no one depends on it; rename to multiple.site -->
<profile>
- <id>helios-no-target</id>
+ <id>multiple.site</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<repositories>
<repository>
- <id>jbosstools-target-platform-repo</id>
- <url>http://download.jboss.org/jbosstools/updates/target-platform/latest/
- </url>
+ <id>jbosstools-target-site</id>
+ <url>${jbosstools-target-site}</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
@@ -419,8 +394,8 @@
</releases>
</repository>
<repository>
- <id>helios</id>
- <url>http://download.eclipse.org/releases/helios/</url>
+ <id>jbosstools-requirements-composite-mirror</id>
+ <url>http://download.jboss.org/jbosstools/updates/indigo/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
@@ -442,42 +417,6 @@
</releases>
</repository>
<repository>
- <id>jboss-webtools33</id>
- <url>http://download.jboss.org/jbosstools/updates/requirements/webtools/3.3/
- </url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>jboss-birt40</id>
- <url>http://download.jboss.org/jbosstools/updates/requirements/birt/4.0/
- </url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>jboss-swtbot-helios</id>
- <url>http://download.jboss.org/jbosstools/updates/requirements/swtbot/2.0.3/
- </url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
<id>m2eclipse</id>
<url>http://m2eclipse.sonatype.org/sites/m2e/</url>
<layout>p2</layout>
@@ -499,32 +438,9 @@
<enabled>true</enabled>
</releases>
</repository>
- <repository>
- <id>jboss-xulrunner-1.9.1.2</id>
- <url>http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.1.2/
- </url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
<!--repository> <id>jboss-xulrunner-1.9.2</id> <url>http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2/
</url> <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots>
<releases> <enabled>true</enabled> </releases> </repository -->
- <repository>
- <id>google eclipse plugins</id>
- <url>http://dl.google.com/eclipse/plugin/3.6</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
</repositories>
</profile>
@@ -755,44 +671,6 @@
</profile>
<profile>
- <id>jbosstools-nightly-trunk</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <repositories>
- <repository>
- <id>jbosstools-nightly-trunk</id>
- <url>${jbosstools.update.site}</url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>jbosstools-nightly-staging-composite-trunk</id>
- <url>http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk/ </url>
- <layout>p2</layout>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>jboss-requirements-composite-mirror</id>
- <url>http://download.jboss.org/jbosstools/updates/indigo/</url>
- <layout>p2</layout>
- <snapshots> <enabled>true</enabled> </snapshots>
- <releases> <enabled>true</enabled> </releases>
- </repository>
- </repositories>
- </profile>
-
- <profile>
<!-- this plugin is available from https://github.com/nickboldt/maven-plugins/tree/master/unique-GAV-plugin/ -->
<id>GAV</id>
<build>
13 years, 10 months
JBoss Tools SVN: r29501 - trunk/hibernatetools/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-03 22:26:16 -0500 (Thu, 03 Mar 2011)
New Revision: 29501
Modified:
trunk/hibernatetools/docs/reference/en-US/ant.xml
Log:
"General editing and screenshot updates"
Modified: trunk/hibernatetools/docs/reference/en-US/ant.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en-US/ant.xml 2011-03-04 03:19:54 UTC (rev 29500)
+++ trunk/hibernatetools/docs/reference/en-US/ant.xml 2011-03-04 03:26:16 UTC (rev 29501)
@@ -429,11 +429,11 @@
</para>
<para>
- The <code>persistenceunit</code> attribute can be used to select a specific persistence unit. If no <code>persistenceunit</code> attribute is specified it will automatically search for one and if a unique one is found, use it. However, having multiple persistence units will result in an error.
+ The <code>persistenceunit</code> attribute can be used to select a specific persistence unit. If no <code>persistenceunit</code> attribute is specified it will automatically search for one, and if a unique one is found, use it. However, having multiple persistence units will result in an error.
</para>
<para>
- To use a <code><jpaconfiguration></code> tag you will need to specify some additional JARs from Hibernate EntityManager in the <code><taskdef></code> section of the hibernatetool. The following demonstrates a full setup:
+ To use a <code><jpaconfiguration></code> tag you will need to specify some additional JARs from the Hibernate EntityManager in the <code><taskdef></code> section of the hibernatetool. The following demonstrates a full setup:
</para>
<programlisting role="XML"><![CDATA[<path id="ejb3toolslib">
@@ -466,7 +466,7 @@
<note>
<title>Note:</title>
<para>
- ejb3configuration was the name used in previous versions. It still works but will display a warning telling you to use <literal>jpaconfiguration</literal> instead.
+ <literal>ejb3configuration</literal> was the name used in previous versions. It still works but will display a warning telling you to use <literal>jpaconfiguration</literal> instead.
</para>
</note>
13 years, 10 months
JBoss Tools SVN: r29500 - trunk/hibernatetools/docs/reference/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-03-03 22:19:54 -0500 (Thu, 03 Mar 2011)
New Revision: 29500
Modified:
trunk/hibernatetools/docs/reference/en-US/ant.xml
Log:
"General editing and screenshot updates"
Modified: trunk/hibernatetools/docs/reference/en-US/ant.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en-US/ant.xml 2011-03-04 02:57:00 UTC (rev 29499)
+++ trunk/hibernatetools/docs/reference/en-US/ant.xml 2011-03-04 03:19:54 UTC (rev 29500)
@@ -180,7 +180,7 @@
<title>Basic examples</title>
<para>
- The following example shows the most basic setup for generating POJOs via <code><hbm2java></code> from a normal <filename>hibernate.cfg.xml</filename>. The output will be placed in the <filename>${build.dir}/generated</filename> directory.
+ The following example shows the most basic setup for generating POJOs via <code><hbm2java></code> from a normal <filename>hibernate.cfg.xml</filename> file. The output will be placed in the <filename>${build.dir}/generated</filename> directory.
</para>
<programlisting role="XML"><![CDATA[<hibernatetool destdir="${build.dir}/generated">
@@ -194,11 +194,11 @@
<para>
- The following example is similar, but now we are performing multiple exports from the same configuration. We are exporting the schema via <code><hbm2dll></code>, generating some DAO code via <code><hbm2dao></code> and finally running some custom code generation via <code><hbmtemplate></code>. This is again from a normal <filename>hibernate.cfg.xml</filename> file, and the output is still placed in the <filename>${build.dir}/generated</filename> directory.
+ The following example is similar, but now we are performing multiple exports from the same configuration. We are exporting the schema via <code><hbm2dll></code>, generating some DAO code via <code><hbm2dao></code>, and finally running some custom code generation via <code><hbmtemplate></code>. This is again from a normal <filename>hibernate.cfg.xml</filename> file, and the output is still placed in the <filename>${build.dir}/generated</filename> directory.
</para>
<para>
- The example also shows how a classpath is specified, which is useful when you have custom user types or some mappings that is needed to be looked up as a classpath resource.
+ The example also shows how a classpath is specified, which is useful when you have custom user types or some mappings that are required to be looked up as a classpath resource.
</para>
<programlisting role="XML"><![CDATA[<hibernatetool destdir="${build.dir}/generated">
@@ -223,7 +223,7 @@
<title>Hibernate Configurations</title>
<para>
- <emphasis>Hibernatetool</emphasis> supports four different Hibernate configurations: A standard Hibernate configuration (<code><configuration></code>), Annotation based configuration (<code><annotationconfiguration></code>), JPA persistence based configuration (<code><jpaconfiguration></code>) and a JDBC based configuration (<code><jdbcconfiguration></code>) used when reverse engineering.
+ <productname>Hibernatetool</productname> supports four different Hibernate configurations: A standard Hibernate configuration (<code><configuration></code>), Annotation based configuration (<code><annotationconfiguration></code>), JPA persistence based configuration (<code><jpaconfiguration></code>) and a JDBC based configuration (<code><jdbcconfiguration></code>) used when reverse engineering.
</para>
<para>
@@ -396,12 +396,12 @@
<important>
<title>Important:</title>
<para>
- To use it remember to put the JAR files needed for using Hibernate annotations in the classpath of the <code><taskdef></code>, i.e. <filename>hibernate-annotations.jar</filename> and <filename>hibernate-commons-annotations.jar</filename>.
+ To use an <code><annotationconfiguration></code> tag remember to place the JAR files required to use Hibernate annotations in the classpath of the <code><taskdef></code>, i.e. <filename>hibernate-annotations.jar</filename> and <filename>hibernate-commons-annotations.jar</filename>.
</para>
</important>
<para>
- The <code><annotationconfiguration></code> tag supports the same attributes as the <code><configuration></code> tag except that the <code>configurationfile</code> attribute is now required as that is where an <emphasis>AnnotationConfiguration</emphasis> gets the list of classes and packages it should load.
+ The <code><annotationconfiguration></code> tag supports the same attributes as the <code><configuration></code> tag, with the exception being that the <code>configurationfile</code> attribute is now required as that is where an <emphasis>AnnotationConfiguration</emphasis> gets the list of classes and packages it should load.
</para>
<para>Thus the minimal usage is:</para>
13 years, 10 months