[jbosstools-commits] JBoss Tools SVN: r23464 - in branches/jbosstools-3.2.0.M1/build: aggregate/site and 1 other directories.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Jul 15 19:54:31 EDT 2010
Author: nickboldt
Date: 2010-07-15 19:54:30 -0400 (Thu, 15 Jul 2010)
New Revision: 23464
Added:
branches/jbosstools-3.2.0.M1/build/results/
branches/jbosstools-3.2.0.M1/build/results/build.xml
branches/jbosstools-3.2.0.M1/build/results/download-template.xml
branches/jbosstools-3.2.0.M1/build/results/download.xsl
Modified:
branches/jbosstools-3.2.0.M1/build/aggregate/site/pom.xml
branches/jbosstools-3.2.0.M1/build/publish.sh
Log:
port forward from trunk
Modified: branches/jbosstools-3.2.0.M1/build/aggregate/site/pom.xml
===================================================================
--- branches/jbosstools-3.2.0.M1/build/aggregate/site/pom.xml 2010-07-15 23:13:15 UTC (rev 23463)
+++ branches/jbosstools-3.2.0.M1/build/aggregate/site/pom.xml 2010-07-15 23:54:30 UTC (rev 23464)
@@ -16,7 +16,7 @@
<repositories>
<repository>
<id>jbosstools-continuous-snapshot</id>
- <url>http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools-3.2.0.M1.continuous/</url>
+ <url>http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools-3.2.0.M1.continuous/all/repo/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
@@ -24,7 +24,7 @@
</repository>
<repository>
<id>jbosstools-snapshot</id>
- <url>http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools-3.2.0.M1/</url>
+ <url>http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools-3.2.0.M1/all/repo/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
@@ -32,7 +32,7 @@
</repository>
<repository>
<id>jbosstools-pi4soa-snapshot</id>
- <url>http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools-pi4soa/</url>
+ <url>http://download.jboss.org/jbosstools/builds/nightly/3.2.helios/jbosstools-pi4soa/all/repo/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
Modified: branches/jbosstools-3.2.0.M1/build/publish.sh
===================================================================
--- branches/jbosstools-3.2.0.M1/build/publish.sh 2010-07-15 23:13:15 UTC (rev 23463)
+++ branches/jbosstools-3.2.0.M1/build/publish.sh 2010-07-15 23:54:30 UTC (rev 23464)
@@ -1,15 +1,29 @@
#!/bin/bash
# Hudson script used to publish Tycho-built p2 update sites
-
# NOTE: sources MUST be checked out into ${WORKSPACE}/sources
-# define target zip filename for inclusion in uberbuilder's bucky aggregator
-SNAPNAME=${JOB_NAME}-Update-SNAPSHOT.zip
+# where to create the stuff to publish
+STAGINGDIR=${WORKSPACE}/results/${JOB_NAME}
+# releases get named differently than snapshots
+if [[ ${RELEASE} == "Yes" ]]; then
+ ZIPSUFFIX="${BUILD_ID}-H${BUILD_NUMBER}"
+ STAGINGDIR=${WORKSPACE}/results/${JOB_NAME}-${ZIPSUFFIX}
+else
+ ZIPSUFFIX="SNAPSHOT"
+fi
+
+# define target update zip filename
+SNAPNAME="${JOB_NAME}-Update-${ZIPSUFFIX}.zip"
+# define target sources zip filename
+SRCSNAME="${JOB_NAME}-Sources-${ZIPSUFFIX}.zip"
+# define suffix to use for additional update sites
+SUFFNAME="-Update-${ZIPSUFFIX}.zip"
+
if [[ $DESTINATION == "" ]]; then DESTINATION="tools at filemgmt.jboss.org:/downloads_htdocs/tools/builds/nightly/3.2.helios"; fi
# cleanup from last time
-rm -fr ${WORKSPACE}/site; mkdir -p ${WORKSPACE}/site/${JOB_NAME}
+rm -fr ${WORKSPACE}/results; mkdir -p ${STAGINGDIR}
# check for aggregate zip or overall zip
z=""
@@ -29,16 +43,23 @@
if [[ $z != "" ]] && [[ -f $z ]] ; then
#echo "$z ..."
- # note the job name, build number, and build ID of the latest snapshot zip
- echo "JOB_NAME = ${JOB_NAME}" > ${WORKSPACE}/site/${JOB_NAME}/JOB_NAME.txt
- echo "BUILD_NUMBER = ${BUILD_NUMBER}" > ${WORKSPACE}/site/${JOB_NAME}/BUILD_NUMBER.txt
- echo "BUILD_ID = ${BUILD_ID}" > ${WORKSPACE}/site/${JOB_NAME}/BUILD_ID.txt
+ # note the job name, build number, SVN rev, and build ID of the latest snapshot zip
+ mkdir -p ${STAGINGDIR}/logs
+ METAFILE="${BUILD_ID}-H${BUILD_NUMBER}.txt"
+ if [[ ${SVN_REVISION}} ]]; then
+ METAFILE="${BUILD_ID}-H${BUILD_NUMBER}-r${SVN_REVISION}.txt"
+ fi
+ echo "SVN_REVISION = ${SVN_REVISION}" > ${STAGINGDIR}/logs/${METAFILE}
+ echo "JOB_NAME = ${JOB_NAME}" >> ${STAGINGDIR}/logs/${METAFILE}
+ echo "BUILD_NUMBER = ${BUILD_NUMBER}" >> ${STAGINGDIR}/logs/${METAFILE}
+ echo "BUILD_ID = ${BUILD_ID}" >> ${STAGINGDIR}/logs/${METAFILE}
# unzip into workspace for publishing as unpacked site
- unzip -u -o -q -d ${WORKSPACE}/site/${JOB_NAME}/ $z
+ mkdir -p ${STAGINGDIR}/all/repo
+ unzip -u -o -q -d ${STAGINGDIR}/all/repo $z
# copy into workspace for access by bucky aggregator (same name every time)
- rsync -aq $z ${WORKSPACE}/site/${SNAPNAME}
+ rsync -aq $z ${STAGINGDIR}/all/${SNAPNAME}
fi
z=""
@@ -48,32 +69,59 @@
if [[ $y != "aggregate" ]]; then # prevent duplicate nested sites
#echo "[$y] $z ..."
# unzip into workspace for publishing as unpacked site
- mkdir -p ${WORKSPACE}/site/${JOB_NAME}/$y
- unzip -u -o -q -d ${WORKSPACE}/site/${JOB_NAME}/$y $z
+ mkdir -p ${STAGINGDIR}/$y
+ unzip -u -o -q -d ${STAGINGDIR}/$y $z
# copy into workspace for access by bucky aggregator (same name every time)
- rsync -aq $z ${WORKSPACE}/site/${JOB_NAME}/${y}-Update-SNAPSHOT.zip
+ rsync -aq $z ${STAGINGDIR}/${y}${SUFFNAME}
fi
done
# if zips exist produced & renamed by ant script, copy them too
-if [[ ! -f ${WORKSPACE}/site/${SNAPNAME} ]]; then
- for z in $(find ${WORKSPACE} -maxdepth 5 -mindepth 3 -name "*Update*.zip"); do
+if [[ ! -f ${STAGINGDIR}/all/${SNAPNAME} ]]; then
+ for z in $(find ${WORKSPACE} -maxdepth 5 -mindepth 3 -name "*Update*.zip" | sort | tail -1); do
#echo "$z ..."
- unzip -u -o -q -d ${WORKSPACE}/site/${JOB_NAME}/ $z
- rsync -aq $z ${WORKSPACE}/site/${SNAPNAME}
+ mkdir -p ${STAGINGDIR}/all
+ unzip -u -o -q -d ${STAGINGDIR}/all/ $z
+ rsync -aq $z ${STAGINGDIR}/all/${SNAPNAME}
done
fi
+# create sources zip
+pushd ${WORKSPACE}/sources
+mkdir -p ${STAGINGDIR}/all
+zip ${STAGINGDIR}/all/${SRCSNAME} -q -r * -x documentation\* -x download.jboss.org\* -x requirements\* \
+ -x workingset\* -x labs\* -x build\* -x \*test\* -x \*target\* -x \*.class -x \*.svn\* -x \*classes\* -x \*bin\* -x \*.zip \
+ -x \*docs\* -x \*reference\* -x \*releng\*
+popd
+
+# generate HTML snippet, download-snippet.txt, for inclusion on jboss.org
+if [[ ${RELEASE} == "Yes" ]]; then
+ mkdir -p ${STAGINGDIR}/logs
+ ANT_PARAMS="-DZIPSUFFIX=${ZIPSUFFIX} -DJOB_NAME=${JOB_NAME} -Doutput.dir=${STAGINGDIR}/logs"
+ if [[ -f ${WORKSPACE}/build/results/build.xml ]]; then
+ ant -f ${WORKSPACE}/build/results/build.xml ${ANT_PARAMS}
+ elif [[ -f ${WORKSPACE}/sources/build/results/build.xml ]]; then
+ ant -f ${WORKSPACE}/sources/build/results/build.xml ${ANT_PARAMS}
+ fi
+fi
+
# get full build log and filter out Maven test failures
-bl=${WORKSPACE}/site/${JOB_NAME}/BUILDLOG.txt
+mkdir -p ${STAGINGDIR}/logs
+bl=${STAGINGDIR}/logs/BUILDLOG.txt
wget -q http://hudson.qa.jboss.com/hudson/job/${JOB_NAME}/${BUILD_NUMBER}/consoleText -O ${bl}
-fl=${WORKSPACE}/site/${JOB_NAME}/FAIL_LOG.txt
+fl=${STAGINGDIR}/logs/FAIL_LOG.txt
sed -ne "/<<< FAI/,+9 p" ${bl} | sed -e "/AILURE/,+9 s/\(.\+AILURE.\+\)/\n----------\n\n\1/g" > ${fl}
+sed -ne "/ FAI/ p" ${bl} | sed -e "/AILURE \[/ s/\(.\+AILURE \[.\+\)/\n----------\n\n\1/g" >> ${fl}
+sed -ne "/ SKI/ p" ${bl} | sed -e "/KIPPED \[/ s/\(.\+KIPPED \[.\+\)/\n----------\n\n\1/g" >> ${fl}
fc=$(sed -ne "/FAI\|LURE/ p" ${fl} | wc -l)
if [[ $fc != "0" ]]; then
echo "" >> ${fl}; echo -n "FAI" >> ${fl}; echo -n "LURES FOUND: "$fc >> ${fl};
fi
-el=${WORKSPACE}/site/${JOB_NAME}/ERRORLOG.txt
+fc=$(sed -ne "/KIPPED/ p" ${fl} | wc -l)
+if [[ $fc != "0" ]]; then
+ echo "" >> ${fl}; echo -n "SKI" >> ${fl}; echo -n "PS FOUND: "$fc >> ${fl};
+fi
+el=${STAGINGDIR}/logs/ERRORLOG.txt
sed -ne "/<<< ERR/,+9 p" ${bl} | sed -e "/RROR/,+9 s/\(.\+RROR.\+\)/\n----------\n\n\1/g" > ${el}
sed -ne "/\[ERR/,+2 p" ${bl} | sed -e "/ROR\] Fai/,+2 s/\(.\+ROR\] Fai.\+\)/\n----------\n\n\1/g" >> ${el}
ec=$(sed -ne "/ERR\|RROR/ p" ${el} | wc -l)
@@ -81,19 +129,17 @@
echo "" >> ${el}; echo -n "ERR" >> ${el}; echo "ORS FOUND: "$ec >> ${el};
fi
-date
-rsync -arzq ${WORKSPACE}/site/${JOB_NAME}/*LOG.txt $DESTINATION/${JOB_NAME}/
-date
-
# publish to download.jboss.org, unless errors found - avoid destroying last-good update site
if [[ $ec == "0" ]] && [[ $fc == "0" ]]; then
date
- if [[ -d ${WORKSPACE}/site/${JOB_NAME} ]]; then
- rsync -arzq --delete ${WORKSPACE}/site/${JOB_NAME} $DESTINATION/
+ # publish update site dir
+ if [[ -d ${STAGINGDIR} ]]; then
+ rsync -arzq --delete ${STAGINGDIR} $DESTINATION/
fi
- if [[ -f ${WORKSPACE}/site/${SNAPNAME} ]]; then
- # publish snapshot zip
- rsync -arzq --delete ${WORKSPACE}/site/${SNAPNAME} $DESTINATION/
+ # publish update site zip
+ if [[ -f ${WORKSPACE}/results/${SNAPNAME} ]]; then
+ rsync -arzq --delete ${WORKSPACE}/results/${SNAPNAME} $DESTINATION/
fi
fi
date
+
Property changes on: branches/jbosstools-3.2.0.M1/build/results
___________________________________________________________________
Name: svn:ignore
+ download-snippet.txt
Added: branches/jbosstools-3.2.0.M1/build/results/build.xml
===================================================================
--- branches/jbosstools-3.2.0.M1/build/results/build.xml (rev 0)
+++ branches/jbosstools-3.2.0.M1/build/results/build.xml 2010-07-15 23:54:30 UTC (rev 23464)
@@ -0,0 +1,168 @@
+<project default="build.results">
+
+ <!-- should be set by script or in Hudson -->
+ <property name="ZIPSUFFIX" value="SNAPSHOT" />
+
+ <!-- should be set by Hudson -->
+ <!-- <property name="JOB_NAME" value="jbosstools-3.2.0.M2.continuous" /> -->
+
+ <!-- if ${WORKSPACE}/site folder exists, target that folder; else generate here. -->
+ <condition property="output.dir" value="${WORKSPACE}/results" else="${basedir}">
+ <available file="${WORKSPACE}/results" />
+ </condition>
+
+ <condition property="WORKINGDIR" value="/home/hudson/static_build_env/jbds/tools/sources" else="${basedir}/../..">
+ <available file="/home/hudson/static_build_env/jbds" type="dir" />
+ </condition>
+
+ <mkdir dir="${WORKINGDIR}" />
+ <echo level="info">WORKINGDIR = ${WORKINGDIR}</echo>
+
+ <condition property="COMMON_TOOLS" value="/home/hudson/static_build_env/jbds/tools">
+ <available file="/home/hudson/static_build_env/jbds" type="dir" />
+ </condition>
+ <condition property="COMMON_TOOLS" value="${WORKINGDIR}/../tools" else="${java.io.tmpdir}">
+ <available file="${WORKINGDIR}/../tools" type="dir" />
+ </condition>
+ <mkdir dir="${COMMON_TOOLS}" />
+ <echo level="info">COMMON_TOOLS = ${COMMON_TOOLS}</echo>
+
+ <condition property="build.xml" value="/home/hudson/static_build_env/jbds/tools/sources/build/build.xml">
+ <available file="/home/hudson/static_build_env/jbds/tools/sources/build/build.xml" type="file" />
+ </condition>
+ <condition property="build.xml" value="${basedir}/../../build/build.xml">
+ <available file="${basedir}/../../build/build.xml" type="file" />
+ </condition>
+ <condition property="build.xml" value="${basedir}/../../build.xml">
+ <available file="${basedir}/../../build.xml" type="file" />
+ </condition>
+ <!-- if can't calculate where build/build.xml is located, must pass in path from parent when calling this script -->
+
+ <target name="init">
+ <ant antfile="${build.xml}" target="init" />
+
+ <macrodef name="get.size">
+ <attribute name="file" />
+ <attribute name="property" />
+ <sequential>
+ <var name="size" unset="true" />
+ <var name="size-in-mb" unset="true" />
+ <if>
+ <available file="@{file}" />
+ <then>
+ <length file="@{file}" property="size" />
+ <math result="size-in-mb">
+ <op op="/">
+ <op op="floor">
+ <op op="*">
+ <op op="/">
+ <num value="${size}" />
+ <num value="1048576" />
+ </op>
+ <num value="100" />
+ </op>
+ </op>
+ <num value="100" />
+ </op>
+ </math>
+
+ <property name="@{property}" value="${size-in-mb}" />
+ </then>
+ <else>
+ <property name="@{property}" value="-1" />
+ </else>
+ </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">
+ <!--
+ 1. resolve variables in download-template.xml to produce download.xml
+ 2. XSL transform download.xml to produce download.snippet.txt
+ 3. manually copy the contents of this file into a page under
+ http://www.jboss.org/tools/downloads/
+ -->
+ <for param="UPDATEZIP">
+ <path>
+ <fileset dir="${WORKINGDIR}/site">
+ <include name="*-Update-${ZIPSUFFIX}.zip" />
+ <include name="*-Sources-${ZIPSUFFIX}.zip" />
+ </fileset>
+ </path>
+ <sequential>
+ <var name="filename" unset="true" />
+ <propertyregex property="filename"
+ input="@{UPDATEZIP}"
+ defaultvalue="@{UPDATEZIP}"
+ regexp=".+/([^/]+\.zip)"
+ replace="\1"
+ casesensitive="false"
+ override="true"
+ />
+ <propertyregex property="COMPONENT"
+ input="${filename}"
+ defaultvalue="${filename}"
+ regexp="(.+)-(Update|Sources)-${ZIPSUFFIX}\.zip"
+ replace="\1"
+ casesensitive="false"
+ override="true"
+ />
+
+ <if>
+ <and>
+ <isset property="JOB_NAME" />
+ <equals arg1="${COMPONENT}" arg2="${JOB_NAME}" />
+ </and>
+ <then>
+ <if>
+ <equals arg1="${filename}" arg2="${JOB_NAME}-Sources-${ZIPSUFFIX}.zip" />
+ <then>
+ <var name="COMPONENT" unset="true" />
+ <var name="COMPONENT" value="sources" />
+ </then>
+ <elseif>
+ <equals arg1="${filename}" arg2="${JOB_NAME}-Update-${ZIPSUFFIX}.zip" />
+ <then>
+ <var name="COMPONENT" unset="true" />
+ <var name="COMPONENT" value="update" />
+ </then>
+ </elseif>
+ </if>
+ </then>
+ </if>
+
+ <echo level="verbose">UPDATEZIP = @{UPDATEZIP}
+COMPONENT = ${COMPONENT}</echo>
+ <property name="${COMPONENT}-filename" value="${filename}" />
+
+ <get.size file="@{UPDATEZIP}" property="${COMPONENT}-filesize" />
+
+ <!--
+ <var name="filesize" unset="true" />
+ <propertycopy from="${COMPONENT}-filesize" property="filesize" override="true" silent="true" />
+ <echo level="info">filesize = ${filesize}</echo>
+ <echo level="info">filename = ${filename}</echo>
+ <var name="filesize" unset="true" />
+ -->
+ <var name="filename" unset="true" />
+ </sequential>
+ </for>
+
+ <copy todir="${output.dir}" overwrite="true">
+ <fileset file="download-template.xml" />
+ <mapper type="merge" to="download.xml" />
+ <filterchain>
+ <expandproperties />
+ </filterchain>
+ </copy>
+ <xslt in="${output.dir}/download.xml" out="${output.dir}/download-snippet.txt" style="download.xsl" />
+ <delete file="${output.dir}/download.xml" />
+ </target>
+
+</project>
Added: branches/jbosstools-3.2.0.M1/build/results/download-template.xml
===================================================================
--- branches/jbosstools-3.2.0.M1/build/results/download-template.xml (rev 0)
+++ branches/jbosstools-3.2.0.M1/build/results/download-template.xml 2010-07-15 23:54:30 UTC (rev 23464)
@@ -0,0 +1,158 @@
+<projects baseurl="http://downloads.sourceforge.net/jboss/">
+<project name="All Plugins (repo)" version="${ZIPSUFFIX}">
+ <description>A p2 repo (update site) bundle of all JBoss Tools plugins - </description>
+ <a href="http://www.jboss.org/tools/download/update.html#fromzip">install instructions</a>
+ <download os="All platforms" url="${update-filename}" size="${update-filesize} MB"/>
+</project>
+
+<project name="JBoss Archive Tools" version="${ZIPSUFFIX}">
+ <description>For incremental archiving and packaging</description>
+ <download os="All platforms" url="${archives-filename}" size="${archives-filesize} MB"/>
+</project>
+
+<project name="JBoss AS Tools" version="${ZIPSUFFIX}">
+ <description>For running deploying to, and configuring JBoss AS</description>
+ <download os="All platforms" url="${as-filename}" size="${as-filesize} MB"/>
+</project>
+
+<project name="JBoss BIRT Tools" version="${ZIPSUFFIX}">
+ <description>Hibernate and Seam extensions for Eclipse BIRT</description>
+ <download os="All platforms" url="${birt-filename}" size="${birt-filesize} MB"/>
+</project>
+
+<project name="JBoss BPEL Editor" version="${ZIPSUFFIX}">
+ <description>JBoss BPEL Editor</description>
+ <download os="All platforms" url="${bpel-filename}" size="${bpel-filesize} MB"/>
+</project>
+
+<project name="Context and Dependency Injection Tools" version="${ZIPSUFFIX}">
+ <description>Context and Dependency Injection Tools</description>
+ <download os="All platforms" url="${cdi-filename}" size="${cdi-filesize} MB"/>
+</project>
+
+<project name="Common Frameworks" version="${ZIPSUFFIX}">
+ <description>Common JBoss Tools Frameworks, used by several JBoss Tools components</description>
+ <download os="All platforms" url="${common-filename}" size="${common-filesize} MB"/>
+</project>
+
+<project name="Drools IDE" version="${ZIPSUFFIX}">
+ <description>For Drools Rules and Drools Ruleflow</description>
+ <download os="All platforms" url="${drools-filename}" size="${drools-filesize} MB"/>
+</project>
+
+<project name="JBoss ESB Tools" version="${ZIPSUFFIX}" >
+ <description>Project wizards, editors and deployment JBoss's Enterprise Service Bus</description>
+ <download os="All platforms" url="${esb-filename}" size="${esb-filesize} MB"/>
+</project>
+
+<project name="Project Examples" version="${ZIPSUFFIX}">
+ <description>Tooling for easy installation of Examples + Project Examples from the JBoss Community</description>
+ <download os="All platforms" url="${examples-filename}" size="${examples-filesize} MB"/>
+</project>
+
+<project name="Flow Languages Common Tools" version="${ZIPSUFFIX}">
+ <description>Flow Languages Common Tools, used by jBPM component</description>
+ <download os="All platforms" url="${jbpm-filename}" size="${jbpm-filesize} MB"/>
+</project>
+
+<project name="FreeMarker IDE" version="${ZIPSUFFIX}" >
+ <description>Syntax highlighting Editor for Freemarker files</description>
+ <download os="All platforms" url="${freemarker-filename}" size="${freemarker-filesize} MB"/>
+</project>
+
+<project name="Hibernate Tools" version="${ZIPSUFFIX}" >
+ <description>Hibernate wizards, query editor, reverse engineering and more</description>
+ <download os="All platforms" url="${hibernatetools-filename}" size="${hibernatetools-filesize} MB"/>
+</project>
+
+<project name="jBPM + jBPM Convert" version="${ZIPSUFFIX}">
+ <description>Support for jBPM, including conversion from BPMN files</description>
+ <download os="All platforms" url="${jbpm-filename}" size="${jbpm-filesize} MB"/>
+</project>
+
+<project name="JMX Tools" version="${ZIPSUFFIX}">
+ <description>Java Management Extensions (JMX) Console in Eclipse</description>
+ <download os="All platforms" url="${jmx-filename}" size="${jmx-filesize} MB"/>
+</project>
+
+<project name="JBoss Tools JSF" version="${ZIPSUFFIX}">
+ <description>JBoss Tools JSF - see also JST and VPE components</description>
+ <download os="All platforms" url="${jsf-filename}" size="${jsf-filesize} MB"/>
+</project>
+
+<project name="JBoss Tools Java Standard Tools" version="${ZIPSUFFIX}">
+ <description>JBoss Tools Java Standard Tools - see also JSF and VPE components</description>
+ <download os="All platforms" url="${jst-filename}" size="${jst-filesize} MB"/>
+</project>
+
+<project name="JBoss Maven Tools" version="${ZIPSUFFIX}">
+ <description>Maven support in Eclipse (m2eclipse)</description>
+ <download os="All platforms" url="${maven-filename}" size="${maven-filesize} MB"/>
+</project>
+
+<project name="ModeShape JCR REST Tools" version="${ZIPSUFFIX}">
+ <description>Provides a resource publishing and unpublishing capability to ModeShape repositories</description>
+ <download os="All platforms" url="${modeshape-filename}" size="${modeshape-filesize} MB"/>
+</project>
+
+<project name="Pi Calculus for SOA" version="${ZIPSUFFIX}">
+ <description>Provides Pi Calculus for SOA</description>
+ <download os="All platforms" url="${pi4soa-filename}" size="${pi4soa-filesize} MB"/>
+</project>
+
+<project name="Portlet Tools" version="${ZIPSUFFIX}">
+ <description>For supporting JBoss Portal and JSR-286 portlets</description>
+ <download os="All platforms" url="${portlet-filename}" size="${portlet-filesize} MB"/>
+</project>
+
+<project name="JBoss Profiler" version="${ZIPSUFFIX}">
+ <description>Provides profiling for JBoss</description>
+ <download os="All platforms" url="${profiler-filename}" size="${profiler-filesize} MB"/>
+</project>
+
+<project name="Seam Tools" version="${ZIPSUFFIX}" >
+ <description>For creating Seam Components and Projects</description>
+ <download os="All platforms" url="${seam-filename}" size="${seam-filesize} MB"/>
+</project>
+
+<project name="Smooks Tools" version="${ZIPSUFFIX}" >
+ <description>transformation editor</description>
+ <download os="All platforms" url="${smooks-filename}" size="${smooks-filesize} MB"/>
+</project>
+
+<project name="Struts Tools" version="${ZIPSUFFIX}">
+ <description>For Struts 1.x framework</description>
+ <download os="All platforms" url="${struts-filename}" size="${struts-filesize} MB"/>
+</project>
+
+<project name="Teiid Designer" version="${ZIPSUFFIX}">
+ <description>To create metadata models that describe your enterprise information systems</description>
+ <download os="All platforms" url="${teiid-filename}" size="${teiid-filesize} MB"/>
+</project>
+
+<project name="JBoss AS TPTP Tools" version="${ZIPSUFFIX}" >
+ <description>TPTP support for JBoss AS servers</description>
+ <download os="All platforms" url="${tptp-filename}" size="${tptp-filesize} MB"/>
+</project>
+
+<project name="Visual Page Editor" version="${ZIPSUFFIX}">
+ <description>Visual Page Editor - see also JST and JSF components</description>
+ <download os="All platforms" url="${vpe-filename}" size="${vpe-filesize} MB"/>
+</project>
+
+<project name="JBoss WS Tools" version="${ZIPSUFFIX}">
+ <description>Enables Web Services support in Eclipse for JBoss WS</description>
+ <download os="All platforms" url="${ws-filename}" size="${ws-filesize} MB"/>
+</project>
+
+<project name="XulRunner" version="${ZIPSUFFIX}">
+ <description>Provides a common back-end for XUL applications</description>
+ <download os="All platforms" url="${xulrunner-filename}" size="${xulrunner-filesize} MB"/>
+</project>
+
+<project name="Sources" version="${ZIPSUFFIX}">
+ <description>JBoss Tools - all sources (excluding tests)</description>
+ <download os="All platforms" url="${sources-filename}" size="${sources-filesize} MB"/>
+</project>
+
+</projects>
Added: branches/jbosstools-3.2.0.M1/build/results/download.xsl
===================================================================
--- branches/jbosstools-3.2.0.M1/build/results/download.xsl (rev 0)
+++ branches/jbosstools-3.2.0.M1/build/results/download.xsl 2010-07-15 23:54:30 UTC (rev 23464)
@@ -0,0 +1,47 @@
+<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>
+
+<table cellspacing="1" cellpadding="0" border="0" align="left"
+style="width: 100%;" class="simpletablestyle">
+ <thead>
+ <tr class="header">
+ <th>Description</th>
+ <th>Version</th>
+ <th>Download</th>
+ </tr>
+ </thead>
+ <tbody>
+ <xsl:for-each select="project">
+ <xsl:variable name="rowClass">
+ <xsl:if test="position() mod 2 = 1">oddRow</xsl:if>
+ <xsl:if test="position() mod 2 = 0">evenRow</xsl:if>
+ </xsl:variable>
+
+ <tr>
+ <xsl:attribute name="class">
+ <xsl:value-of select="$rowClass"/>
+ </xsl:attribute>
+ <td class="rowLine"><xsl:value-of select="@name"/> - <xsl:value-of select="description"/><xsl:if test="string(a) != ''"><xsl:copy-of select="a"/></xsl:if></td>
+ <td class="rowLine"><xsl:value-of select="substring-before(@version,'-')"/></td>
+ <td class="rowLine">
+ <xsl:for-each select="download">
+ <b><a>
+ <xsl:attribute name="href"><xsl:value-of select="$baseurl"/><xsl:value-of select="@url"/></xsl:attribute>
+ <xsl:attribute name="onclick">javascript:pageTracker._trackPageview('/downloads/<xsl:value-of select="@url"/>');turnOnModal(this); return false;</xsl:attribute>
+ <xsl:value-of select="@os"/>
+ </a>
+ (<xsl:value-of select="@size"/>)
+ </b>
+ <br/>
+ </xsl:for-each>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </tbody>
+</table>
+
+</xsl:template>
+</xsl:transform>
\ No newline at end of file
More information about the jbosstools-commits
mailing list