From: <ro...@us...> - 2009-01-23 12:40:19
|
Revision: 4901 http://openuss.svn.sourceforge.net/openuss/?rev=4901&view=rev Author: roekens Date: 2009-01-23 11:54:21 +0000 (Fri, 23 Jan 2009) Log Message: ----------- Initial commit of correlationTest composite application Added Paths: ----------- trunk/sandbox/CorrelationTestCA/Catalog.xml trunk/sandbox/CorrelationTestCA/build.xml trunk/sandbox/CorrelationTestCA/nbproject/ trunk/sandbox/CorrelationTestCA/nbproject/build-impl.xml trunk/sandbox/CorrelationTestCA/nbproject/genfiles.properties trunk/sandbox/CorrelationTestCA/nbproject/project.properties trunk/sandbox/CorrelationTestCA/nbproject/project.xml trunk/sandbox/CorrelationTestCA/src/ trunk/sandbox/CorrelationTestCA/src/conf/ trunk/sandbox/CorrelationTestCA/src/conf/AssemblyInformation.xml trunk/sandbox/CorrelationTestCA/src/conf/BindingComponentInformation.xml trunk/sandbox/CorrelationTestCA/src/conf/ComponentInformation.xml trunk/sandbox/CorrelationTestCA/src/conf/CorrelationTestCA.casa trunk/sandbox/CorrelationTestCA/src/conf/connections.xml trunk/sandbox/CorrelationTestCA/src/jbiasa/ trunk/sandbox/CorrelationTestCA/test/ trunk/sandbox/CorrelationTestCA/test/TestCase1/ trunk/sandbox/CorrelationTestCA/test/TestCase1/Concurrent.properties trunk/sandbox/CorrelationTestCA/test/TestCase1/Input.xml trunk/sandbox/CorrelationTestCA/test/TestCase1/Output.xml trunk/sandbox/CorrelationTestCA/test/selected-tests.properties Property Changed: ---------------- trunk/sandbox/CorrelationTestCA/ Property changes on: trunk/sandbox/CorrelationTestCA ___________________________________________________________________ Added: svn:ignore + build dist Added: trunk/sandbox/CorrelationTestCA/Catalog.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/Catalog.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/Catalog.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?><catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"><nextCatalog catalog="src/jbiServiceUnits/META-INF/CorrelationTest/catalog.xml"/> + +</catalog> \ No newline at end of file Added: trunk/sandbox/CorrelationTestCA/build.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/build.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/build.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- You may freely edit this file. See commented blocks below for --> +<!-- some examples of how to customize the build. --> +<!-- (If you delete it and reopen the project it will be recreated.) --> +<project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> + <description>Builds, tests, and runs the project .</description> + <import file="nbproject/build-impl.xml"/> + <!-- + + There exist several targets which are by default empty and which can be + used for execution of your tasks. These targets are usually executed + before and after some main targets. They are: + + pre-init: called before initialization of project properties + post-init: called after initialization of project properties + pre-compile: called before javac compilation + post-compile: called after javac compilation + pre-compile-single: called before javac compilation of single file + post-compile-single: called after javac compilation of single file + pre-dist: called before jar building + post-dist: called after jar building + post-clean: called after cleaning build products + + Example of pluging an obfuscator after the compilation could look like + + <target name="post-compile"> + <obfuscate> + <fileset dir="${build.classes.dir}"/> + </obfuscate> + </target> + + For list of available properties check the imported + nbproject/build-impl.xml file. + + + Other way how to customize the build is by overriding existing main targets. + The target of interest are: + + init-macrodef-javac: defines macro for javac compilation + init-macrodef-debug: defines macro for class debugging + do-dist: jar archive building + run: execution of project + javadoc-build: javadoc generation + + Example of overriding the target for project execution could look like + + <target name="run" depends="<PROJNAME>-impl.jar"> + <exec dir="bin" executable="launcher.exe"> + <arg file="${dist.jar}"/> + </exec> + </target> + + Notice that overridden target depends on jar target and not only on + compile target as regular run target does. Again, for list of available + properties which you can use check the target you are overriding in + nbproject/build-impl.xml file. + + --> + <target name="-check-netbeans-home"> + <condition property="no.netbeans.home"> + <not> + <isset property="netbeans.home"/> + </not> + </condition> + </target> + <target name="-init-caps" if="no.netbeans.home"> + <property file="${basedir}/nbproject/private/private.properties"/> + <property name="netbeans.home" value="${caps.netbeans.home}/platform9"/> + <property name="netbeans.user" value="${caps.netbeans.user}"/> + <property name="from.commandline" value="true"/> + </target> + <target name="pre-init" depends="-check-netbeans-home,-init-caps"/> +</project> Property changes on: trunk/sandbox/CorrelationTestCA/nbproject ___________________________________________________________________ Added: svn:ignore + private Added: trunk/sandbox/CorrelationTestCA/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/nbproject/build-impl.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/nbproject/build-impl.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,346 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** + + For the purpose of easier reading the script + is divided into following sections: + + - initialization + - compilation + - dist + - execution + - debugging + - cleanup + + --> +<project name="CorrelationTestCA-jbi-impl" default="build" basedir=".."> + <target name="default" depends="dist" description="Build whole project."/> + <!-- + INITIALIZATION SECTION + --> + <target name="pre-init"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="init-private" depends="pre-init"> + <property file="nbproject/private/private.properties"/> + </target> + <target name="init-userdir" depends="pre-init,init-private"> + <property name="user.properties.file" location="${netbeans.user}/build.properties"/> + </target> + <target name="init-user" depends="pre-init,init-private,init-userdir"> + <property file="${user.properties.file}"/> + </target> + <target name="init-project" depends="pre-init,init-private,init-userdir,init-user"> + <property file="nbproject/project.properties"/> + </target> + <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> + <!-- The two properties below are usually overridden --> + <!-- by the active platform. Just a fallback. --> + <property name="default.javac.source" value="1.4"/> + <property name="default.javac.target" value="1.4"/> + <condition property="have.tests"> + <or> + <available file="${test.dir}"/> + </or> + </condition> + <condition property="netbeans.home+have.tests"> + <and> + <isset property="netbeans.home"/> + <isset property="have.tests"/> + </and> + </condition> + </target> + <target name="post-init"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init"> + <fail unless="src.dir">Must set src.dir</fail> + <fail unless="build.dir">Must set build.dir</fail> + <fail unless="build.generated.dir">Must set build.generated.dir</fail> + <fail unless="dist.dir">Must set dist.dir</fail> + <fail unless="build.classes.dir">Must set build.classes.dir</fail> + <fail unless="dist.jar">Must set dist.jar</fail> + <fail unless="test.dir">Must set test.dir</fail> + </target> + <target name="-init-taskdefs" if="from.commandline"> + <path id="ant.task.classpath"> + <pathelement location="${soa.module.install.dir}/org-netbeans-modules-compapp-projects-jbi.jar"/> + <pathelement location="${soa.module.install.dir}/org-netbeans-modules-compapp-manager-jbi.jar"/> + <pathelement location="${soa.module.install.dir}/org-netbeans-soa-libs-xmlbeans.jar"/> + <pathelement location="${soa.module.install.dir}/ext/jbi/jbi-admin-common.jar"/> + <pathelement location="${soa.module.install.dir}/../ant/nblib/org-netbeans-modules-compapp-projects-jbi.jar"/> + <pathelement location="${netbeans.home}/lib/org-openide-util.jar"/> + <pathelement location="${netbeans.home}/lib/org-openide-modules.jar"/> + <pathelement location="${netbeans.home}/modules/org-openide-options.jar"/> + <pathelement location="${netbeans.home}/modules/org-openide-text.jar"/> + <pathelement location="${netbeans.home}/modules/org-openide-loaders.jar"/> + <pathelement location="${netbeans.home}/modules/org-openide-nodes.jar"/> + <pathelement location="${netbeans.home}/modules/org-openide-dialogs.jar"/> + <pathelement location="${netbeans.home}/core/org-openide-filesystems.jar"/> + <pathelement location="${ide.module.install.dir}/ext/xerces-2.8.0.jar"/> + <pathelement location="${ide.module.install.dir}/ext/xml-commons-dom-ranges-1.0.b2.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-retriever.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-schema-model.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-wsdl-model.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-xam.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-xml-text.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-editor.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-editor-lib.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-editor-util.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-projectapi.jar"/> + <pathelement location="${ide.module.install.dir}/org-netbeans-modules-classfile.jar"/> + <pathelement location="${ide.module.install.dir}/org-apache-xml-resolver.jar"/> + <pathelement location="${xml.module.install.dir}/org-netbeans-modules-xml-wsdl-extensions.jar"/> + <pathelement location="${ide.module.install.dir}/ext/jaxb/api/jaxb-api.jar"/> + <pathelement location="${ide.module.install.dir}/ext/jaxb/jaxb-impl.jar"/> + <pathelement location="${ide.module.install.dir}/ext/jaxb/activation.jar"/> + <pathelement location="${enterprise.module.install.dir}/org-netbeans-modules-j2eeserver.jar"/> + <pathelement location="${enterprise.module.install.dir}/ext/jsr88javax.jar"/> + </path> + <taskdef name="jbi-build-service-assembly" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.BuildServiceAssembly"> + <classpath refid="ant.task.classpath"/> + </taskdef> + <taskdef name="jbi-deploy-service-assembly" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.DeployServiceAssembly"> + <classpath refid="ant.task.classpath"/> + </taskdef> + <taskdef name="setup-debug-environment" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.SetUpDebugEnvironment"> + <classpath refid="ant.task.classpath"/> + </taskdef> + <taskdef name="teardown-debug-environment" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.TearDownDebugEnvironment"> + <classpath refid="ant.task.classpath"/> + </taskdef> + <taskdef name="jbi-javaee-dist" classname="org.netbeans.modules.compapp.projects.jbi.anttasks.BuildJavaEESU"> + <classpath refid="ant.task.classpath"/> + </taskdef> + </target> + <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,-init-taskdefs"/> + <!-- + COMPILATION SECTION + --> + <target name="deps-jar" depends="init" unless="${no.dependencies}"> + <ant target="dist_se" inheritall="false" antfile="${project.CorrelationTest}/build.xml"/> + <basename property="CorrelationTest.su.name" file="${project.CorrelationTest}"/> + <unzip src="${reference.CorrelationTest.dist_se}" dest="${src.dir}/../jbiServiceUnits/${CorrelationTest.su.name}"> + <patternset> + <include name="**/*.wsdl"/> + <include name="**/*.WSDL"/> + <include name="**/*.xsd"/> + <include name="**/*.XSD"/> + <include name="META-INF/jbi.xml"/> + <include name="META-INF/catalog.xml"/> + </patternset> + </unzip> + <property name="CorrelationTest.su.dir" value="${src.dir}/../jbiServiceUnits/${CorrelationTest.su.name}"/> + <move file="${CorrelationTest.su.dir}/META-INF/jbi.xml" todir="${CorrelationTest.su.dir}"/> + <move todir="${src.dir}/../jbiServiceUnits/META-INF/${CorrelationTest.su.name}"> + <fileset dir="${CorrelationTest.su.dir}/META-INF"/> + </move> + </target> + <target name="deps-javaee-jar" depends="init" unless="${no.dependencies}"/> + <target name="pre-pre-compile" depends="init,deps-jar"> + <mkdir dir="${build.classes.dir}"/> + </target> + <target name="pre-compile"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="library-inclusion-in-archive" depends="compile"> + <unjar dest="${build.classes.dir}" src="${reference.CorrelationTest.dist_se}"/> + </target> + <target name="library-inclusion-in-manifest" depends="compile"> + <basename property="included.lib.reference.CorrelationTest.dist_se" file="${reference.CorrelationTest.dist_se}"/> + <copy todir="${build.classes.dir}" file="${reference.CorrelationTest.dist_se}"/> + <manifest file="${build.classes.dir}/META-INF/MANIFEST.MF" mode="update"> + <attribute name="Class-Path" value="${included.lib.reference.CorrelationTest.dist_se}"/> + </manifest> + </target> + <target name="do-compile" depends="init,deps-jar,pre-pre-compile,pre-compile"/> + <target name="post-compile"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile" description="Compile project."/> + <target name="pre-compile-single"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="do-compile-single" depends="init,deps-jar,pre-pre-compile"> + <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> + </target> + <target name="post-compile-single"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="compile-single" depends="init,deps-jar,pre-pre-compile,pre-compile-single,do-compile-single,post-compile-single"/> + <!-- + DIST BUILDING SECTION + --> + <target name="jbi-build" depends="init,init-deploy,deps-jar, deps-javaee-jar" description="Build Service Assembly."> + <mkdir dir="${src.dir}"/> + <copy todir="${src.dir}/../jbiServiceUnits" overwrite="true"> + <fileset dir="${src.dir}"/> + </copy> + <mkdir dir="${build.dir}/META-INF"/> + <jar compress="true" jarfile="${build.dir}/BCDeployment.jar"> + <fileset dir="${src.dir}/../jbiServiceUnits"> + <exclude name="**/catalog.xml"/> + <exclude name="**/jbi.xml"/> + </fileset> + </jar> + <jbi-build-service-assembly/> + <delete file="${build.dir}/BCDeployment.jar"/> + <dirname property="dist.jar.dir" file="${dist.jar}"/> + <mkdir dir="${dist.jar.dir}"/> + <jar compress="${jar.compress}" jarfile="${dist.jar}" filesetmanifest="merge"> + <fileset dir="${build.dir}" excludes="jar/*"/> + </jar> + </target> + <target name="jbi-clean-build" depends="init,init-deploy,clean,jbi-build" description="Clean and Build Service Assembly."/> + <target name="dist" depends="jbi-build" description="Build distribution (JAR)."/> + <!-- + EXECUTION SECTION + --> + <target name="run" depends="jbi-build,run-jbi-deploy" description="Deploy to server."/> + <target name="init-deploy"> + <property name="include.jar.manifest" value=""/> + </target> + <target name="run-jbi-deploy" depends="jbi-build"> + <property name="j2ee.server.instance" value=""/> + <loadproperties srcFile="${basedir}/nbproject/private/private.properties"/> + <jbi-deploy-service-assembly serviceAssemblyID="${jbi.service-assembly.id}" serviceAssemblyLocation="${basedir}/${dist.jar}" netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/> + </target> + <target name="undeploy" depends="init"> + <property name="j2ee.server.instance" value=""/> + <loadproperties srcFile="${basedir}/nbproject/private/private.properties"/> + <jbi-deploy-service-assembly undeployServiceAssembly="true" serviceAssemblyID="${jbi.service-assembly.id}" serviceAssemblyLocation="${basedir}/${dist.jar}" netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/> + </target> + <target name="-pre-debug"> + <property name="inDebug" value="true"/> + <setup-debug-environment netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/> + </target> + <target name="-post-debug"> + <property name="inDebug" value="false"/> + <teardown-debug-environment netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/> + </target> + <!-- + DEBUGGING SECTION + --> + <target name="debug" description="Debug project in IDE." depends="run,-pre-debug" if="netbeans.home"/> + <target name="pre-debug-fix" depends="init"> + <fail unless="fix.includes">Must set fix.includes</fail> + <property name="javac.includes" value="${fix.includes}.java"/> + </target> + <target name="do-debug-fix" if="netbeans.home" depends="init,pre-debug-fix,compile-single"> + <j2seproject:nbjpdareload xmlns:j2seproject="http://www.netbeans.org/ns/j2se-project/1"/> + </target> + <target name="debug-fix" if="netbeans.home" depends="init,pre-debug-fix,do-debug-fix"/> + <!-- + CLEANUP SECTION + --> + <target name="deps-clean" depends="init" unless="${no.dependencies}"> + <ant target="clean" inheritall="false" antfile="${project.CorrelationTest}/build.xml"/> + </target> + <target name="do-clean" depends="init"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + <delete dir="${source.root}/jbiServiceUnits"/> + </target> + <target name="post-clean"> + <!-- Empty placeholder for easier customization. --> + <!-- You can override this target in the ../build.xml file. --> + </target> + <target name="clean" depends="init,deps-clean,do-clean,post-clean" description="Clean build products."/> + <target name="jbi-clean-config" depends="init,clear-casa,jbi-clean-build" description="Clean service assembly."/> + <target name="clear-casa"> + <delete file="${source.root}/conf/${jbi.service-assembly.id}.casa"/> + <delete file="${src.dir}/${jbi.service-assembly.id}.wsdl"/> + </target> + <!-- + JUNIT EXECUTION SECTION + ======================= + --> + <target name="-pre-test-run" if="have.tests" depends="init"> + <mkdir dir="${test.results.dir}"/> + <path id="unit.test.classpath"> + <pathelement path="${soa.module.install.dir}/org-netbeans-modules-compapp-manager-jbi.jar"/> + <pathelement path="${soa.module.install.dir}/org-netbeans-modules-compapp-projects-jbi.jar"/> + <pathelement path="${soa.module.install.dir}/ext/jbi/jbi-admin-common.jar"/> + <pathelement path="${soa.module.install.dir}/ext/jbi/catd.jar"/> + <pathelement path="${java.module.install.dir}/ext/junit-3.8.2.jar"/> + <pathelement path="${java.module.install.dir}/ext/jaxws21/api/saaj-api.jar"/> + <pathelement path="${java.module.install.dir}/ext/jaxws21/saaj-impl.jar"/> + <pathelement path="${java.module.install.dir}/ext/jaxws21/FastInfoset.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-lib.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-util.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-lib2.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-indent.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-plain.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-plain-lib.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-settings.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-editor-settings-storage.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-lexer.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-core.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-lexer.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-text.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-xdm.jar"/> + <pathelement path="${ide.module.install.dir}/org-netbeans-modules-xml-xam.jar"/> + <pathelement path="${ide.module.install.dir}/ext/jaxb/activation.jar"/> + <pathelement path="${netbeans.home}/lib/org-openide-modules.jar"/> + <pathelement path="${netbeans.home}/lib/org-openide-util.jar"/> + <pathelement path="${netbeans.home}/modules/org-openide-options.jar"/> + <pathelement path="${netbeans.home}/modules/org-openide-text.jar"/> + <pathelement path="${netbeans.home}/modules/org-openide-loaders.jar"/> + <pathelement path="${netbeans.home}/modules/org-openide-nodes.jar"/> + <pathelement path="${netbeans.home}/modules/org-netbeans-modules-editor-mimelookup.jar"/> + <pathelement path="${netbeans.home}/modules/org-netbeans-modules-editor-mimelookup-impl.jar"/> + <pathelement path="${netbeans.home}/core/org-openide-filesystems.jar"/> + </path> + </target> + <target name="-do-test-run" if="netbeans.home+have.tests" depends="init,-pre-test-run"> + <junit showoutput="true" fork="yes" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed"> + <classpath refid="unit.test.classpath"/> + <sysproperty key="NetBeansUserDir" value="${netbeans.user}"/> + <test name="org.netbeans.modules.compapp.catd.ConfiguredTest" haltonfailure="no" todir="${test.results.dir}"/> + <syspropertyset> + <propertyref prefix="test-sys-prop."/> + <mapper to="*" from="test-sys-prop.*" type="glob"/> + </syspropertyset> + <formatter usefile="false" type="brief"/> + <formatter type="xml"/> + </junit> + </target> + <target name="-do-single-test-run" if="netbeans.home+have.tests" depends="init,-pre-test-run"> + <junit showoutput="true" fork="yes" dir="${basedir}" failureproperty="tests.failed" errorproperty="tests.failed"> + <classpath refid="unit.test.classpath"/> + <sysproperty key="NetBeansUserDir" value="${netbeans.user}"/> + <sysproperty key="inDebug" value="${inDebug}"/> + <test name="org.netbeans.modules.compapp.catd.ConfiguredTest" haltonfailure="no" todir="${test.results.dir}"/> + <syspropertyset> + <propertyref prefix="test-sys-prop."/> + <mapper to="*" from="test-sys-prop.*" type="glob"/> + </syspropertyset> + <formatter usefile="false" type="brief"/> + <formatter type="xml"/> + </junit> + </target> + <target name="-post-test-run" if="have.tests" depends="init,-pre-test-run,-do-test-run"> + <fail if="tests.failed">Some tests failed; see details above.</fail> + </target> + <target name="-post-single-test-run" if="have.tests" depends="init,-pre-test-run,-do-single-test-run"> + <fail if="tests.failed">Some tests failed; see details above.</fail> + </target> + <target name="test-report" if="have.tests" depends="init"/> + <target name="-test-browse" if="netbeans.home+have.tests" depends="init"/> + <target name="test" depends="init,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/> + <target name="test-single" depends="init,-pre-test-run,-do-single-test-run,test-report,-post-single-test-run,-test-browse" description="Run unit tests."/> + <target name="debug-single" depends="init,-pre-test-run,-pre-debug,-do-single-test-run,-post-debug,test-report,-post-single-test-run,-test-browse" description="Debug unit tests."/> + <target name="-post-unit-test-run" if="have.tests+tests.failed" depends="init,-pre-test-run,-do-test-run"> + <echo>Some tests failed; see details above.</echo> + </target> + <target name="unit-test" depends="init,-pre-test-run,-do-test-run,test-report,-post-unit-test-run,-test-browse" description="Run unit tests in a batch."/> + <target name="jbi-unit-test" depends="run,unit-test,undeploy" description="build, deploy, test, and undeploy."/> +</project> Added: trunk/sandbox/CorrelationTestCA/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/CorrelationTestCA/nbproject/genfiles.properties (rev 0) +++ trunk/sandbox/CorrelationTestCA/nbproject/genfiles.properties 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,8 @@ +build.xml.data.CRC32=b306962b +build.xml.script.CRC32=152ee0d9 +build.xml.stylesheet.CRC32=fe0f5af2 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=b306962b +nbproject/build-impl.xml.script.CRC32=32559d2d +nbproject/build-impl.xml.stylesheet.CRC32=7b44c5c7 Added: trunk/sandbox/CorrelationTestCA/nbproject/project.properties =================================================================== --- trunk/sandbox/CorrelationTestCA/nbproject/project.properties (rev 0) +++ trunk/sandbox/CorrelationTestCA/nbproject/project.properties 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,43 @@ +build.classes.dir=${build.dir}/jar +build.classes.excludes=**/*.java,**/*.form,**/.nbattrs +build.dir=build +build.generated.dir=${build.dir}/generated +com.sun.jbi.routing=true +com.sun.jbi.sa.internal.routing=true +debug.classpath=${javac.classpath}:${build.classes.dir} +dist.dir=dist +dist.jar=${dist.dir}/CorrelationTestCA.zip +dist.javadoc.dir=${dist.dir}/javadoc +j2ee.platform=1.4 +jar.compress=false +javac.debug=true +javac.deprecation=false +javac.source=1.4 +javac.target=1.4 +javadoc.author=false +javadoc.encoding= +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.preview=true +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +jbi.content.additional=${reference.CorrelationTest.dist_se} +jbi.content.component=sun-bpel-engine +jbi.service-assembly.description=Represents the Service Assembly of CorrelationTestCA +jbi.service-assembly.id=CorrelationTestCA +jbi.service-unit.description=Represents this Service Unit +meta.inf=${source.root}/conf +platform.active=default_platform +project.CorrelationTest=../CorrelationTest +reference.CorrelationTest.dist_se=${project.CorrelationTest}/build/SEDeployment.jar +resource.CorrelationTest=${project.CorrelationTest}/setup +source.encoding=UTF-8 +source.root=src +src.build.dir=${source.root}/jbiServiceUnits +src.dir=${source.root}/jbiasa +test.dir=test +test.results.dir=${basedir}/test/results Added: trunk/sandbox/CorrelationTestCA/nbproject/project.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/nbproject/project.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/nbproject/project.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://www.netbeans.org/ns/project/1"> + <type>org.netbeans.modules.compapp.projects.jbi</type> + <configuration> + <data xmlns="http://www.netbeans.org/ns/j2ee-jbi/1"> + <name>CorrelationTestCA</name> + <minimum-ant-version>1.6</minimum-ant-version> + <included-library>reference.CorrelationTest.dist_se</included-library> + </data> + <references xmlns="http://www.netbeans.org/ns/ant-project-references/1"> + <reference> + <foreign-project>CorrelationTest</foreign-project> + <artifact-type>CAPS.asa:sun-bpel-engine</artifact-type> + <script>build.xml</script> + <target>dist_se</target> + <clean-target>clean</clean-target> + <id>dist_se</id> + </reference> + </references> + </configuration> +</project> Property changes on: trunk/sandbox/CorrelationTestCA/src ___________________________________________________________________ Added: svn:ignore + jbiServiceUnits Added: trunk/sandbox/CorrelationTestCA/src/conf/AssemblyInformation.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/src/conf/AssemblyInformation.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/src/conf/AssemblyInformation.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<jbi xmlns="http://java.sun.com/xml/ns/jbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/jbi ./jbi.xsd"> + <service-assembly> + <identification> + <name>CorrelationTestCA</name> + <description>Represents the Service Assembly of CorrelationTestCA</description> + </identification> + <service-unit> + <identification> + <name>CorrelationTestCA-CorrelationTest</name> + <description>Represents this Service Unit</description> + </identification> + <target> + <artifacts-zip>CorrelationTest.jar</artifacts-zip> + <component-name>sun-bpel-engine</component-name> + </target> + </service-unit> + <service-unit> + <identification> + <name>CorrelationTestCA-sun-file-binding</name> + <description>Represents this Service Unit</description> + </identification> + <target> + <artifacts-zip>sun-file-binding.jar</artifacts-zip> + <component-name>sun-file-binding</component-name> + </target> + </service-unit> + <service-unit> + <identification> + <name>CorrelationTestCA-sun-http-binding</name> + <description>Represents this Service Unit</description> + </identification> + <target> + <artifacts-zip>sun-http-binding.jar</artifacts-zip> + <component-name>sun-http-binding</component-name> + </target> + </service-unit> + <service-unit> + <identification> + <name>CorrelationTestCA-sun-jms-binding</name> + <description>Represents this Service Unit</description> + </identification> + <target> + <artifacts-zip>sun-jms-binding.jar</artifacts-zip> + <component-name>sun-jms-binding</component-name> + </target> + </service-unit> + </service-assembly> +</jbi> Added: trunk/sandbox/CorrelationTestCA/src/conf/BindingComponentInformation.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/src/conf/BindingComponentInformation.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/src/conf/BindingComponentInformation.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component-info-list> + <component-info> + <description>File Binding</description> + <name>sun-file-binding</name> + <state>Installed</state> + <type>Binding</type> + <xmlns>http://schemas.sun.com/jbi/wsdl-extensions/file/</xmlns> + </component-info> + <component-info> + <description>HTTP Soap Binding to send SOAP messages e.g. to and from BPEL service engine.</description> + <name>sun-http-binding</name> + <state>Installed</state> + <type>Binding</type> + <xmlns>http://schemas.xmlsoap.org/wsdl/http/</xmlns> + <xmlns>http://schemas.xmlsoap.org/wsdl/soap/</xmlns> + </component-info> + <component-info> + <description>JMS Binding</description> + <name>sun-jms-binding</name> + <state>Installed</state> + <type>Binding</type> + <xmlns>http://schemas.sun.com/jbi/wsdl-extensions/jms/</xmlns> + </component-info> +</component-info-list> Added: trunk/sandbox/CorrelationTestCA/src/conf/ComponentInformation.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/src/conf/ComponentInformation.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/src/conf/ComponentInformation.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component-info-list> + <component-info> + <description>File Binding</description> + <name>sun-file-binding</name> + <state>Installed</state> + <type>Binding</type> + </component-info> + <component-info> + <description>HTTP Soap Binding to send SOAP messages e.g. to and from BPEL service engine.</description> + <name>sun-http-binding</name> + <state>Installed</state> + <type>Binding</type> + </component-info> + <component-info> + <description>JMS Binding</description> + <name>sun-jms-binding</name> + <state>Installed</state> + <type>Binding</type> + </component-info> + <component-info> + <description>This is a bpel service engine.</description> + <name>sun-bpel-engine</name> + <state>Installed</state> + <type>Engine</type> + </component-info> + <component-info> + <description>Java EE service engine.</description> + <name>sun-javaee-engine</name> + <state>Installed</state> + <type>Engine</type> + </component-info> + <component-info> + <description>This is a sql service engine.</description> + <name>sun-sql-engine</name> + <state>Installed</state> + <type>Engine</type> + </component-info> + <component-info> + <description>This is a xslt service engine.</description> + <name>sun-xslt-engine</name> + <state>Installed</state> + <type>Engine</type> + </component-info> +</component-info-list> Added: trunk/sandbox/CorrelationTestCA/src/conf/CorrelationTestCA.casa =================================================================== --- trunk/sandbox/CorrelationTestCA/src/conf/CorrelationTestCA.casa (rev 0) +++ trunk/sandbox/CorrelationTestCA/src/conf/CorrelationTestCA.casa 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="http://j2ee.netbeans.org/wsdl/CorrelationProcess" xmlns:ns2="http://j2ee.netbeans.org/wsdl/CorrelationClient" xmlns:ns3="http://enterprise.netbeans.org/bpel/CorrelationTest/CorrelationClient" xmlns:ns4="http://enterprise.netbeans.org/bpel/CorrelationTest/CorrelationProcess" xmlns:xlink="http://www.w3.org/2000/xlink"> + <endpoints> + <endpoint endpoint-name="CorrelationProcessPortTypeBindingPort" interface-name="ns1:CorrelationProcessPortType" name="endpoint1" service-name="ns1:CorrelationProcessService"/> + <endpoint endpoint-name="CorrelationClientPortTypeBindingPort" interface-name="ns2:CorrelationClientPortType" name="endpoint2" service-name="ns2:CorrelationClientService"/> + <endpoint display-name="PartnerLink1" endpoint-name="CorrelationClientPortTypeRole_myRole" file-path="CorrelationClient.bpel" interface-name="ns2:CorrelationClientPortType" name="endpoint3" process-name="CorrelationClient" service-name="ns3:PartnerLink1"/> + <endpoint display-name="PartnerLink3" endpoint-name="CorrelationProcessPortTypeRole_myRole" file-path="CorrelationProcess.bpel" interface-name="ns1:CorrelationProcessPortType" name="endpoint4" process-name="CorrelationProcess" service-name="ns4:PartnerLink3"/> + <endpoint display-name="PartnerLink2" endpoint-name="CorrelationProcessPortTypeRole_partnerRole" file-path="CorrelationClient.bpel" interface-name="ns1:CorrelationProcessPortType" name="endpoint5" process-name="CorrelationClient" service-name="ns3:PartnerLink2"/> + <endpoint display-name="PartnerLink2" endpoint-name="CorrelationClientPortTypeRole_partnerRole" file-path="CorrelationProcess.bpel" interface-name="ns2:CorrelationClientPortType" name="endpoint6" process-name="CorrelationProcess" service-name="ns4:PartnerLink2"/> + </endpoints> + <service-units> + <service-engine-service-unit artifacts-zip="CorrelationTest.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CorrelationTestCA-CorrelationTest" unit-name="CorrelationTest" unknown="false" x="144" y="99"> + <provides endpoint="endpoint3"/> + <provides endpoint="endpoint4"/> + <consumes endpoint="endpoint5"/> + <consumes endpoint="endpoint6"/> + </service-engine-service-unit> + <binding-component-service-unit artifacts-zip="sun-http-binding.jar" component-name="sun-http-binding" description="Represents this Service Unit" name="CorrelationTestCA-sun-http-binding" unit-name="sun-http-binding"> + <ports> + <port x="67" y="303"> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationClient.wsdl#xpointer(/definitions/service[@name='CorrelationClientService']/port[@name='CorrelationClientPortTypeBindingPort'])" xlink:type="simple"/> + <consumes endpoint="endpoint2"/> + <provides endpoint="endpoint2"/> + </port> + <port x="67" y="39"> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationProcess.wsdl#xpointer(/definitions/service[@name='CorrelationProcessService']/port[@name='CorrelationProcessPortTypeBindingPort'])" xlink:type="simple"/> + <consumes endpoint="endpoint1"/> + <provides endpoint="endpoint1"/> + </port> + </ports> + </binding-component-service-unit> + </service-units> + <connections> + <connection consumer="endpoint2" provider="endpoint3" state="unchanged"/> + <connection consumer="endpoint1" provider="endpoint4" state="unchanged"/> + <connection consumer="endpoint5" provider="endpoint1" state="unchanged"> + <redelivery xmlns="http://www.sun.com/jbi/qos/redelivery" maxAttempts="20" waitTime="300"> + <on-failure> + <delete/> + </on-failure> + </redelivery> + </connection> + <connection consumer="endpoint6" provider="endpoint3" state="unchanged"/> + </connections> + <porttypes> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationClient.wsdl#xpointer(/definitions/portType[@name='CorrelationClientPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationProcess.wsdl#xpointer(/definitions/portType[@name='CorrelationProcessPortType'])" xlink:type="simple"/> + </porttypes> + <bindings> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationClient.wsdl#xpointer(/definitions/binding[@name='CorrelationClientPortTypeBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationProcess.wsdl#xpointer(/definitions/binding[@name='CorrelationProcessPortTypeBinding'])" xlink:type="simple"/> + </bindings> + <services> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationClient.wsdl#xpointer(/definitions/service[@name='CorrelationClientService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/CorrelationTest/CorrelationProcess.wsdl#xpointer(/definitions/service[@name='CorrelationProcessService'])" xlink:type="simple"/> + </services> + <regions> + <region name="WSDL Endpoints" width="150"/> + <region name="JBI Modules" width="500"/> + <region name="External Modules" width="200"/> + </regions> +</casa> Added: trunk/sandbox/CorrelationTestCA/src/conf/connections.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/src/conf/connections.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/src/conf/connections.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<jbi xmlns="http://java.sun.com/xml/ns/jbi" xmlns:ns1="http://j2ee.netbeans.org/wsdl/CorrelationClient" xmlns:ns2="http://enterprise.netbeans.org/bpel/CorrelationTest/CorrelationClient" xmlns:ns3="http://j2ee.netbeans.org/wsdl/CorrelationProcess" xmlns:ns4="http://enterprise.netbeans.org/bpel/CorrelationTest/CorrelationProcess" version="1.0"> + <service-assembly> + <identification> + <name>CorrelationTestCA</name> + <description>Represents the Service Assembly of CorrelationTestCA</description> + </identification> + <connections> + <connection> + <consumer endpoint-name="CorrelationClientPortTypeBindingPort" service-name="ns1:CorrelationClientService"/> + <provider endpoint-name="CorrelationClientPortTypeRole_myRole" service-name="ns2:PartnerLink1"/> + </connection> + <connection> + <consumer endpoint-name="CorrelationProcessPortTypeBindingPort" service-name="ns3:CorrelationProcessService"/> + <provider endpoint-name="CorrelationProcessPortTypeRole_myRole" service-name="ns4:PartnerLink3"/> + </connection> + <connection> + <consumer endpoint-name="CorrelationProcessPortTypeRole_partnerRole" service-name="ns2:PartnerLink2"/> + <provider endpoint-name="CorrelationProcessPortTypeBindingPort" service-name="ns3:CorrelationProcessService"/> + </connection> + <connection> + <consumer endpoint-name="CorrelationClientPortTypeRole_partnerRole" service-name="ns4:PartnerLink2"/> + <provider endpoint-name="CorrelationClientPortTypeRole_myRole" service-name="ns2:PartnerLink1"/> + </connection> + </connections> + <connections xmlns="http://www.sun.com/jbi/qos"> + <connection> + <consumer endpoint-name="CorrelationProcessPortTypeRole_partnerRole" service-name="ns2:PartnerLink2"/> + <provider endpoint-name="CorrelationProcessPortTypeBindingPort" service-name="ns3:CorrelationProcessService"/> + <redelivery xmlns="http://www.sun.com/jbi/qos/redelivery" maxAttempts="20" waitTime="300"> + <on-failure> + <delete/> + </on-failure> + </redelivery> + </connection> + </connections> + </service-assembly> +</jbi> Property changes on: trunk/sandbox/CorrelationTestCA/test ___________________________________________________________________ Added: svn:ignore + results Added: trunk/sandbox/CorrelationTestCA/test/TestCase1/Concurrent.properties =================================================================== --- trunk/sandbox/CorrelationTestCA/test/TestCase1/Concurrent.properties (rev 0) +++ trunk/sandbox/CorrelationTestCA/test/TestCase1/Concurrent.properties 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,13 @@ +calculatethroughput=false +#comparisontype's possible values: identical|binary|equals +comparisontype=identical +concurrentthreads=1 +description=testcase TestCase1 +destination=http://localhost:${HttpDefaultPort}/CorrelationClientService/CorrelationClientPortTypeBindingPort +#featurestatus's possible values: progress|done +featurestatus=done +inputfile=Input.xml +invokesperthread=1 +outputfile=Output.xml +soapaction= +testtimeout=30 Added: trunk/sandbox/CorrelationTestCA/test/TestCase1/Input.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/test/TestCase1/Input.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/test/TestCase1/Input.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,10 @@ +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cor="http://j2ee.netbeans.org/wsdl/CorrelationClient" xmlns:cor1="http://xml.netbeans.org/schema/CorrelationTest"> + <soapenv:Body> + <cor:CorrelationClientOperation> + <request> + <cor1:id>correlationId</cor1:id> + <cor1:param>parameter</cor1:param> + </request> + </cor:CorrelationClientOperation> + </soapenv:Body> +</soapenv:Envelope> \ No newline at end of file Added: trunk/sandbox/CorrelationTestCA/test/TestCase1/Output.xml =================================================================== --- trunk/sandbox/CorrelationTestCA/test/TestCase1/Output.xml (rev 0) +++ trunk/sandbox/CorrelationTestCA/test/TestCase1/Output.xml 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/"> + <SOAP-ENV:Body> + <SOAP-ENV:Fault> + <faultcode xmlns="">SOAP-ENV:Server</faultcode> + <faultstring xmlns="">BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}correlationViolation; Fault Data is null. Sending errors for the pending requests in the process scope before terminating the process instance</faultstring> + <faultactor xmlns="">sun-bpel-engine</faultactor> + <detail xmlns=""> + <detailText>BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}correlationViolation; Fault Data is null. Sending errors for the pending requests in the process scope before terminating the process instance</detailText> + </detail> + </SOAP-ENV:Fault> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope> Added: trunk/sandbox/CorrelationTestCA/test/selected-tests.properties =================================================================== --- trunk/sandbox/CorrelationTestCA/test/selected-tests.properties (rev 0) +++ trunk/sandbox/CorrelationTestCA/test/selected-tests.properties 2009-01-23 11:54:21 UTC (rev 4901) @@ -0,0 +1 @@ +testcases=TestCase1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |