You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by pz...@apache.org on 2006/06/01 11:28:27 UTC

svn commit: r410809 [1/10] - in /incubator/synapse/tags/M2: ./ bin/ etc/ modules/ modules/core/ modules/core/conf/ modules/core/src/ modules/core/src/org/ modules/core/src/org/apache/ modules/core/src/org/apache/synapse/ modules/core/src/org/apache/syn...

Author: pzf
Date: Thu Jun  1 02:28:13 2006
New Revision: 410809

URL: http://svn.apache.org/viewvc?rev=410809&view=rev
Log:
M2 tagged

Added:
    incubator/synapse/tags/M2/
    incubator/synapse/tags/M2/BUILDING.txt
    incubator/synapse/tags/M2/LICENSE.txt
    incubator/synapse/tags/M2/README.txt
    incubator/synapse/tags/M2/bin/
    incubator/synapse/tags/M2/bin/synapse.bat
    incubator/synapse/tags/M2/bin/synapse.sh
    incubator/synapse/tags/M2/bin/web.xml
    incubator/synapse/tags/M2/etc/
    incubator/synapse/tags/M2/etc/junit-frames.xsl
    incubator/synapse/tags/M2/etc/junit-noframes.xsl
    incubator/synapse/tags/M2/etc/maven.xml
    incubator/synapse/tags/M2/etc/project.properties
    incubator/synapse/tags/M2/etc/project.xml
    incubator/synapse/tags/M2/maven.xml
    incubator/synapse/tags/M2/modules/
    incubator/synapse/tags/M2/modules/core/
    incubator/synapse/tags/M2/modules/core/conf/
    incubator/synapse/tags/M2/modules/core/conf/log4j.properties
    incubator/synapse/tags/M2/modules/core/maven.xml
    incubator/synapse/tags/M2/modules/core/project.properties
    incubator/synapse/tags/M2/modules/core/project.xml
    incubator/synapse/tags/M2/modules/core/src/
    incubator/synapse/tags/M2/modules/core/src/org/
    incubator/synapse/tags/M2/modules/core/src/org/apache/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/Constants.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/HeaderType.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/MessageContext.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/SynapseException.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/Util.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/api/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/api/FilterMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/api/ListMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/api/Mediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/Endpoint.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/Extension.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/SynapseConfiguration.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/SynapseConfigurationBuilder.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/AbstractListMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/AbstractMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/ClassMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/Constants.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/DropMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/ExtensionFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/ExtensionFactoryFinder.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/FaultMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/FilterMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/HeaderMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/InMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/LogMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/MediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/MediatorFactoryFinder.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/MediatorPropertyFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/OutMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/PropertyMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/SendMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/SequenceMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/SwitchCaseDefaultMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/SwitchCaseMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/SwitchMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/SynapseMediatorFactory.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/config/xml/XMLConfigurationBuilder.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/SynapseEnvironment.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/Axis2FlexibleMEPClient.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/Axis2MessageContext.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/Axis2MessageContextFinder.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/Axis2Sender.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/Axis2SynapseEnvironment.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/DynamicAxisOperation.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/EmptyMessageReceiver.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/SynapseAxis2Interceptor.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/SynapseDispatcher.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/core/axis2/SynapseMessageReceiver.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/AbstractListMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/AbstractMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/GetPropertyFunction.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/MediatorProperty.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/base/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/base/SequenceMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/base/SynapseMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/builtin/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/builtin/DropMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/builtin/LogMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/builtin/PropertyMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/builtin/SendMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/ext/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/ext/ClassMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/filters/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/filters/FilterMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/filters/InMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/filters/OutMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/filters/SwitchCaseMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/filters/SwitchMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/transform/
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/transform/FaultMediator.java
    incubator/synapse/tags/M2/modules/core/src/org/apache/synapse/mediators/transform/HeaderMediator.java
    incubator/synapse/tags/M2/modules/core/test/
    incubator/synapse/tags/M2/modules/core/test-resources/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/conf/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/conf/axis2.xml
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/conf/synapse.xml
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/emptymediator/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/emptymediator/META-INF/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/emptymediator/META-INF/services.xml
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/synapse/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/synapse/META-INF/
    incubator/synapse/tags/M2/modules/core/test-resources/axis2/services/synapse/META-INF/services.xml
    incubator/synapse/tags/M2/modules/core/test-resources/misc/
    incubator/synapse/tags/M2/modules/core/test-resources/misc/transform.xslt
    incubator/synapse/tags/M2/modules/core/test-resources/misc/validate.xsd
    incubator/synapse/tags/M2/modules/core/test-resources/misc/validate2.xsd
    incubator/synapse/tags/M2/modules/core/test-resources/org/
    incubator/synapse/tags/M2/modules/core/test-resources/org/apache/
    incubator/synapse/tags/M2/modules/core/test-resources/org/apache/axis2/
    incubator/synapse/tags/M2/modules/core/test-resources/org/apache/axis2/META-INF/
    incubator/synapse/tags/M2/modules/core/test-resources/org/apache/axis2/META-INF/environmentaware-service.xml
    incubator/synapse/tags/M2/modules/core/test-resources/org/apache/axis2/META-INF/service-mediator.xml
    incubator/synapse/tags/M2/modules/core/test-resources/org/apache/axis2/META-INF/services.xml
    incubator/synapse/tags/M2/modules/core/test-resources/rest/
    incubator/synapse/tags/M2/modules/core/test-resources/rest/conf/
    incubator/synapse/tags/M2/modules/core/test-resources/rest/conf/axis2-rest.xml
    incubator/synapse/tags/M2/modules/core/test-resources/tcp/
    incubator/synapse/tags/M2/modules/core/test-resources/tcp/axis2-tcp.xml
    incubator/synapse/tags/M2/modules/core/test-resources/transformation/
    incubator/synapse/tags/M2/modules/core/test-resources/transformation/simple_transformation.xsl
    incubator/synapse/tags/M2/modules/core/test/org/
    incubator/synapse/tags/M2/modules/core/test/org/apache/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/TestMessageContext.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/TestMediateHandler.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/TestMediator.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/TestUtils.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/base/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/base/SequenceMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/builtin/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/builtin/DropMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/builtin/PropertyMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/ext/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/ext/ClassMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/ext/ClassMediatorTestMediator.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/filters/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/filters/FilterMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/filters/SwitchMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/transform/
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/transform/FaultMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/org/apache/synapse/mediators/transform/HeaderMediatorTest.java
    incubator/synapse/tags/M2/modules/core/test/rules/
    incubator/synapse/tags/M2/modules/core/test/rules/synapse-environmentaware.xml
    incubator/synapse/tags/M2/modules/core/test/rules/synapse-fault-return.xml
    incubator/synapse/tags/M2/modules/core/test/rules/synapse-httptcp.xml
    incubator/synapse/tags/M2/modules/core/test/rules/synapse-send.xml
    incubator/synapse/tags/M2/modules/core/test/rules/synapse-sendnow.xml
    incubator/synapse/tags/M2/modules/core/test/rules/synapse-sendon.xml
    incubator/synapse/tags/M2/modules/extensions/
    incubator/synapse/tags/M2/modules/extensions/maven.xml
    incubator/synapse/tags/M2/modules/extensions/project.xml
    incubator/synapse/tags/M2/modules/extensions/src/
    incubator/synapse/tags/M2/modules/extensions/src/META-INF/
    incubator/synapse/tags/M2/modules/extensions/src/META-INF/services/
    incubator/synapse/tags/M2/modules/extensions/src/META-INF/services/org.apache.synapse.config.xml.ExtensionFactory
    incubator/synapse/tags/M2/modules/extensions/src/META-INF/services/org.apache.synapse.config.xml.MediatorFactory
    incubator/synapse/tags/M2/modules/extensions/src/org/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/SpringConfigExtension.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/xml/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/xml/SpringConfigExtensionFactory.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/xml/SpringMediatorFactory.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/xml/TransformMediatorFactory.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/config/xml/ValidateMediatorFactory.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/ValidateMediator.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/ext/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/ext/spring/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/ext/spring/SpringMediator.java
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/transform/
    incubator/synapse/tags/M2/modules/extensions/src/org/apache/synapse/mediators/transform/TransformMediator.java
    incubator/synapse/tags/M2/modules/extensions/test/
    incubator/synapse/tags/M2/modules/extensions/test/org/
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/TestMediateHandler.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/TestMediator.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/TestMessageContext.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/TestUtils.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/TransformMediatorTest.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/ValidateMediatorTest.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/spring/
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/spring/SpringMediatorTest.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/spring/SpringTestBean.java
    incubator/synapse/tags/M2/modules/extensions/test/org/apache/synapse/spring/TestMediateHandlerImpl.java
    incubator/synapse/tags/M2/modules/mediators/
    incubator/synapse/tags/M2/modules/mediators/maven.xml
    incubator/synapse/tags/M2/modules/mediators/project.properties
    incubator/synapse/tags/M2/modules/mediators/project.xml
    incubator/synapse/tags/M2/modules/mediators/scripts/
    incubator/synapse/tags/M2/modules/mediators/scripts/deprecation_mediator/
    incubator/synapse/tags/M2/modules/mediators/scripts/deprecation_mediator/README.txt
    incubator/synapse/tags/M2/modules/mediators/scripts/deprecation_mediator/build.xml
    incubator/synapse/tags/M2/modules/mediators/scripts/deprecation_mediator/synapse.xml
    incubator/synapse/tags/M2/modules/mediators/scripts/sla_mediator/
    incubator/synapse/tags/M2/modules/mediators/scripts/sla_mediator/README.txt
    incubator/synapse/tags/M2/modules/mediators/scripts/sla_mediator/build.xml
    incubator/synapse/tags/M2/modules/mediators/scripts/sla_mediator/synapse.xml
    incubator/synapse/tags/M2/modules/mediators/src/
    incubator/synapse/tags/M2/modules/mediators/src/org/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/DeprecationConfiguration.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/DeprecationConfigurator.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/DeprecationConstants.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/DeprecationMediator.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/DeprecationRule.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/META-INF/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/META-INF/deprecation.xml
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/META-INF/services.xml
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/deprecation/README.txt
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/META-INF/
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/META-INF/services.xml
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/META-INF/sla.xml
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/README.txt
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/SLAConfigurator.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/SLAConstants.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/SLAMediator.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/SLAObject.java
    incubator/synapse/tags/M2/modules/mediators/src/org/apache/synapse/mediators/sla/SLAStack.java
    incubator/synapse/tags/M2/modules/samples/
    incubator/synapse/tags/M2/modules/samples/maven.xml
    incubator/synapse/tags/M2/modules/samples/project.properties
    incubator/synapse/tags/M2/modules/samples/project.xml
    incubator/synapse/tags/M2/modules/samples/scripts/
    incubator/synapse/tags/M2/modules/samples/scripts/userguide/
    incubator/synapse/tags/M2/modules/samples/scripts/userguide/README.txt
    incubator/synapse/tags/M2/modules/samples/scripts/userguide/build.xml
    incubator/synapse/tags/M2/modules/samples/scripts/userguide/custom.bat
    incubator/synapse/tags/M2/modules/samples/scripts/userguide/custom.sh
    incubator/synapse/tags/M2/modules/samples/src/
    incubator/synapse/tags/M2/modules/samples/src/samples/
    incubator/synapse/tags/M2/modules/samples/src/samples/config/
    incubator/synapse/tags/M2/modules/samples/src/samples/config/CustomHttpServer.java
    incubator/synapse/tags/M2/modules/samples/src/samples/config/SimpleStockQuoteClient.java
    incubator/synapse/tags/M2/modules/samples/src/samples/mediation/
    incubator/synapse/tags/M2/modules/samples/src/samples/mediation/AdvancedQuoteClient.java
    incubator/synapse/tags/M2/modules/samples/src/samples/mediation/CustomQuoteXMLHandler.java
    incubator/synapse/tags/M2/modules/samples/src/samples/mediation/CustomStockQuoteClient.java
    incubator/synapse/tags/M2/modules/samples/src/samples/userguide/
    incubator/synapse/tags/M2/modules/samples/src/samples/userguide/DumbStockQuoteClient.java
    incubator/synapse/tags/M2/modules/samples/src/samples/userguide/ProxyStockQuoteClient.java
    incubator/synapse/tags/M2/modules/samples/src/samples/userguide/StockQuoteClient.java
    incubator/synapse/tags/M2/modules/samples/src/samples/userguide/StockQuoteXMLHandler.java
    incubator/synapse/tags/M2/project.xml
    incubator/synapse/tags/M2/repository/
    incubator/synapse/tags/M2/repository/conf/
    incubator/synapse/tags/M2/repository/conf/axis2.xml
    incubator/synapse/tags/M2/repository/conf/sample/
    incubator/synapse/tags/M2/repository/conf/sample/axis2.xml
    incubator/synapse/tags/M2/repository/conf/sample/springsample.xml
    incubator/synapse/tags/M2/repository/conf/sample/synapse_sample_0.xml
    incubator/synapse/tags/M2/repository/conf/sample/synapse_sample_1.xml
    incubator/synapse/tags/M2/repository/conf/sample/synapse_sample_2.xml
    incubator/synapse/tags/M2/repository/conf/sample/synapse_spring_unittest.xml
    incubator/synapse/tags/M2/repository/conf/sample/transform.xslt
    incubator/synapse/tags/M2/repository/conf/sample/transform_back.xslt
    incubator/synapse/tags/M2/repository/conf/sample/validate.xsd
    incubator/synapse/tags/M2/repository/conf/synapse.xml
    incubator/synapse/tags/M2/repository/modules/
    incubator/synapse/tags/M2/repository/modules/addressing-1.0.mar   (with props)
    incubator/synapse/tags/M2/repository/services/
    incubator/synapse/tags/M2/repository/services/emptymediator/
    incubator/synapse/tags/M2/repository/services/emptymediator/META-INF/
    incubator/synapse/tags/M2/repository/services/emptymediator/META-INF/services.xml
    incubator/synapse/tags/M2/repository/services/synapse/
    incubator/synapse/tags/M2/repository/services/synapse/META-INF/
    incubator/synapse/tags/M2/repository/services/synapse/META-INF/services.xml
    incubator/synapse/tags/M2/xdocs/
    incubator/synapse/tags/M2/xdocs/download.cgi
    incubator/synapse/tags/M2/xdocs/download.html
    incubator/synapse/tags/M2/xdocs/download.xml
    incubator/synapse/tags/M2/xdocs/extending_synapse.html
    incubator/synapse/tags/M2/xdocs/getInvolved.html
    incubator/synapse/tags/M2/xdocs/index.xml
    incubator/synapse/tags/M2/xdocs/navigation.xml
    incubator/synapse/tags/M2/xdocs/svn.html
    incubator/synapse/tags/M2/xdocs/userguide.html

Added: incubator/synapse/tags/M2/BUILDING.txt
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/BUILDING.txt?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/BUILDING.txt (added)
+++ incubator/synapse/tags/M2/BUILDING.txt Thu Jun  1 02:28:13 2006
@@ -0,0 +1,32 @@
+Building Synapse from Source
+
+The Synapse source code is available at http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/
+
+To build Synapse, you will need JDK 1.4.x or 1.5.x., Maven and any of its dependencies.
+
+The Synapse distribution could be built with the maven target "dist-bin" as follows:
+
+maven clean dist-bin
+
+The binary would be available at target\dist
+
+Build the extensions after you perform a "dist-bin" and perform it using the "dist-extensions" target
+without specifying "clean", as follows:
+
+maven dist-extensions
+
+The binary would be available at target\dist
+
+Note:
+
+As the build process executes the unit test cases, you will need to set up your build environment to 
+support the extensions. 
+
+The Validate mediator depends on the Xerces 2.8.0 parser, and this should be installed into your
+JAVA/lib/endorsed directory. 
+(e.g. C:\jdk1.5.0_06\jre\lib\endorsed and may not be to C:\jdk1.5.0_06\lib\endorsed if you have the JRE)
+
+You will need the xml-apis.jar, and the xercesImpl.jar copied to the lib\endorsed directory at a mimimum.
+
+You may optionally ignore unit test failures with the "maven.test.failure.ignore" property. Refer to 
+http://maven.apache.org/maven-1.x/plugins/test/properties.html for more information.
\ No newline at end of file

Added: incubator/synapse/tags/M2/LICENSE.txt
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/LICENSE.txt?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/LICENSE.txt (added)
+++ incubator/synapse/tags/M2/LICENSE.txt Thu Jun  1 02:28:13 2006
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+

Added: incubator/synapse/tags/M2/README.txt
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/README.txt?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/README.txt (added)
+++ incubator/synapse/tags/M2/README.txt Thu Jun  1 02:28:13 2006
@@ -0,0 +1,64 @@
+======================================================
+Apache Synapse M2 build  (May, 2006)
+
+http://incubator.apache.org/synapse/
+------------------------------------------------------
+
+Synapse is an effort undergoing incubation at the Apache Software Foundation (ASF),
+sponsored by the Web Services PMC. Incubation is required of all newly accepted projects 
+until a further review indicates that the infrastructure, communications, and decision 
+making process have stabilized in a manner consistent with other successful ASF projects. 
+While incubation status is not necessarily a reflection of the completeness or stability 
+of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+
+-------------------
+Documentation
+===================
+ 
+Documentation can be found in the 'docs' directory included with the 
+binary distribution and in the 'xdocs' directory in the source 
+distribution. Documentation on samples are available in the samples directory.
+
+For examples on Synapse message mediation please see the User Guide
+(http://wiki.apache.org/ws/Synapse/UserGuide). 
+
+For more information on the Synapse Configuration language syntax and useage refer to
+the wiki page at http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage
+
+-------------------
+Getting Started
+===================
+
+Synapse is typically configured using a synapse.xml file in the repository directory. 
+In the binary distribution this is the <SYNAPSE>\synapse_repository directory, where
+<SYNAPSE> is the directory you installed SYNAPSE to. 
+
+You can start the sample Synapse configuration using the bin\synapse command (bat or sh)
+This will pick up the Synapse configuration at <SYNAPSE>\synapse_repository\conf\synapse.xml
+and the Axis2 configuration from <SYNAPSE>\synapse_repository\conf\axis2.xml
+
+More sample Synapse configurations could be found at <SYNAPSE>\synapse_respository\conf\sample.
+This directory contains sample XSLT transformations, XSD schemas for validation and resources
+required to demonstrate support for Spring beans, and programatic creation of a Synapse
+configuration in addition to sample Synapse configuration XML files. 
+
+The Synapse configuration language is specified at the Wiki page given below.
+http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage
+
+See the README.txt in the samples directory for more information about the samples.
+
+Support
+===================
+ 
+Any problem with this release can be reported to Synapse mailing list 
+or in the JIRA issue tracker.
+
+Mailing list subscription:
+    synapse-dev-subscribe@ws.apache.org
+
+Jira:
+    http://issues.apache.org/jira/browse/Synapse
+
+Thank you for using Synapse!
+
+The Synapse Team. 

Added: incubator/synapse/tags/M2/bin/synapse.bat
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/bin/synapse.bat?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/bin/synapse.bat (added)
+++ incubator/synapse/tags/M2/bin/synapse.bat Thu Jun  1 02:28:13 2006
@@ -0,0 +1,110 @@
+@echo off
+
+REM  Copyright 2001,2004-2005 The Apache Software Foundation
+REM
+REM  Licensed under the Apache License, Version 2.0 (the "License");
+REM  you may not use this file except in compliance with the License.
+REM  You may obtain a copy of the License at
+REM
+REM      http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM  Unless required by applicable law or agreed to in writing, software
+REM  distributed under the License is distributed on an "AS IS" BASIS,
+REM  WITHOUT WARRSYNAPSEIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM  See the License for the specific language governing permissions and
+REM  limitations under the License.
+
+if "%OS%"=="Windows_NT" @setlocal
+if "%OS%"=="WINNT" @setlocal
+
+rem %~dp0 is expanded pathname of the current script under NT
+set DEFAULT_SYNAPSE_HOME=%~dp0..
+
+if "%SYNAPSE_HOME%"=="" set SYNAPSE_HOME=%DEFAULT_SYNAPSE_HOME%
+set DEFAULT_SYNAPSE_HOME=
+
+set _USE_CLASSPATH=yes
+set _SYNAPSE_XML=
+
+rem Slurp the command line arguments. This loop allows for an unlimited number
+rem of arguments (up to the command line limit, anyway).
+if ""%1""==""-sample"" goto synapseSample
+
+set SYNAPSE_CMD_LINE_ARGS=%1
+if ""%1""=="""" goto doneStart
+shift
+
+:setupArgs
+if ""%1""=="""" goto doneStart
+if ""%1""==""-noclasspath"" goto clearclasspath
+set SYNAPSE_CMD_LINE_ARGS=%SYNAPSE_CMD_LINE_ARGS% %1
+shift
+goto setupArgs
+
+rem here is there is a -noclasspath in the options
+:clearclasspath
+set _USE_CLASSPATH=no
+shift
+goto setupArgs
+
+rem This label provides a place for the argument list loop to break out
+rem and for NT handling to skip to.
+
+:synapseSample
+shift
+set _SYNAPSE_XML=-Dsynapse.xml=%SYNAPSE_HOME%\synapse_repository\conf\sample\synapse_sample_%1.xml
+shift
+goto setupArgs
+
+:doneStart
+rem find SYNAPSE_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if exist "%SYNAPSE_HOME%\README.TXT" goto checkJava
+
+:noSYNAPSEHome
+echo SYNAPSE_HOME is set incorrectly or SYNAPSE could not be located. Please set SYNAPSE_HOME.
+goto end
+
+:checkJava
+set _JAVACMD=%JAVACMD%
+
+if "%JAVA_HOME%" == "" goto noJavaHome
+if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
+if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe
+if  "%SYNAPSE_CMD_LINE_ARGS%" == "" goto defaultParams
+
+goto runSynapse
+
+:defaultParams
+set SYNAPSE_CMD_LINE_ARGS=-p8080 %SYNAPSE_HOME%\synapse_repository
+goto runSynapse
+
+:noJavaHome
+if "%_JAVACMD%" == "" set _JAVACMD=java.exe
+
+:runSynapse
+rem set the classes by looping through the libs
+setlocal EnableDelayedExpansion
+set SYNAPSE_CLASS_PATH=%SYNAPSE_HOME%
+FOR %%C in (%SYNAPSE_HOME%\lib\*.jar) DO set SYNAPSE_CLASS_PATH=!SYNAPSE_CLASS_PATH!;%%~fC
+set SYNAPSE_CLASS_PATH=%SYNAPSE_HOME%\conf;%SYNAPSE_CLASS_PATH%
+
+rem if a sample configuration is not specified, use default
+if "%_SYNAPSE_XML%" == "" set _SYNAPSE_XML=-Dsynapse.xml=%SYNAPSE_HOME%\synapse_repository\conf\synapse.xml
+
+set SYNAPSE_ENDORSED=%SYNAPSE_HOME%\lib\endorsed;%JAVA_ENDORSED_DIRS%;%JAVA_HOME%\lib\endorsed
+
+@echo on
+cd %SYNAPSE_HOME%
+"%_JAVACMD%" %_SYNAPSE_XML% -Daxis2.xml=%SYNAPSE_HOME%\synapse_repository\conf\axis2.xml -Djava.endorsed.dirs=%SYNAPSE_ENDORSED% -cp %SYNAPSE_CLASS_PATH% org.apache.axis2.transport.http.SimpleHTTPServer %SYNAPSE_CMD_LINE_ARGS%
+goto end
+
+:end
+set _JAVACMD=
+set SYNAPSE_CMD_LINE_ARGS=
+
+if "%OS%"=="Windows_NT" @endlocal
+if "%OS%"=="WINNT" @endlocal
+
+:mainEnd
+

Added: incubator/synapse/tags/M2/bin/synapse.sh
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/bin/synapse.sh?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/bin/synapse.sh (added)
+++ incubator/synapse/tags/M2/bin/synapse.sh Thu Jun  1 02:28:13 2006
@@ -0,0 +1,102 @@
+#!/bin/sh
+# -----------------------------------------------------------------------------
+#
+# Environment Variable Prequisites
+#
+#   SYNAPSE_HOME   Home of Synapse installation. If not set I will  try
+#                   to figure it out.
+#
+#   JAVA_HOME       Must point at your Java Development Kit installation.
+#
+# NOTE: Borrowed generously from Apache Tomcat startup scripts.
+
+# if JAVA_HOME is not set we're not happy
+if [ -z "$JAVA_HOME" ]; then
+  echo "You must set the JAVA_HOME variable before running Tungsten."
+  exit 1
+fi
+
+# OS specific support.  $var _must_ be set to either true or false.
+cygwin=false
+os400=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+OS400*) os400=true;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '.*/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+# Get standard environment variables
+PRGDIR=`dirname "$PRG"`
+
+# Only set SYNAPSE_HOME if not already set
+[ -z "$SYNAPSE_HOME" ] && SYNAPSE_HOME=`cd "$PRGDIR/.." ; pwd`
+
+
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$SYNAPSE_HOME" ] && SYNAPSE_HOME=`cygpath --unix "$SYNAPSE_HOME"`
+  [ -n "$AXIS2_HOME" ] && TUNGSTEN_HOME=`cygpath --unix "$SYNAPSE_HOME"`
+  [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For OS400
+if $os400; then
+  # Set job priority to standard for interactive (interactive - 6) by using
+  # the interactive priority - 6, the helper threads that respond to requests
+  # will be running at the same priority as interactive jobs.
+  COMMAND='chgjob job('$JOBNAME') runpty(6)'
+  system $COMMAND
+
+  # Enable multi threading
+  export QIBM_MULTI_THREADED=Y
+fi
+
+# update classpath
+SYNAPSE_CLASSPATH=""
+for f in $SYNAPSE_HOME/lib/*.jar
+do
+  SYNAPSE_CLASSPATH=$SYNAPSE_CLASSPATH:$f
+done
+SYNAPSE_CLASSPATH=$JAVA_HOME/lib/tools.jar$SYNAPSE_CLASSPATH:$CLASSPATH
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
+  SYNAPSE_HOME=`cygpath --absolute --windows "$SYNAPSE_HOME"`
+  AXIS2_HOME=`cygpath --absolute --windows "$SYNAPSE_HOME"`
+  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
+fi
+# endorsed dir
+SYNAPSE_ENDORSED=$JAVA_HOME/lib/endorsed
+
+# synapse.xml
+SYNAPSE_XML=-Dsynapse.xml=$SYNAPSE_HOME/synapse_repository/conf/synapse.xml
+
+if [ "$1" == "-sample" ]; then
+SYNAPSE_XML=-Dsynapse.xml=$SYNAPSE_HOME/synapse_repository/conf/sample/synapse_sample_$2.xml
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+
+cd $SYNAPSE_HOME
+echo "Starting Synapse/Java ..."
+echo "Using SYNAPSE_HOME:    $SYNAPSE_HOME"
+echo "Using JAVA_HOME:       $JAVA_HOME"
+echo "Using SYNAPSE_XML:     $SYNAPSE_XML"
+
+$JAVA_HOME/bin/java $SYNAPSE_XML -Daxis2.xml=$SYNAPSE_HOME/synapse_repository/conf/axis2.xml -Djava.endorsed.dirs=$SYNAPSE_ENDORSED -classpath $SYNAPSE_CLASSPATH org.apache.axis2.transport.http.SimpleHTTPServer $SYNAPSE_HOME/synapse_repository -p8080

Added: incubator/synapse/tags/M2/bin/web.xml
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/bin/web.xml?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/bin/web.xml (added)
+++ incubator/synapse/tags/M2/bin/web.xml Thu Jun  1 02:28:13 2006
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+    <display-name>Apache-Axis2</display-name>
+    <servlet>
+        <servlet-name>AxisServlet</servlet-name>
+        <display-name>Apache-Axis Servlet</display-name>
+        <servlet-class>
+            org.apache.axis2.transport.http.AxisServlet</servlet-class>
+        <!--<init-param>-->
+        <!--<param-name>axis2.xml.path</param-name>-->
+        <!--<param-value>/WEB-INF/conf/axis2.xml</param-value>-->
+        <!--<param-name>axis2.xml.url</param-name>-->
+        <!--<param-value>http://localhot/myrepo/axis2.xml</param-value>-->
+        <!--<param-name>axis2.repository.path</param-name>-->
+        <!--<param-value>/WEB-INF</param-value>-->
+        <!--<param-name>axis2.repository.url</param-name>-->
+        <!--<param-value>http://localhot/myrepo</param-value>-->
+        <!--</init-param>-->
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet>
+        <servlet-name>AxisRESTServlet</servlet-name>
+        <display-name>Apache-Axis Servlet (REST)</display-name>
+        <servlet-class>
+            org.apache.axis2.transport.http.AxisRESTServlet</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>AxisAdminServlet</servlet-name>
+        <display-name>Apache-Axis AxisAdmin Servlet (REST)</display-name>
+        <servlet-class>
+            org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>AxisRESTServlet</servlet-name>
+        <url-pattern>/rest/*</url-pattern>
+    </servlet-mapping>
+
+
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>/servlet/AxisServlet</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>*.jws</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisServlet</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>AxisAdminServlet</servlet-name>
+        <url-pattern>/axis2-admin/*</url-pattern>
+    </servlet-mapping>
+
+   <welcome-file-list>
+      <welcome-file>/axis2-web/index.jsp</welcome-file>
+    </welcome-file-list>
+
+    <error-page>
+      <error-code>404</error-code>
+      <location>/axis2-web/Error/error404.jsp</location>
+    </error-page>
+
+    <error-page>
+        <error-code>500</error-code>
+        <location>/axis2-web/Error/error500.jsp</location>
+    </error-page>
+
+
+</web-app>

Added: incubator/synapse/tags/M2/etc/junit-frames.xsl
URL: http://svn.apache.org/viewvc/incubator/synapse/tags/M2/etc/junit-frames.xsl?rev=410809&view=auto
==============================================================================
--- incubator/synapse/tags/M2/etc/junit-frames.xsl (added)
+++ incubator/synapse/tags/M2/etc/junit-frames.xsl Thu Jun  1 02:28:13 2006
@@ -0,0 +1,725 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+    xmlns:lxslt="http://xml.apache.org/xslt"
+    xmlns:redirect="org.apache.xalan.lib.Redirect"
+    xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
+    extension-element-prefixes="redirect">
+<xsl:output method="html" indent="yes" encoding="US-ASCII"/>
+<xsl:decimal-format decimal-separator="." grouping-separator=","/>
+<!--
+Copyright 2001-2004 The Apache Software Foundation.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+ -->
+
+<!--
+
+ Sample stylesheet to be used with An JUnitReport output.
+
+ It creates a set of HTML files a la javadoc where you can browse easily
+ through all packages and classes.
+
+ @author Stephane Bailliez <a href="mailto:sbailliez@apache.org"/>
+ @author Erik Hatcher <a href="mailto:ehatcher@apache.org"/>
+ @author Martijn Kruithof <a href="mailto:martijn@kruithof.xs4all.nl"/>
+
+-->
+<xsl:param name="output.dir" select="'.'"/>
+
+
+<xsl:template match="testsuites">
+    <!-- create the index.html -->
+    <redirect:write file="{$output.dir}/index.html">
+        <xsl:call-template name="index.html"/>
+    </redirect:write>
+
+    <!-- create the stylesheet.css -->
+    <redirect:write file="{$output.dir}/stylesheet.css">
+        <xsl:call-template name="stylesheet.css"/>
+    </redirect:write>
+
+    <!-- create the overview-packages.html at the root -->
+    <redirect:write file="{$output.dir}/overview-summary.html">
+        <xsl:apply-templates select="." mode="overview.packages"/>
+    </redirect:write>
+
+    <!-- create the all-packages.html at the root -->
+    <redirect:write file="{$output.dir}/overview-frame.html">
+        <xsl:apply-templates select="." mode="all.packages"/>
+    </redirect:write>
+
+    <!-- create the all-classes.html at the root -->
+    <redirect:write file="{$output.dir}/allclasses-frame.html">
+        <xsl:apply-templates select="." mode="all.classes"/>
+    </redirect:write>
+
+    <!-- process all packages -->
+    <xsl:for-each select="./testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
+        <xsl:call-template name="package">
+            <xsl:with-param name="name" select="@package"/>
+        </xsl:call-template>
+    </xsl:for-each>
+</xsl:template>
+
+
+<xsl:template name="package">
+    <xsl:param name="name"/>
+    <xsl:variable name="package.dir">
+        <xsl:if test="not($name = '')"><xsl:value-of select="translate($name,'.','/')"/></xsl:if>
+        <xsl:if test="$name = ''">.</xsl:if>
+    </xsl:variable>
+    <!--Processing package <xsl:value-of select="@name"/> in <xsl:value-of select="$output.dir"/> -->
+    <!-- create a classes-list.html in the package directory -->
+    <redirect:write file="{$output.dir}/{$package.dir}/package-frame.html">
+        <xsl:call-template name="classes.list">
+            <xsl:with-param name="name" select="$name"/>
+        </xsl:call-template>
+    </redirect:write>
+
+    <!-- create a package-summary.html in the package directory -->
+    <redirect:write file="{$output.dir}/{$package.dir}/package-summary.html">
+        <xsl:call-template name="package.summary">
+            <xsl:with-param name="name" select="$name"/>
+        </xsl:call-template>
+    </redirect:write>
+
+    <!-- for each class, creates a @name.html -->
+    <!-- @bug there will be a problem with inner classes having the same name, it will be overwritten -->
+    <xsl:for-each select="/testsuites/testsuite[@package = $name]">
+        <redirect:write file="{$output.dir}/{$package.dir}/{@name}.html">
+            <xsl:apply-templates select="." mode="class.details"/>
+        </redirect:write>
+        <xsl:if test="string-length(./system-out)!=0">
+            <redirect:write file="{$output.dir}/{$package.dir}/{@name}-out.txt">
+                <xsl:value-of select="./system-out" />
+            </redirect:write>
+        </xsl:if>
+        <xsl:if test="string-length(./system-err)!=0">
+            <redirect:write file="{$output.dir}/{$package.dir}/{@name}-err.txt">
+                <xsl:value-of select="./system-err" />
+            </redirect:write>
+        </xsl:if>
+    </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="index.html">
+<html>
+    <head>
+        <title>Unit Test Results.</title>
+    </head>
+    <frameset cols="20%,80%">
+        <frameset rows="30%,70%">
+            <frame src="overview-frame.html" name="packageListFrame"/>
+            <frame src="allclasses-frame.html" name="classListFrame"/>
+        </frameset>
+        <frame src="overview-summary.html" name="classFrame"/>
+        <noframes>
+            <h2>Frame Alert</h2>
+            <p>
+                This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+            </p>
+        </noframes>
+    </frameset>
+</html>
+</xsl:template>
+
+<!-- this is the stylesheet css to use for nearly everything -->
+<xsl:template name="stylesheet.css">
+body {
+    font:normal 68% verdana,arial,helvetica;
+    color:#000000;
+}
+table tr td, table tr th {
+    font-size: 68%;
+}
+table.details tr th{
+    font-weight: bold;
+    text-align:left;
+    background:#a6caf0;
+}
+table.details tr td{
+    background:#eeeee0;
+}
+
+p {
+    line-height:1.5em;
+    margin-top:0.5em; margin-bottom:1.0em;
+}
+h1 {
+    margin: 0px 0px 5px; font: 165% verdana,arial,helvetica
+}
+h2 {
+    margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica
+}
+h3 {
+    margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica
+}
+h4 {
+    margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
+}
+h5 {
+    margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
+}
+h6 {
+    margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
+}
+.Error {
+    font-weight:bold; color:red;
+}
+.Failure {
+    font-weight:bold; color:purple;
+}
+.Properties {
+  text-align:right;
+}
+</xsl:template>
+
+
+<!-- ======================================================================
+    This page is created for every testsuite class.
+    It prints a summary of the testsuite and detailed information about
+    testcase methods.
+     ====================================================================== -->
+<xsl:template match="testsuite" mode="class.details">
+    <xsl:variable name="package.name" select="@package"/>
+    <xsl:variable name="class.name"><xsl:if test="not($package.name = '')"><xsl:value-of select="$package.name"/>.</xsl:if><xsl:value-of select="@name"/></xsl:variable>
+    <html>
+        <head>
+          <title>Unit Test Results: <xsl:value-of select="$class.name"/></title>
+            <xsl:call-template name="create.stylesheet.link">
+                <xsl:with-param name="package.name" select="$package.name"/>
+            </xsl:call-template>
+       <script type="text/javascript" language="JavaScript">
+        var TestCases = new Array();
+        var cur;
+        <xsl:apply-templates select="properties"/>
+       </script>
+       <script type="text/javascript" language="JavaScript"><![CDATA[
+        function displayProperties (name) {
+          var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
+          var doc = win.document.open();
+          doc.write("<html><head><title>Properties of " + name + "</title>");
+          doc.write("<style type=\"text/css\">");
+          doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
+          doc.write("table tr td, table tr th { font-size: 68%; }");
+          doc.write("table.properties { border-collapse:collapse; border-left:solid 1 #cccccc; border-top:solid 1 #cccccc; padding:5px; }");
+          doc.write("table.properties th { text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#eeeeee; }");
+          doc.write("table.properties td { font:normal; text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#fffffff; }");
+          doc.write("h3 { margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica }");
+          doc.write("</style>");
+          doc.write("</head><body>");
+          doc.write("<h3>Properties of " + name + "</h3>");
+          doc.write("<div align=\"right\"><a href=\"javascript:window.close();\">Close</a></div>");
+          doc.write("<table class='properties'>");
+          doc.write("<tr><th>Name</th><th>Value</th></tr>");
+          for (prop in TestCases[name]) {
+            doc.write("<tr><th>" + prop + "</th><td>" + TestCases[name][prop] + "</td></tr>");
+          }
+          doc.write("</table>");
+          doc.write("</body></html>");
+          doc.close();
+          win.focus();
+        }
+      ]]>
+      </script>
+        </head>
+        <body>
+            <xsl:call-template name="pageHeader"/>
+            <h3>Class <xsl:value-of select="$class.name"/></h3>
+
+
+            <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+                <xsl:call-template name="testsuite.test.header"/>
+                <xsl:apply-templates select="." mode="print.test"/>
+            </table>
+
+            <h2>Tests</h2>
+            <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+        <xsl:call-template name="testcase.test.header"/>
+              <!--
+              test can even not be started at all (failure to load the class)
+              so report the error directly
+              -->
+                <xsl:if test="./error">
+                    <tr class="Error">
+                        <td colspan="4"><xsl:apply-templates select="./error"/></td>
+                    </tr>
+                </xsl:if>
+                <xsl:apply-templates select="./testcase" mode="print.test"/>
+            </table>
+            <div class="Properties">
+                <a>
+                    <xsl:attribute name="href">javascript:displayProperties('<xsl:value-of select="@package"/>.<xsl:value-of select="@name"/>');</xsl:attribute>
+                    Properties &#187;
+                </a>
+            </div>
+            <xsl:if test="string-length(./system-out)!=0">
+                <div class="Properties">
+                    <a>
+                        <xsl:attribute name="href">./<xsl:value-of select="@name"/>-out.txt</xsl:attribute>
+                        System.out &#187;
+                    </a>
+                </div>
+            </xsl:if>
+            <xsl:if test="string-length(./system-err)!=0">
+                <div class="Properties">
+                    <a>
+                        <xsl:attribute name="href">./<xsl:value-of select="@name"/>-err.txt</xsl:attribute>
+                        System.err &#187;
+                    </a>
+                </div>
+            </xsl:if>
+        </body>
+    </html>
+</xsl:template>
+
+  <!--
+   Write properties into a JavaScript data structure.
+   This is based on the original idea by Erik Hatcher (ehatcher@apache.org)
+   -->
+  <xsl:template match="properties">
+    cur = TestCases['<xsl:value-of select="../@package"/>.<xsl:value-of select="../@name"/>'] = new Array();
+    <xsl:for-each select="property">
+    <xsl:sort select="@name"/>
+        cur['<xsl:value-of select="@name"/>'] = '<xsl:call-template name="JS-escape"><xsl:with-param name="string" select="@value"/></xsl:call-template>';
+    </xsl:for-each>
+  </xsl:template>
+
+
+<!-- ======================================================================
+    This page is created for every package.
+    It prints the name of all classes that belongs to this package.
+    @param name the package name to print classes.
+     ====================================================================== -->
+<!-- list of classes in a package -->
+<xsl:template name="classes.list">
+    <xsl:param name="name"/>
+    <html>
+        <head>
+            <title>Unit Test Classes: <xsl:value-of select="$name"/></title>
+            <xsl:call-template name="create.stylesheet.link">
+                <xsl:with-param name="package.name" select="$name"/>
+            </xsl:call-template>
+        </head>
+        <body>
+            <table width="100%">
+                <tr>
+                    <td nowrap="nowrap">
+                        <h2><a href="package-summary.html" target="classFrame">
+                            <xsl:value-of select="$name"/>
+                            <xsl:if test="$name = ''">&lt;none&gt;</xsl:if>
+                        </a></h2>
+                    </td>
+                </tr>
+            </table>
+
+            <h2>Classes</h2>
+            <table width="100%">
+                <xsl:for-each select="/testsuites/testsuite[./@package = $name]">
+                    <xsl:sort select="@name"/>
+                    <tr>
+                        <td nowrap="nowrap">
+                            <a href="{@name}.html" target="classFrame"><xsl:value-of select="@name"/></a>
+                        </td>
+                    </tr>
+                </xsl:for-each>
+            </table>
+        </body>
+    </html>
+</xsl:template>
+
+
+<!--
+    Creates an all-classes.html file that contains a link to all package-summary.html
+    on each class.
+-->
+<xsl:template match="testsuites" mode="all.classes">
+    <html>
+        <head>
+            <title>All Unit Test Classes</title>
+            <xsl:call-template name="create.stylesheet.link">
+                <xsl:with-param name="package.name"/>
+            </xsl:call-template>
+        </head>
+        <body>
+            <h2>Classes</h2>
+            <table width="100%">
+                <xsl:apply-templates select="testsuite" mode="all.classes">
+                    <xsl:sort select="@name"/>
+                </xsl:apply-templates>
+            </table>
+        </body>
+    </html>
+</xsl:template>
+
+<xsl:template match="testsuite" mode="all.classes">
+    <xsl:variable name="package.name" select="@package"/>
+    <tr>
+        <td nowrap="nowrap">
+            <a target="classFrame">
+                <xsl:attribute name="href">
+                    <xsl:if test="not($package.name='')">
+                        <xsl:value-of select="translate($package.name,'.','/')"/><xsl:text>/</xsl:text>
+                    </xsl:if><xsl:value-of select="@name"/><xsl:text>.html</xsl:text>
+                </xsl:attribute>
+                <xsl:value-of select="@name"/>
+            </a>
+        </td>
+    </tr>
+</xsl:template>
+
+
+<!--
+    Creates an html file that contains a link to all package-summary.html files on
+    each package existing on testsuites.
+    @bug there will be a problem here, I don't know yet how to handle unnamed package :(
+-->
+<xsl:template match="testsuites" mode="all.packages">
+    <html>
+        <head>
+            <title>All Unit Test Packages</title>
+            <xsl:call-template name="create.stylesheet.link">
+                <xsl:with-param name="package.name"/>
+            </xsl:call-template>
+        </head>
+        <body>
+            <h2><a href="overview-summary.html" target="classFrame">Home</a></h2>
+            <h2>Packages</h2>
+            <table width="100%">
+                <xsl:apply-templates select="testsuite[not(./@package = preceding-sibling::testsuite/@package)]" mode="all.packages">
+                    <xsl:sort select="@package"/>
+                </xsl:apply-templates>
+            </table>
+        </body>
+    </html>
+</xsl:template>
+
+<xsl:template match="testsuite" mode="all.packages">
+    <tr>
+        <td nowrap="nowrap">
+            <a href="./{translate(@package,'.','/')}/package-summary.html" target="classFrame">
+                <xsl:value-of select="@package"/>
+                <xsl:if test="@package = ''">&lt;none&gt;</xsl:if>
+            </a>
+        </td>
+    </tr>
+</xsl:template>
+
+
+<xsl:template match="testsuites" mode="overview.packages">
+    <html>
+        <head>
+            <title>Unit Test Results: Summary</title>
+            <xsl:call-template name="create.stylesheet.link">
+                <xsl:with-param name="package.name"/>
+            </xsl:call-template>
+        </head>
+        <body>
+        <xsl:attribute name="onload">open('allclasses-frame.html','classListFrame')</xsl:attribute>
+        <xsl:call-template name="pageHeader"/>
+        <h2>Summary</h2>
+        <xsl:variable name="testCount" select="sum(testsuite/@tests)"/>
+        <xsl:variable name="errorCount" select="sum(testsuite/@errors)"/>
+        <xsl:variable name="failureCount" select="sum(testsuite/@failures)"/>
+        <xsl:variable name="timeCount" select="sum(testsuite/@time)"/>
+        <xsl:variable name="successRate" select="($testCount - $failureCount - $errorCount) div $testCount"/>
+        <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+        <tr valign="top">
+            <th>Tests</th>
+            <th>Failures</th>
+            <th>Errors</th>
+            <th>Success rate</th>
+            <th>Time</th>
+        </tr>
+        <tr valign="top">
+            <xsl:attribute name="class">
+                <xsl:choose>
+                    <xsl:when test="$errorCount &gt; 0">Error</xsl:when>
+                    <xsl:when test="$failureCount &gt; 0">Failure</xsl:when>
+                    <xsl:otherwise>Pass</xsl:otherwise>
+                </xsl:choose>
+            </xsl:attribute>
+            <td><xsl:value-of select="$testCount"/></td>
+            <td><xsl:value-of select="$failureCount"/></td>
+            <td><xsl:value-of select="$errorCount"/></td>
+            <td>
+                <xsl:call-template name="display-percent">
+                    <xsl:with-param name="value" select="$successRate"/>
+                </xsl:call-template>
+            </td>
+            <td>
+                <xsl:call-template name="display-time">
+                    <xsl:with-param name="value" select="$timeCount"/>
+                </xsl:call-template>
+            </td>
+
+        </tr>
+        </table>
+        <table border="0" width="95%">
+        <tr>
+        <td style="text-align: justify;">
+        Note: <em>failures</em> are anticipated and checked for with assertions while <em>errors</em> are unanticipated.
+        </td>
+        </tr>
+        </table>
+
+        <h2>Packages</h2>
+        <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+            <xsl:call-template name="testsuite.test.header"/>
+            <xsl:for-each select="testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
+                <xsl:sort select="@package" order="ascending"/>
+                <!-- get the node set containing all testsuites that have the same package -->
+                <xsl:variable name="insamepackage" select="/testsuites/testsuite[./@package = current()/@package]"/>
+                <tr valign="top">
+                    <!-- display a failure if there is any failure/error in the package -->
+                    <xsl:attribute name="class">
+                        <xsl:choose>
+                            <xsl:when test="sum($insamepackage/@errors) &gt; 0">Error</xsl:when>
+                            <xsl:when test="sum($insamepackage/@failures) &gt; 0">Failure</xsl:when>
+                            <xsl:otherwise>Pass</xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:attribute>
+                    <td><a href="./{translate(@package,'.','/')}/package-summary.html">
+                        <xsl:value-of select="@package"/>
+                        <xsl:if test="@package = ''">&lt;none&gt;</xsl:if>
+                    </a></td>
+                    <td><xsl:value-of select="sum($insamepackage/@tests)"/></td>
+                    <td><xsl:value-of select="sum($insamepackage/@errors)"/></td>
+                    <td><xsl:value-of select="sum($insamepackage/@failures)"/></td>
+                    <td>
+                    <xsl:call-template name="display-time">
+                        <xsl:with-param name="value" select="sum($insamepackage/@time)"/>
+                    </xsl:call-template>
+                    </td>
+                </tr>
+            </xsl:for-each>
+        </table>
+        </body>
+        </html>
+</xsl:template>
+
+
+<xsl:template name="package.summary">
+    <xsl:param name="name"/>
+    <html>
+        <head>
+            <xsl:call-template name="create.stylesheet.link">
+                <xsl:with-param name="package.name" select="$name"/>
+            </xsl:call-template>
+        </head>
+        <body>
+            <xsl:attribute name="onload">open('package-frame.html','classListFrame')</xsl:attribute>
+            <xsl:call-template name="pageHeader"/>
+            <h3>Package <xsl:value-of select="$name"/></h3>
+
+            <!--table border="0" cellpadding="5" cellspacing="2" width="95%">
+                <xsl:call-template name="class.metrics.header"/>
+                <xsl:apply-templates select="." mode="print.metrics"/>
+            </table-->
+
+            <xsl:variable name="insamepackage" select="/testsuites/testsuite[./@package = $name]"/>
+            <xsl:if test="count($insamepackage) &gt; 0">
+                <h2>Classes</h2>
+                <p>
+                <table class="details" border="0" cellpadding="5" cellspacing="2" width="95%">
+                    <xsl:call-template name="testsuite.test.header"/>
+                    <xsl:apply-templates select="$insamepackage" mode="print.test">
+                        <xsl:sort select="@name"/>
+                    </xsl:apply-templates>
+                </table>
+                </p>
+            </xsl:if>
+        </body>
+    </html>
+</xsl:template>
+
+
+<!--
+    transform string like a.b.c to ../../../
+    @param path the path to transform into a descending directory path
+-->
+<xsl:template name="path">
+    <xsl:param name="path"/>
+    <xsl:if test="contains($path,'.')">
+        <xsl:text>../</xsl:text>
+        <xsl:call-template name="path">
+            <xsl:with-param name="path"><xsl:value-of select="substring-after($path,'.')"/></xsl:with-param>
+        </xsl:call-template>
+    </xsl:if>
+    <xsl:if test="not(contains($path,'.')) and not($path = '')">
+        <xsl:text>../</xsl:text>
+    </xsl:if>
+</xsl:template>
+
+
+<!-- create the link to the stylesheet based on the package name -->
+<xsl:template name="create.stylesheet.link">
+    <xsl:param name="package.name"/>
+    <link rel="stylesheet" type="text/css" title="Style"><xsl:attribute name="href"><xsl:if test="not($package.name = 'unnamed package')"><xsl:call-template name="path"><xsl:with-param name="path" select="$package.name"/></xsl:call-template></xsl:if>stylesheet.css</xsl:attribute></link>
+</xsl:template>
+
+
+<!-- Page HEADER -->
+<xsl:template name="pageHeader">
+    <h1>Unit Test Results</h1>
+    <table width="100%">
+    <tr>
+        <td align="left"></td>
+        <td align="right">Designed for use with <a href="http://www.junit.org/">JUnit</a> and <a href="http://jakarta.apache.org/">Ant</a>.</td>
+    </tr>
+    </table>
+    <hr size="1"/>
+</xsl:template>
+
+<!-- class header -->
+<xsl:template name="testsuite.test.header">
+    <tr valign="top">
+        <th width="80%">Name</th>
+        <th>Tests</th>
+        <th>Errors</th>
+        <th>Failures</th>
+        <th nowrap="nowrap">Time(s)</th>
+    </tr>
+</xsl:template>
+
+<!-- method header -->
+<xsl:template name="testcase.test.header">
+    <tr valign="top">
+        <th>Name</th>
+        <th>Status</th>
+        <th width="80%">Type</th>
+        <th nowrap="nowrap">Time(s)</th>
+    </tr>
+</xsl:template>
+
+
+<!-- class information -->
+<xsl:template match="testsuite" mode="print.test">
+    <tr valign="top">
+        <xsl:attribute name="class">
+            <xsl:choose>
+                <xsl:when test="@errors[.&gt; 0]">Error</xsl:when>
+                <xsl:when test="@failures[.&gt; 0]">Failure</xsl:when>
+                <xsl:otherwise>Pass</xsl:otherwise>
+            </xsl:choose>
+        </xsl:attribute>
+        <td><a href="{@name}.html"><xsl:value-of select="@name"/></a></td>
+        <td><xsl:apply-templates select="@tests"/></td>
+        <td><xsl:apply-templates select="@errors"/></td>
+        <td><xsl:apply-templates select="@failures"/></td>
+        <td><xsl:call-template name="display-time">
+                <xsl:with-param name="value" select="@time"/>
+            </xsl:call-template>
+        </td>
+    </tr>
+</xsl:template>
+
+<xsl:template match="testcase" mode="print.test">
+    <tr valign="top">
+        <xsl:attribute name="class">
+            <xsl:choose>
+                <xsl:when test="error">Error</xsl:when>
+                <xsl:when test="failure">Failure</xsl:when>
+                <xsl:otherwise>TableRowColor</xsl:otherwise>
+            </xsl:choose>
+        </xsl:attribute>
+        <td><xsl:value-of select="@name"/></td>
+        <xsl:choose>
+            <xsl:when test="failure">
+                <td>Failure</td>
+                <td><xsl:apply-templates select="failure"/></td>
+            </xsl:when>
+            <xsl:when test="error">
+                <td>Error</td>
+                <td><xsl:apply-templates select="error"/></td>
+            </xsl:when>
+            <xsl:otherwise>
+                <td>Success</td>
+                <td></td>
+            </xsl:otherwise>
+        </xsl:choose>
+        <td>
+            <xsl:call-template name="display-time">
+                <xsl:with-param name="value" select="@time"/>
+            </xsl:call-template>
+        </td>
+    </tr>
+</xsl:template>
+
+
+<!-- Note : the below template error and failure are the same style
+            so just call the same style store in the toolkit template -->
+<xsl:template match="failure">
+    <xsl:call-template name="display-failures"/>
+</xsl:template>
+
+<xsl:template match="error">
+    <xsl:call-template name="display-failures"/>
+</xsl:template>
+
+<!-- Style for the error and failure in the testcase template -->
+<xsl:template name="display-failures">
+    <xsl:choose>
+        <xsl:when test="not(@message)">N/A</xsl:when>
+        <xsl:otherwise>
+            <xsl:value-of select="@message"/>
+        </xsl:otherwise>
+    </xsl:choose>
+    <!-- display the stacktrace -->
+    <br/><br/>
+    <code>
+        <xsl:call-template name="br-replace">
+            <xsl:with-param name="word" select="."/>
+        </xsl:call-template>
+    </code>
+    <!-- the latter is better but might be problematic for non-21" monitors... -->
+    <!--pre><xsl:value-of select="."/></pre-->
+</xsl:template>
+
+<xsl:template name="JS-escape">
+    <xsl:param name="string"/>
+    <xsl:param name="tmp1" select="stringutils:replace(string($string),'\','\\')"/>
+    <xsl:param name="tmp2" select="stringutils:replace(string($tmp1),&quot;'&quot;,&quot;\&apos;&quot;)"/>
+    <xsl:value-of select="$tmp2"/>
+</xsl:template>
+
+<!--
+    template that will convert a carriage return into a br tag
+    @param word the text from which to convert CR to BR tag
+-->
+<xsl:template name="br-replace">
+    <xsl:param name="word"/>
+    <xsl:choose>
+        <xsl:when test="contains($word,'&#xA;')">
+            <xsl:value-of select="substring-before($word,'&#xA;')"/>
+            <br/>
+            <xsl:call-template name="br-replace">
+                <xsl:with-param name="word" select="substring-after($word,'&#xA;')"/>
+            </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:value-of select="$word"/>
+        </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template name="display-time">
+    <xsl:param name="value"/>
+    <xsl:value-of select="format-number($value,'0.000')"/>
+</xsl:template>
+
+<xsl:template name="display-percent">
+    <xsl:param name="value"/>
+    <xsl:value-of select="format-number($value,'0.00%')"/>
+</xsl:template>
+</xsl:stylesheet>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org