JBossWS SVN: r5535 - in framework/trunk/hudson/hudson-home/jobs: Native-ALL and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 15:34:20 -0500 (Thu, 24 Jan 2008)
New Revision: 5535
Modified:
framework/trunk/hudson/hudson-home/jobs/AS-Tests-ALL/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml
Log:
[JBWS-1962] fixes + adding build dependencies
Modified: framework/trunk/hudson/hudson-home/jobs/AS-Tests-ALL/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/AS-Tests-ALL/config.xml 2008-01-24 15:40:42 UTC (rev 5534)
+++ framework/trunk/hudson/hudson-home/jobs/AS-Tests-ALL/config.xml 2008-01-24 20:34:20 UTC (rev 5535)
@@ -3,7 +3,7 @@
<builders class="vector"/>
<publishers class="vector">
<hudson.tasks.BuildTrigger>
- <childProjects>AS-Tests-AS-4.2.1, AS-Tests-AS-4.2.2, AS-Tests-AS-4.2.3, AS-Tests-AS-5.0.0</childProjects>
+ <childProjects>AS-Tests-AS-4.2.1, AS-Tests-AS-4.2.2, AS-Tests-AS-4.2.3, AS-Tests-AS-5.0.0, TCK-1.4</childProjects>
</hudson.tasks.BuildTrigger>
</publishers>
<buildWrappers class="vector"/>
@@ -20,4 +20,4 @@
<properties/>
<description>Run all AS webservice testsuites agains jbossws-(a)version.id@</description>
<actions class="vector"/>
-</project>
\ No newline at end of file
+</project>
Modified: framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml 2008-01-24 15:40:42 UTC (rev 5534)
+++ framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml 2008-01-24 20:34:20 UTC (rev 5535)
@@ -6,8 +6,8 @@
<childProjects>
Native-Core-AS-4.0.5, Native-Core-AS-4.0.5-No-EJB3, Native-Core-AS-4.2.1, Native-Core-AS-4.2.2, Native-Core-AS-4.2.2-JDK6, Native-Core-AS-4.2.3, Native-Core-AS-4.2.3-JDK6, Native-Core-AS-5.0.0,
Native-Distro-AS-4.0.5, Native-Distro-AS-4.0.5-No-EJB3, Native-Distro-AS-4.2.1, Native-Distro-AS-4.2.2, Native-Distro-AS-4.2.2-JDK6, Native-Distro-AS-4.2.3, Native-Distro-AS-4.2.3-JDK6, Native-Distro-AS-5.0.0,
- Native-Integration-AS-4.0.5, Native-Integration-AS-4.0.5-No-EJB3, Native-Integration-AS-4.2.1, Native-Integration-AS-4.2.2, Native-Integration-AS-4.2.3, Native-Integration-AS-5.0.0
- Native-Tck14-Jaxr-AS-4.2.3 Native-Tck14-Jaxrpc-AS-4.2.3 Native-Tck14-Saaj-AS-4.2.3 Native-Tck14-Webservices-AS-4.2.3
+ Native-Integration-AS-4.0.5, Native-Integration-AS-4.0.5-No-EJB3, Native-Integration-AS-4.2.1, Native-Integration-AS-4.2.2, Native-Integration-AS-4.2.3, Native-Integration-AS-5.0.0,
+ Native-Tck14-Jaxr-AS-4.2.3, Native-Tck14-Jaxrpc-AS-4.2.3, Native-Tck14-Saaj-AS-4.2.3, Native-Tck14-Webservices-AS-4.2.3,
</childProjects>
</hudson.tasks.BuildTrigger>
</publishers>
16 years, 11 months
JBossWS SVN: r5534 - common/trunk/src/main/java/org/jboss/wsf/test.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 10:40:42 -0500 (Thu, 24 Jan 2008)
New Revision: 5534
Modified:
common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java
Log:
[JBWS-1962] fixing problem with not released file descriptors + added javadoc
Modified: common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java 2008-01-24 14:44:21 UTC (rev 5533)
+++ common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java 2008-01-24 15:40:42 UTC (rev 5534)
@@ -97,30 +97,52 @@
}
}
+ /**
+ * Converts TCK log to Junit report file
+ * @param pckg package of the test
+ * @param f TCK report file
+ * @throws IOException if some I/O problem occurs
+ */
private static void convertFile(String pckg, File f) throws IOException
{
BufferedReader reader = new BufferedReader(new FileReader(f));
StringBuilder sb = new StringBuilder();
- String line = reader.readLine();
- boolean passed = false;
- while (line != null)
+ boolean testPassed = false;
+ try
{
- if (line.trim().length() > 0)
+ String line = reader.readLine();
+ while (line != null)
{
+ if ((line.trim().length() > 0) && testPassed)
+ {
+ // TCK test passed if and only if the last line in log is 'test result: Passed'
+ testPassed = false;
+ }
sb.append(line);
sb.append("\n");
- passed = false;
+ if (line.indexOf("test result: Passed") != -1)
+ {
+ testPassed = true;
+ }
+ line = reader.readLine();
}
- if (line.indexOf("test result: Passed") != -1)
- {
- passed = true;
- }
- line = reader.readLine();
}
- createReport(sb.toString(), passed, pckg, f);
+ finally
+ {
+ reader.close();
+ }
+ createJunitReport(sb.toString(), testPassed, pckg, f);
}
- private static void createReport(String consoleOutput, boolean passed, String pckg, File file) throws IOException
+ /**
+ * Flushes Junit report to the file system
+ * @param consoleOutput TCK log
+ * @param passed indicates whether TCK test passed
+ * @param pckg test package
+ * @param file TCK log file
+ * @throws IOException if some I/O problem occurs
+ */
+ private static void createJunitReport(String consoleOutput, boolean passed, String pckg, File file) throws IOException
{
String fileName = file.getName().substring(0, file.getName().length() - 4);
StringBuilder sb = new StringBuilder();
@@ -133,11 +155,17 @@
sb.append(" <system-err><![CDATA[]]></system-err>" + nl);
sb.append("</testsuite>" + nl);
File junitReportFile = new File(junitReportDir, "TEST-" + pckg.replace('/', '.') + "." + fileName + ".xml");
- System.out.println("Creating JUnit report file " + junitReportFile.getAbsolutePath());
- FileOutputStream os = new FileOutputStream(junitReportFile);
- os.write(sb.toString().getBytes());
- os.flush();
- os.close();
+ System.out.println("Creating JUnit report file: " + junitReportFile.getAbsolutePath());
+ FileOutputStream os = null;
+ try
+ {
+ os = new FileOutputStream(junitReportFile);
+ os.write(sb.toString().getBytes());
+ }
+ finally
+ {
+ if (os != null) os.close();
+ }
}
private static String replace(String oldString, String newString, String data)
16 years, 11 months
JBossWS SVN: r5533 - in framework/trunk/hudson/hudson-home: jobs and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 09:44:21 -0500 (Thu, 24 Jan 2008)
New Revision: 5533
Added:
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxr-AS-4.2.3/
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxr-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxrpc-AS-4.2.3/
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxrpc-AS-4.2.3/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Webservices-AS-4.2.3/
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Webservices-AS-4.2.3/config.xml
Modified:
framework/trunk/hudson/hudson-home/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
Log:
[JBWS-1962] TCK 14 hudson jobs
Modified: framework/trunk/hudson/hudson-home/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/config.xml 2008-01-24 13:47:21 UTC (rev 5532)
+++ framework/trunk/hudson/hudson-home/config.xml 2008-01-24 14:44:21 UTC (rev 5533)
@@ -45,7 +45,7 @@
<![CDATA[
Run the JBossAS webservice testsuite.
<p/>
- Make sure you have sucessfuly build the <a href="/hudson/view/Target%20Container">Target Container</a>
+ Make sure you have sucessfuly build the <a href="/hudson/view/Target%20Container">Target Container</a> and TCK 14
]]>
</description>
</view>
@@ -78,6 +78,10 @@
<string>Native-Integration-AS-4.2.2</string>
<string>Native-Integration-AS-4.2.3</string>
<string>Native-Integration-AS-5.0.0</string>
+ <string>Native-Tck14-Jaxr-AS-4.2.3</string>
+ <string>Native-Tck14-Jaxrpc-AS-4.2.3</string>
+ <string>Native-Tck14-Saaj-AS-4.2.3</string>
+ <string>Native-Tck14-Webservices-AS-4.2.3</string>
</jobNames>
<name>Native Tests</name>
<description>
Modified: framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml 2008-01-24 13:47:21 UTC (rev 5532)
+++ framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml 2008-01-24 14:44:21 UTC (rev 5533)
@@ -7,6 +7,7 @@
Native-Core-AS-4.0.5, Native-Core-AS-4.0.5-No-EJB3, Native-Core-AS-4.2.1, Native-Core-AS-4.2.2, Native-Core-AS-4.2.2-JDK6, Native-Core-AS-4.2.3, Native-Core-AS-4.2.3-JDK6, Native-Core-AS-5.0.0,
Native-Distro-AS-4.0.5, Native-Distro-AS-4.0.5-No-EJB3, Native-Distro-AS-4.2.1, Native-Distro-AS-4.2.2, Native-Distro-AS-4.2.2-JDK6, Native-Distro-AS-4.2.3, Native-Distro-AS-4.2.3-JDK6, Native-Distro-AS-5.0.0,
Native-Integration-AS-4.0.5, Native-Integration-AS-4.0.5-No-EJB3, Native-Integration-AS-4.2.1, Native-Integration-AS-4.2.2, Native-Integration-AS-4.2.3, Native-Integration-AS-5.0.0
+ Native-Tck14-Jaxr-AS-4.2.3 Native-Tck14-Jaxrpc-AS-4.2.3 Native-Tck14-Saaj-AS-4.2.3 Native-Tck14-Webservices-AS-4.2.3
</childProjects>
</hudson.tasks.BuildTrigger>
</publishers>
Added: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxr-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxr-AS-4.2.3/config.xml (rev 0)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxr-AS-4.2.3/config.xml 2008-01-24 14:44:21 UTC (rev 5533)
@@ -0,0 +1,178 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=Native-Tck14-Jaxr-AS-4.2.3
+
+WORKSPACE=`pwd`
+FRAMEWORKDIR=$WORKSPACE/framework
+STACKNATIVE=$WORKSPACE/stack-native
+J2EERI14_INSTALL_FILE=j2eeri-1_4_1-fcs-bin-b05-linux-04_mar_2004.zip
+JBOSS_BINDADDR=(a)jboss.bind.address@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2.3/workspace/JBossAS-4.2.3/build/output/(a)hudson.jboss423.build@
+ENVIRONMENT="-Djboss.bind.address=(a)jboss.bind.address@ -Djbossws.integration.target=jboss423 -Djboss423.home=$JBOSS_INSTANCE"
+
+#
+# export environment variables needed by TCK14 tests
+#
+JBOSS_HOME=$JBOSS_INSTANCE
+TS_HOME=@hudson.home(a)/jobs/TCK-1.4/workspace/TCK-1.4
+J2EE_HOME=$WORKSPACE/j2eeri-1_4_1
+SUITE_HOME=$TS_HOME/src/com/sun/ts/tests/jaxr
+export JBOSS_HOME TS_HOME J2EE_HOME
+
+#
+# ensure TCK14 is available
+#
+if [ ! -d $TS_HOME ]
+then
+ echo "Missing TCK 14"
+ exit 1
+fi
+
+#
+# ensure JBOSS AS is available
+#
+if [ ! -d $JBOSS_HOME ]
+then
+ echo "Missing JBOSS AS"
+ exit 1
+fi
+
+#
+# prepare J2EE 1.4 RI
+#
+if [ ! -f $J2EERI14_INSTALL_FILE ]
+then
+ svn export https://svn.corp.jboss.com/repos/tck/j2ee14-tck-dist/trunk/$J2EERI14_INST...
+fi
+
+if [ -f $J2EERI14_INSTALL_FILE ]
+then
+ rm -rf $J2EE_HOME
+ unzip $J2EERI14_INSTALL_FILE
+else
+ echo "Missing J2EERI 14 installation file"
+ exit 1
+fi
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
+# delete old TCK reports
+#
+rm -rf $SUITE_HOME/JTwork
+rm -rf $SUITE_HOME/JTreport
+rm -rf $WORKSPACE/tckjunitreports
+
+#
+# build and deploy
+#
+cd $STACKNATIVE
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT -Dforce.thirdparty.get=true clean deploy-jboss423
+
+#
+# prepare TCK for use with jboss
+#
+pushd $TS_HOME/j2eetck-mods
+ant clean
+ant -Dnormic=true
+popd
+
+#
+# prepare J2EE RI for TCK
+#
+pushd $J2EE_HOME
+ant -f setup.xml setup
+popd
+
+#
+# prepare the cts config to run the tests with
+#
+pushd $TS_HOME/bin
+./tsant clean.vi
+./tsant config.vi
+popd
+
+#
+# start jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE tcsstart $JBOSS_BINDADDR
+
+#
+# wait 2 minutes
+#
+sleep 120s
+
+#
+# execute tests
+#
+pushd $SUITE_HOME
+$TS_HOME/bin/tsant runclient
+popd
+
+#
+# convert TCK14 reports to JUnit reports
+#
+$JAVA_HOME/bin/java \
+ -cp $STACKNATIVE/thirdparty/jbossws-common.jar \
+ org.jboss.wsf.test.TCK14ToJunitReportConverter \
+ $SUITE_HOME \
+ $WORKSPACE/tckjunitreports
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>tckjunitreports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.framework.url@</remote>
+ <local>framework</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.native.url@</remote>
+ <local>stack-native</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>20</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test TCK14 jaxr test suite against AS-4.2.3 with jbossws-(a)version.id@</description>
+ <actions class="vector"/>
+</project>
Property changes on: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxr-AS-4.2.3/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxrpc-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxrpc-AS-4.2.3/config.xml (rev 0)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxrpc-AS-4.2.3/config.xml 2008-01-24 14:44:21 UTC (rev 5533)
@@ -0,0 +1,178 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=Native-Tck14-Jaxrpc-AS-4.2.3
+
+WORKSPACE=`pwd`
+FRAMEWORKDIR=$WORKSPACE/framework
+STACKNATIVE=$WORKSPACE/stack-native
+J2EERI14_INSTALL_FILE=j2eeri-1_4_1-fcs-bin-b05-linux-04_mar_2004.zip
+JBOSS_BINDADDR=(a)jboss.bind.address@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2.3/workspace/JBossAS-4.2.3/build/output/(a)hudson.jboss423.build@
+ENVIRONMENT="-Djboss.bind.address=(a)jboss.bind.address@ -Djbossws.integration.target=jboss423 -Djboss423.home=$JBOSS_INSTANCE"
+
+#
+# export environment variables needed by TCK14 tests
+#
+JBOSS_HOME=$JBOSS_INSTANCE
+TS_HOME=@hudson.home(a)/jobs/TCK-1.4/workspace/TCK-1.4
+J2EE_HOME=$WORKSPACE/j2eeri-1_4_1
+SUITE_HOME=$TS_HOME/src/com/sun/ts/tests/jaxrpc
+export JBOSS_HOME TS_HOME J2EE_HOME
+
+#
+# ensure TCK14 is available
+#
+if [ ! -d $TS_HOME ]
+then
+ echo "Missing TCK 14"
+ exit 1
+fi
+
+#
+# ensure JBOSS AS is available
+#
+if [ ! -d $JBOSS_HOME ]
+then
+ echo "Missing JBOSS AS"
+ exit 1
+fi
+
+#
+# prepare J2EE 1.4 RI
+#
+if [ ! -f $J2EERI14_INSTALL_FILE ]
+then
+ svn export https://svn.corp.jboss.com/repos/tck/j2ee14-tck-dist/trunk/$J2EERI14_INST...
+fi
+
+if [ -f $J2EERI14_INSTALL_FILE ]
+then
+ rm -rf $J2EE_HOME
+ unzip $J2EERI14_INSTALL_FILE
+else
+ echo "Missing J2EERI 14 installation file"
+ exit 1
+fi
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
+# delete old TCK reports
+#
+rm -rf $SUITE_HOME/JTwork
+rm -rf $SUITE_HOME/JTreport
+rm -rf $WORKSPACE/tckjunitreports
+
+#
+# build and deploy
+#
+cd $STACKNATIVE
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT -Dforce.thirdparty.get=true clean deploy-jboss423
+
+#
+# prepare TCK for use with jboss
+#
+pushd $TS_HOME/j2eetck-mods
+ant clean
+ant -Dnormic=true
+popd
+
+#
+# prepare J2EE RI for TCK
+#
+pushd $J2EE_HOME
+ant -f setup.xml setup
+popd
+
+#
+# prepare the cts config to run the tests with
+#
+pushd $TS_HOME/bin
+./tsant clean.vi
+./tsant config.vi
+popd
+
+#
+# start jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE tcsstart $JBOSS_BINDADDR
+
+#
+# wait 2 minutes
+#
+sleep 120s
+
+#
+# execute tests
+#
+pushd $SUITE_HOME
+$TS_HOME/bin/tsant runclient
+popd
+
+#
+# convert TCK14 reports to JUnit reports
+#
+$JAVA_HOME/bin/java \
+ -cp $STACKNATIVE/thirdparty/jbossws-common.jar \
+ org.jboss.wsf.test.TCK14ToJunitReportConverter \
+ $SUITE_HOME \
+ $WORKSPACE/tckjunitreports
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>tckjunitreports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.framework.url@</remote>
+ <local>framework</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.native.url@</remote>
+ <local>stack-native</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>20</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test TCK14 jaxrpc test suite against AS-4.2.3 with jbossws-(a)version.id@</description>
+ <actions class="vector"/>
+</project>
Property changes on: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Jaxrpc-AS-4.2.3/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml 2008-01-24 13:47:21 UTC (rev 5532)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml 2008-01-24 14:44:21 UTC (rev 5533)
@@ -26,6 +26,24 @@
export JBOSS_HOME TS_HOME J2EE_HOME
#
+# ensure TCK14 is available
+#
+if [ ! -d $TS_HOME ]
+then
+ echo "Missing TCK 14"
+ exit 1
+fi
+
+#
+# ensure JBOSS AS is available
+#
+if [ ! -d $JBOSS_HOME ]
+then
+ echo "Missing JBOSS AS"
+ exit 1
+fi
+
+#
# prepare J2EE 1.4 RI
#
if [ ! -f $J2EERI14_INSTALL_FILE ]
@@ -43,17 +61,18 @@
fi
#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
# delete old TCK reports
#
rm -rf $SUITE_HOME/JTwork
rm -rf $SUITE_HOME/JTreport
+rm -rf $WORKSPACE/tckjunitreports
#
-# stop jbossas
-#
-$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
-
-#
# build and deploy
#
cd $STACKNATIVE
@@ -154,6 +173,6 @@
</logRotator>
<keepDependencies>false</keepDependencies>
<properties/>
- <description>Build and test jbossws-(a)version.id@ against TCK 14 on AS-4.2.3</description>
+ <description>Build and test TCK14 saaj test suite against AS-4.2.3 with jbossws-(a)version.id@</description>
<actions class="vector"/>
</project>
Added: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Webservices-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Webservices-AS-4.2.3/config.xml (rev 0)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Webservices-AS-4.2.3/config.xml 2008-01-24 14:44:21 UTC (rev 5533)
@@ -0,0 +1,178 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=Native-Tck14-Webservices-AS-4.2.3
+
+WORKSPACE=`pwd`
+FRAMEWORKDIR=$WORKSPACE/framework
+STACKNATIVE=$WORKSPACE/stack-native
+J2EERI14_INSTALL_FILE=j2eeri-1_4_1-fcs-bin-b05-linux-04_mar_2004.zip
+JBOSS_BINDADDR=(a)jboss.bind.address@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2.3/workspace/JBossAS-4.2.3/build/output/(a)hudson.jboss423.build@
+ENVIRONMENT="-Djboss.bind.address=(a)jboss.bind.address@ -Djbossws.integration.target=jboss423 -Djboss423.home=$JBOSS_INSTANCE"
+
+#
+# export environment variables needed by TCK14 tests
+#
+JBOSS_HOME=$JBOSS_INSTANCE
+TS_HOME=@hudson.home(a)/jobs/TCK-1.4/workspace/TCK-1.4
+J2EE_HOME=$WORKSPACE/j2eeri-1_4_1
+SUITE_HOME=$TS_HOME/src/com/sun/ts/tests/webservices
+export JBOSS_HOME TS_HOME J2EE_HOME
+
+#
+# ensure TCK14 is available
+#
+if [ ! -d $TS_HOME ]
+then
+ echo "Missing TCK 14"
+ exit 1
+fi
+
+#
+# ensure JBOSS AS is available
+#
+if [ ! -d $JBOSS_HOME ]
+then
+ echo "Missing JBOSS AS"
+ exit 1
+fi
+
+#
+# prepare J2EE 1.4 RI
+#
+if [ ! -f $J2EERI14_INSTALL_FILE ]
+then
+ svn export https://svn.corp.jboss.com/repos/tck/j2ee14-tck-dist/trunk/$J2EERI14_INST...
+fi
+
+if [ -f $J2EERI14_INSTALL_FILE ]
+then
+ rm -rf $J2EE_HOME
+ unzip $J2EERI14_INSTALL_FILE
+else
+ echo "Missing J2EERI 14 installation file"
+ exit 1
+fi
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
+# delete old TCK reports
+#
+rm -rf $SUITE_HOME/JTwork
+rm -rf $SUITE_HOME/JTreport
+rm -rf $WORKSPACE/tckjunitreports
+
+#
+# build and deploy
+#
+cd $STACKNATIVE
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT -Dforce.thirdparty.get=true clean deploy-jboss423
+
+#
+# prepare TCK for use with jboss
+#
+pushd $TS_HOME/j2eetck-mods
+ant clean
+ant -Dnormic=true
+popd
+
+#
+# prepare J2EE RI for TCK
+#
+pushd $J2EE_HOME
+ant -f setup.xml setup
+popd
+
+#
+# prepare the cts config to run the tests with
+#
+pushd $TS_HOME/bin
+./tsant clean.vi
+./tsant config.vi
+popd
+
+#
+# start jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE tcsstart $JBOSS_BINDADDR
+
+#
+# wait 2 minutes
+#
+sleep 120s
+
+#
+# execute tests
+#
+pushd $SUITE_HOME
+$TS_HOME/bin/tsant runclient
+popd
+
+#
+# convert TCK14 reports to JUnit reports
+#
+$JAVA_HOME/bin/java \
+ -cp $STACKNATIVE/thirdparty/jbossws-common.jar \
+ org.jboss.wsf.test.TCK14ToJunitReportConverter \
+ $SUITE_HOME \
+ $WORKSPACE/tckjunitreports
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>tckjunitreports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.framework.url@</remote>
+ <local>framework</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.native.url@</remote>
+ <local>stack-native</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>20</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test TCK14 webservices test suite against AS-4.2.3 with jbossws-(a)version.id@</description>
+ <actions class="vector"/>
+</project>
Property changes on: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Webservices-AS-4.2.3/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
16 years, 11 months
JBossWS SVN: r5532 - in framework/trunk: hudson/hudson-home/jobs and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 08:47:21 -0500 (Thu, 24 Jan 2008)
New Revision: 5532
Added:
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
Modified:
framework/trunk/ant.properties.example
Log:
[JBWS-1962] adding TCK14 SAAJ hudson job for AS 4.2.3
Modified: framework/trunk/ant.properties.example
===================================================================
--- framework/trunk/ant.properties.example 2008-01-24 12:58:52 UTC (rev 5531)
+++ framework/trunk/ant.properties.example 2008-01-24 13:47:21 UTC (rev 5532)
@@ -46,14 +46,14 @@
hudson.jboss423.build=jboss-4.2.3.GA
hudson.jboss423.rev=HEAD
+hudson.jboss500.url=https://svn.jboss.org/repos/jbossas/trunk
+hudson.jboss500.build=jboss-5.0.0.Beta4
+hudson.jboss500.rev=HEAD
+
hudson.tck14.url=https://svn.corp.jboss.com/repos/tck/tck141/trunk
hudson.tck14.build=tck141
hudson.tck14.rev=HEAD
-hudson.jboss500.url=https://svn.jboss.org/repos/jbossas/trunk
-hudson.jboss500.build=jboss-5.0.0.Beta4
-hudson.jboss500.rev=HEAD
-
hudson.mail.recipients=
hudson.smtp.host=localhost
Added: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml (rev 0)
+++ framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml 2008-01-24 13:47:21 UTC (rev 5532)
@@ -0,0 +1,159 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=Native-Tck14-Saaj-AS-4.2.3
+
+WORKSPACE=`pwd`
+FRAMEWORKDIR=$WORKSPACE/framework
+STACKNATIVE=$WORKSPACE/stack-native
+J2EERI14_INSTALL_FILE=j2eeri-1_4_1-fcs-bin-b05-linux-04_mar_2004.zip
+JBOSS_BINDADDR=(a)jboss.bind.address@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2.3/workspace/JBossAS-4.2.3/build/output/(a)hudson.jboss423.build@
+ENVIRONMENT="-Djboss.bind.address=(a)jboss.bind.address@ -Djbossws.integration.target=jboss423 -Djboss423.home=$JBOSS_INSTANCE"
+
+#
+# export environment variables needed by TCK14 tests
+#
+JBOSS_HOME=$JBOSS_INSTANCE
+TS_HOME=@hudson.home(a)/jobs/TCK-1.4/workspace/TCK-1.4
+J2EE_HOME=$WORKSPACE/j2eeri-1_4_1
+SUITE_HOME=$TS_HOME/src/com/sun/ts/tests/saaj
+export JBOSS_HOME TS_HOME J2EE_HOME
+
+#
+# prepare J2EE 1.4 RI
+#
+if [ ! -f $J2EERI14_INSTALL_FILE ]
+then
+ svn export https://svn.corp.jboss.com/repos/tck/j2ee14-tck-dist/trunk/$J2EERI14_INST...
+fi
+
+if [ -f $J2EERI14_INSTALL_FILE ]
+then
+ rm -rf $J2EE_HOME
+ unzip $J2EERI14_INSTALL_FILE
+else
+ echo "Missing J2EERI 14 installation file"
+ exit 1
+fi
+
+#
+# delete old TCK reports
+#
+rm -rf $SUITE_HOME/JTwork
+rm -rf $SUITE_HOME/JTreport
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
+# build and deploy
+#
+cd $STACKNATIVE
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT -Dforce.thirdparty.get=true clean deploy-jboss423
+
+#
+# prepare TCK for use with jboss
+#
+pushd $TS_HOME/j2eetck-mods
+ant clean
+ant -Dnormic=true
+popd
+
+#
+# prepare J2EE RI for TCK
+#
+pushd $J2EE_HOME
+ant -f setup.xml setup
+popd
+
+#
+# prepare the cts config to run the tests with
+#
+pushd $TS_HOME/bin
+./tsant clean.vi
+./tsant config.vi
+popd
+
+#
+# start jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE tcsstart $JBOSS_BINDADDR
+
+#
+# wait 2 minutes
+#
+sleep 120s
+
+#
+# execute tests
+#
+pushd $SUITE_HOME
+$TS_HOME/bin/tsant runclient
+popd
+
+#
+# convert TCK14 reports to JUnit reports
+#
+$JAVA_HOME/bin/java \
+ -cp $STACKNATIVE/thirdparty/jbossws-common.jar \
+ org.jboss.wsf.test.TCK14ToJunitReportConverter \
+ $SUITE_HOME \
+ $WORKSPACE/tckjunitreports
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>tckjunitreports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.framework.url@</remote>
+ <local>framework</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.native.url@</remote>
+ <local>stack-native</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>20</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-(a)version.id@ against TCK 14 on AS-4.2.3</description>
+ <actions class="vector"/>
+</project>
Property changes on: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
16 years, 11 months
JBossWS SVN: r5531 - framework/trunk/hudson/jboss/bin.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 07:58:52 -0500 (Thu, 24 Jan 2008)
New Revision: 5531
Modified:
framework/trunk/hudson/jboss/bin/jboss.sh
Log:
[JBWS-1962] adding TCK specific targets
Modified: framework/trunk/hudson/jboss/bin/jboss.sh
===================================================================
--- framework/trunk/hudson/jboss/bin/jboss.sh 2008-01-24 12:54:25 UTC (rev 5530)
+++ framework/trunk/hudson/jboss/bin/jboss.sh 2008-01-24 12:58:52 UTC (rev 5531)
@@ -44,10 +44,20 @@
$JBOSS_HOME/bin/shutdown.sh -S > /dev/null &
fi
;;
+tcsstart)
+ # This version of run.sh obtains the pid of the JVM and saves it as jboss.pid
+ # It relies on bash specific features
+ # Do you want to hide jboss output?
+ /bin/bash $DIRNAME/runjboss.sh -b $BINDADDR -c cts &
+ ;;
restart)
$0 stop
$0 start
;;
+tcsrestart)
+ $0 stop
+ $0 tcsstart
+ ;;
*)
- echo "usage: $0 jboss_instance (start|stop|restart|help)"
+ echo "usage: $0 jboss_instance (start|stop|tcsstart|restart|tcsrestart|help)"
esac
16 years, 11 months
JBossWS SVN: r5530 - common/trunk/src/main/java/org/jboss/wsf/test.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 07:54:25 -0500 (Thu, 24 Jan 2008)
New Revision: 5530
Added:
common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java
Log:
[JBWS-1962] adding TCK14 to JUnit report converter
Added: common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java (rev 0)
+++ common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java 2008-01-24 12:54:25 UTC (rev 5530)
@@ -0,0 +1,159 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.wsf.test;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileFilter;
+import java.io.FileOutputStream;
+import java.io.FileReader;
+import java.io.IOException;
+
+/**
+ * TCK Report to JUnit Report Converter Utility
+ *
+ * @author richard.opalka(a)jboss.com
+ *
+ * @since Jan 23, 2008
+ */
+public final class TCK14ToJunitReportConverter
+{
+
+ private static final FileFilter filter = new TCKReportFileFilter();
+ private static File junitReportDir = null;
+
+ private static final class TCKReportFileFilter implements FileFilter
+ {
+ public boolean accept(File f)
+ {
+ return f.isDirectory() ? true : f.getName().endsWith(".jtr");
+ }
+ }
+
+ public static void main(String[] args) throws IOException
+ {
+ if (args.length != 2)
+ {
+ throw new IllegalArgumentException();
+ }
+
+ File tckReportDir = new File(args[0]);
+ junitReportDir = new File(args[1]);
+ if (!tckReportDir.exists() && !tckReportDir.isDirectory())
+ {
+ throw new IllegalArgumentException("TCK report directory '" + tckReportDir.getAbsolutePath() + "' doesn't exist or is not directory");
+ }
+ if (!junitReportDir.mkdir() || (!junitReportDir.exists() && !junitReportDir.isDirectory()))
+ {
+ throw new IllegalArgumentException("JUnit report Directory '" + junitReportDir.getAbsolutePath() + "' doesn't exist or is not directory");
+ }
+
+ File[] files = tckReportDir.listFiles(filter);
+ for (File f : files)
+ {
+ if (f.isDirectory())
+ {
+ convertDirectory("", f);
+ }
+ else
+ {
+ convertFile("", f);
+ }
+ }
+ }
+
+ private static void convertDirectory(String pckg, File dir) throws IOException
+ {
+ File[] files = dir.listFiles(filter);
+ for (File f : files)
+ {
+ if (f.isDirectory())
+ {
+ convertDirectory((pckg.length() == 0 ? "" : (pckg + "/")) + f.getName(), f);
+ }
+ else
+ {
+ convertFile(pckg, f);
+ }
+ }
+ }
+
+ private static void convertFile(String pckg, File f) throws IOException
+ {
+ BufferedReader reader = new BufferedReader(new FileReader(f));
+ StringBuilder sb = new StringBuilder();
+ String line = reader.readLine();
+ boolean passed = false;
+ while (line != null)
+ {
+ if (line.trim().length() > 0)
+ {
+ sb.append(line);
+ sb.append("\n");
+ passed = false;
+ }
+ if (line.indexOf("test result: Passed") != -1)
+ {
+ passed = true;
+ }
+ line = reader.readLine();
+ }
+ createReport(sb.toString(), passed, pckg, f);
+ }
+
+ private static void createReport(String consoleOutput, boolean passed, String pckg, File file) throws IOException
+ {
+ String fileName = file.getName().substring(0, file.getName().length() - 4);
+ StringBuilder sb = new StringBuilder();
+ String nl = "\n";
+ sb.append("<?xml version='1.0' encoding='UTF-8'?>" + nl);
+ sb.append("<testsuite errors='0' failures='" + (passed ? 0 : 1) + "' name='" + pckg.replace('/', '.') + "." + fileName + "' tests='1' time='1'>" + nl);
+ sb.append(" <properties/>" + nl);
+ sb.append(" <testcase classname='" + pckg.replace('/', '.') + "' name='" + fileName + "' time='1'/>" + nl);
+ sb.append(" <system-out><![CDATA[" + replace("]]>", "] ]>", consoleOutput) + "]]></system-out>" + nl);
+ sb.append(" <system-err><![CDATA[]]></system-err>" + nl);
+ sb.append("</testsuite>" + nl);
+ File junitReportFile = new File(junitReportDir, "TEST-" + pckg.replace('/', '.') + "." + fileName + ".xml");
+ System.out.println("Creating JUnit report file " + junitReportFile.getAbsolutePath());
+ FileOutputStream os = new FileOutputStream(junitReportFile);
+ os.write(sb.toString().getBytes());
+ os.flush();
+ os.close();
+ }
+
+ private static String replace(String oldString, String newString, String data)
+ {
+ int fromIndex = 0;
+ int index = 0;
+ StringBuilder result = new StringBuilder();
+
+ while ((index = data.indexOf(oldString, fromIndex)) >= 0)
+ {
+ result.append(data.substring(fromIndex, index));
+ result.append(newString);
+ fromIndex = index + oldString.length();
+ }
+ result.append(data.substring(fromIndex));
+ return result.toString();
+ }
+
+}
Property changes on: common/trunk/src/main/java/org/jboss/wsf/test/TCK14ToJunitReportConverter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
16 years, 11 months
JBossWS SVN: r5529 - stack/native/trunk.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-01-24 04:34:37 -0500 (Thu, 24 Jan 2008)
New Revision: 5529
Modified:
stack/native/trunk/version.properties
Log:
fixing hudson regression - 2.2.2.SP4 replaced with 2.2.2.SP4-brew
Modified: stack/native/trunk/version.properties
===================================================================
--- stack/native/trunk/version.properties 2008-01-24 08:37:32 UTC (rev 5528)
+++ stack/native/trunk/version.properties 2008-01-24 09:34:37 UTC (rev 5529)
@@ -32,11 +32,11 @@
# JBossAS-5.0
jboss-jbossxb-jboss50=2.0.0.CR5
-jboss-remoting-jboss50=2.2.2.SP4
+jboss-remoting-jboss50=2.2.2.SP4-brew
# JBossAS-4.2
jboss-jbossxb-jboss42=1.0.0.SP1
-jboss-remoting-jboss42=2.2.2.SP4
+jboss-remoting-jboss42=2.2.2.SP4-brew
# JBossAS-4.0
jboss-jbossxb-jboss40=1.0.0.CR11
16 years, 11 months
JBossWS SVN: r5527 - stack/native/tags.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-01-24 03:28:46 -0500 (Thu, 24 Jan 2008)
New Revision: 5527
Added:
stack/native/tags/jbossws-native-2.0.3.GA/
Log:
Tag 2.0.3GA
Copied: stack/native/tags/jbossws-native-2.0.3.GA (from rev 5526, stack/native/branches/jbossws-native-2.0.3.QA)
16 years, 11 months
JBossWS SVN: r5526 - stack/native/branches/jbossws-native-2.0.3.QA.
by jbossws-commits@lists.jboss.org
Author: heiko.braun(a)jboss.com
Date: 2008-01-24 03:23:05 -0500 (Thu, 24 Jan 2008)
New Revision: 5526
Modified:
stack/native/branches/jbossws-native-2.0.3.QA/version.properties
Log:
2.0.3.GA
Modified: stack/native/branches/jbossws-native-2.0.3.QA/version.properties
===================================================================
--- stack/native/branches/jbossws-native-2.0.3.QA/version.properties 2008-01-23 15:49:19 UTC (rev 5525)
+++ stack/native/branches/jbossws-native-2.0.3.QA/version.properties 2008-01-24 08:23:05 UTC (rev 5526)
@@ -5,8 +5,8 @@
specification.vendor=JBoss (http://www.jboss.org)
specification.version=jbossws-2.0
-version.id=2.0.3.QA
-repository.id=snapshot
+version.id=2.0.3.GA
+repository.id=2.0.3.GA
implementation.title=JBoss Web Services - Native
implementation.url=http://www.jboss.org/products/jbossws
16 years, 11 months