You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2009/02/17 23:06:26 UTC

svn commit: r745271 [1/19] - in /ode/branches/APACHE_ODE_1.X: ./ axis2-war/src/main/webapp/ axis2-war/src/main/webapp/WEB-INF/ axis2-war/src/main/webapp/WEB-INF/classes/ axis2-war/src/main/webapp/WEB-INF/conf.hib-derby/ axis2-war/src/main/webapp/WEB-IN...

Author: midon
Date: Tue Feb 17 22:06:18 2009
New Revision: 745271

URL: http://svn.apache.org/viewvc?rev=745271&view=rev
Log:
ODE-520: replace CRLF and TAB

Modified:
    ode/branches/APACHE_ODE_1.X/Rakefile
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/WEB-INF/classes/log4j.properties
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/WEB-INF/conf.hib-derby/axis2.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/WEB-INF/conf.jpa-derby/axis2.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/WEB-INF/conf.template/axis2.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/WEB-INF/conf/axis2.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/WEB-INF/web.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/css/SyntaxHighlighter.css
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/css/global.css
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/css/reset.css
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/css/style.css
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/deployment.html
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/fileupload.jsp
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/index.html
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/instances.html
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/DeploymentService.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/InstanceManagementAPI.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/ODE.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/ProcessManagementAPI.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/bubbling/accordion.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/bubbling/assets/accordion.css
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/bubbling/bubbling.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/yui/animation.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/yui/button.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/yui/container.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/yui/element-beta.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/js/yui/tabview.js
    ode/branches/APACHE_ODE_1.X/axis2-war/src/main/webapp/processes.html
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/BpelActivityTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointConfigurationTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/EndpointTimeoutsTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/MessageStructureTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/ODEConfigDirAware.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/ServiceFaultCatchTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/SoapHeaderTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/XSDReferencesDeployTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinHibTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinLazyHibTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinLazyTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationMultiHibTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationMultiTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/httpbinding/HttpBindingTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureHibTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultHibTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessHibTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanTestBase.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/HibDaoConnectionFactoryImpl.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/JpaDaoConnectionFactoryImpl.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/ProfilingBpelDAOConnection.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/DeploymentTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/axis2/management/RetireTest.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/bpel/dao/ProcessInstanceProfileDAO.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/bpel/dao/ProcessProfileDAO.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/dao/jpa/ProcessInstanceProfileDAOImpl.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/dao/jpa/ProcessProfileDAOImpl.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/daohib/bpel/ProcessInstanceProfileDaoImpl.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/java/org/apache/ode/daohib/bpel/ProcessProfileDaoImpl.java
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestAttributeNamespaces/HelloWorld2.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestAttributeNamespaces/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestAttributeNamespaces/chooseLanguage.xsl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestAttributeNamespaces/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestAttributeNamespaces/language.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanCorrelation_None/TestCorrelation1.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanCorrelation_None/TestCorrelation1.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanCorrelation_None/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFailure/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFailure/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFailure/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFailure/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_All/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_All/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Correlations/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Correlations/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Events/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Events/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Instance/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Instance/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_MessageCorrEvents/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_MessageCorrEvents/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Messages/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Messages/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_None/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_None/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Variables/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanFault_Variables/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_All/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_All/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_All/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_All/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Correlations/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Correlations/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Correlations/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Correlations/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Events/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Events/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Events/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Events/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Fault/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Fault/testFaultHandlers.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Fault/testFaultHandlers.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Instance/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Instance/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Instance/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Instance/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_MessageCorrEvents/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_MessageCorrEvents/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_MessageCorrEvents/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_MessageCorrEvents/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Messages/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Messages/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Messages/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Messages/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_None/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_None/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_None/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_None/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Variables/GetTime.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Variables/TimeService.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Variables/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCleanSuccess_Variables/testRequest.soap
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationJoin/CorrelationMultiTest.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationJoin/CorrelationMultiTest.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationJoin/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationJoinLazy/CorrelationMultiTest.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationJoinLazy/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationMulti/CorrelationMultiTest.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestCorrelationMulti/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointProperties/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointProperties/test-endpoint-properties.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestEndpointTimeouts/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestFailureInInvoke/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBinding/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBinding/http-binding-test.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_DELETE/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_DELETE/http-binding-ext-DELETE.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_GET/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_GET/http-binding-ext-GET.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_POST/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_POST/http-binding-ext-POST.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_PUT/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestHttpBindingExt_PUT/http-binding-ext-PUT.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire/1/TestRetire.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire/1/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire/2/TestRetire.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestInstanceRetire/2/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample02.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample03.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample04.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample05.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample06.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample07.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample08.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample09.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/README-sample10.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/process-template/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/process-template/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample02-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample03-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample03-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample04-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample04-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample05-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample05-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample06-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample06-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample07-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample07-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample08-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample08-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample09-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample09-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample10-client.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-processes/sample10-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/process-template/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/process-template/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/process-template/echo-service.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample03.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample04.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample05.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample06.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample07.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample08.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample09.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartBasic/secured-services/sample10.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/README-sample04-policy.txt
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/process-template/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/process-template/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample01-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample01-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample02-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample02-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample03-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample03-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample04-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample04-service.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-sample04_policy_in_service.xml/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-sample04_policy_in_service.xml/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-sample04_policy_in_service.xml/echo-service.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-sample04_policy_in_service.xml/sample04-policy.axis2
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-template/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-template/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/process-template/echo-service.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/sample01-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/sample02-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/sample03-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-services/sample04-policy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestSoapHeader/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestStructuredFault/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestThrowOnEvent/OnEventCorrelationArtifacts.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestThrowOnEvent/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/BPMN/NewDiagram2-Pool0.bpel
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/BPMN/NewDiagram2-Pool0.deploy
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/BPMN/NewDiagram2-Pool0.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/BPMN/NewDiagram2.wsdl
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/XSDSchema/ListeProduit.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/XSDSchema/xreftst.xsd
    ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/XSDReferences/deploy.xml
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/BindingContextImpl.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/ODEServer.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/ODEService.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/SoapExternalService.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/SessionOutHandler.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentBrowser.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/service/DeploymentWebService.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java
    ode/branches/APACHE_ODE_1.X/axis2/src/main/wsdl/deploy.wsdl
    ode/branches/APACHE_ODE_1.X/axis2/src/test/java/org/apache/ode/axis2/httpbinding/HttpMethodConverterTest.java
    ode/branches/APACHE_ODE_1.X/axis2/src/test/resources/HelloWorld.wsdl
    ode/branches/APACHE_ODE_1.X/axis2/src/test/resources/testRequest1.xml
    ode/branches/APACHE_ODE_1.X/axis2/src/test/resources/testRequest1Bad.xml
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/common/CorrelationKeySet.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/common/OptionalCorrelationKey.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/common/ProcessState.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ActivityEnabledEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ActivityExecEndEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ActivityExecStartEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ActivityRecoveryEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/CompensationHandlerRegistered.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/CorrelationEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/CorrelationMatchEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/CorrelationNoMatchEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ExpressionEvaluationFailedEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ExpressionEvaluationSuccessEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ProcessInstanceStartedEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ProcessInstanceStateChangeEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ProcessMessageExchangeEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ProcessTerminationEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ScopeCompletionEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/evt/ScopeFaultEvent.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/explang/ConfigurationException.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/explang/EvaluationContext.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/iapi/ProcessConf.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/main/java/org/apache/ode/bpel/jmx/BpelEventNotification.java
    ode/branches/APACHE_ODE_1.X/bpel-api/src/test/java/org/apache/ode/bpel/common/CorrelationKeySetTest.java
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/ws-bpel_abstract_common_base.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/ws-bpel_executable.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/ws-bpel_plnktype.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/ws-bpel_serviceref.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/ws-bpel_varprop.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_main-draft-Apr-29-2006.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_main-draft-Sep-06-2005.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Apr-29-2006.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Sep-06-2005.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsdl.xsd
    ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/xsd/dd.xsd
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/MessageExchangePattern.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeBootstrap.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeComponent.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeConsumer.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeLifeCycle.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeSUManager.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/OdeService.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/Receiver.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/msgmap/JbiWsdl11WrapperMapper.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/java/org/apache/ode/jbi/msgmap/MessageTranslationException.java   (contents, props changed)
    ode/branches/APACHE_ODE_1.X/jbi/src/main/jbi/ode-jbi.properties
    ode/branches/APACHE_ODE_1.X/jbi/src/test/resources/HelloWorldRequest.xml
    ode/branches/APACHE_ODE_1.X/jca-ra/etc/ra.xml
    ode/branches/APACHE_ODE_1.X/jca-ra/src/main/java/org/apache/ode/ra/DummyResourceAdapter.java
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/DatabaseDelegate.java
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/JdbcDelegate.java
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/SchedulerThread.java
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/main/java/org/apache/ode/scheduler/simple/Task.java
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/DelegateSupport.java
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/test/resources/HelloWorld2/HelloWorld2.wsdl
    ode/branches/APACHE_ODE_1.X/scheduler-simple/src/test/resources/HelloWorld2/deploy.xml

Modified: ode/branches/APACHE_ODE_1.X/Rakefile
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/Rakefile?rev=745271&r1=745270&r2=745271&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/Rakefile (original)
+++ ode/branches/APACHE_ODE_1.X/Rakefile Tue Feb 17 22:06:18 2009
@@ -1,593 +1,593 @@
-#    Licensed to the Apache Software Foundation (ASF) under one or more
-#    contributor license agreements.  See the NOTICE file distributed with
-#    this work for additional information regarding copyright ownership.
-#    The ASF licenses this file to You 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.
-#
-
-gem "buildr", "~>1.2.4"
-require "buildr"
-require "buildr/xmlbeans.rb"
-require "buildr/openjpa"
-require "buildr/javacc"
-require "buildr/jetty"
-require "buildr/hibernate"
-
-# Keep this structure to allow the build system to update version numbers.
-VERSION_NUMBER = "1.3-SNAPSHOT"
-NEXT_VERSION = "1.4"
-
-ANNONGEN            = "annogen:annogen:jar:0.1.0"
-ANT                 = "ant:ant:jar:1.6.5"
-AXIOM               = [ group("axiom-api", "axiom-impl", "axiom-dom",
-                        :under=>"org.apache.ws.commons.axiom", :version=>"1.2.5") ]
-AXIS2_ALL           = group("axis2-adb", "axis2-codegen", "axis2-kernel",
-                        "axis2-java2wsdl", "axis2-jibx", "axis2-saaj", "axis2-xmlbeans",
-                        :under=>"org.apache.axis2", :version=>"1.3")
-AXIS2_TEST          = group("httpcore", "httpcore-nio", "httpcore-niossl", 
-                           :under=>"org.apache.httpcomponents", :version=>"4.0-alpha5")
-AXIS2_MODULES        = struct(
- :mods              => ["org.apache.rampart:rampart:mar:1.3", 
-                         "org.apache.rampart:rahas:mar:1.3",
-                         "org.apache.axis2:addressing:mar:1.3"],
- :libs              => [group("rampart-core", "rampart-policy", "rampart-trust",
-                              :under=>"org.apache.rampart",
-                              :version=>"1.3"), 
-                        "org.apache.ws.security:wss4j:jar:1.5.3", 
-                        "org.apache.santuario:xmlsec:jar:1.4.0",
-                        "opensaml:opensaml:jar:1.1",
-                        "bouncycastle:bcprov-jdk15:jar:132"] 
-)
-AXIS2_WAR           = "org.apache.axis2:axis2-webapp:war:1.3"
-BACKPORT            = "backport-util-concurrent:backport-util-concurrent:jar:3.0"
-COMMONS             = struct(
-  :codec            =>"commons-codec:commons-codec:jar:1.3",
-  :collections      =>"commons-collections:commons-collections:jar:3.1",
-  :dbcp             =>"commons-dbcp:commons-dbcp:jar:1.2.1",
-  :fileupload       =>"commons-fileupload:commons-fileupload:jar:1.1.1",
-  :httpclient       =>"commons-httpclient:commons-httpclient:jar:3.0",
-  :lang             =>"commons-lang:commons-lang:jar:2.3",
-  :logging          =>"commons-logging:commons-logging:jar:1.1",
-  :io               =>"commons-io:commons-io:jar:1.4",
-  :pool             =>"commons-pool:commons-pool:jar:1.2",
-  :primitives       =>"commons-primitives:commons-primitives:jar:1.0"
-)
-DERBY               = "org.apache.derby:derby:jar:10.4.1.3"
-DERBY_TOOLS         = "org.apache.derby:derbytools:jar:10.4.1.3"
-DOM4J               = "dom4j:dom4j:jar:1.6.1"
-GERONIMO            = struct(
-  :kernel           =>"org.apache.geronimo.modules:geronimo-kernel:jar:2.0.1",
-  :transaction      =>"org.apache.geronimo.components:geronimo-transaction:jar:2.0.1",
-  :connector        =>"org.apache.geronimo.components:geronimo-connector:jar:2.0.1"
-)
-HIBERNATE           = [ "org.hibernate:hibernate:jar:3.2.5.ga", "asm:asm:jar:1.5.3",
-                        "antlr:antlr:jar:2.7.6", "cglib:cglib:jar:2.1_3", "net.sf.ehcache:ehcache:jar:1.2.3" ]
-HSQLDB              = "hsqldb:hsqldb:jar:1.8.0.7"
-JAVAX               = struct(
-  :activation       =>"javax.activation:activation:jar:1.1",
-  #:activation       =>"geronimo-spec:geronimo-spec-activation:jar:1.0.2-rc4",
-  :connector        =>"org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0",
-  :ejb              =>"org.apache.geronimo.specs:geronimo-ejb_2.1_spec:jar:1.1",
-  :javamail         =>"geronimo-spec:geronimo-spec-javamail:jar:1.3.1-rc5",
-  :jms              =>"geronimo-spec:geronimo-spec-jms:jar:1.1-rc4",
-  :persistence      =>"javax.persistence:persistence-api:jar:1.0",
-  :servlet          =>"org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.0",
-  :stream           =>"stax:stax-api:jar:1.0.1",
-  :transaction      =>"org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1",
-  :resource         =>"org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0"
-)
-JAXEN               = "jaxen:jaxen:jar:1.1.1"
-JBI                 = "org.apache.servicemix:servicemix-jbi:jar:3.1.1-incubating"
-JENCKS              = "org.jencks:jencks:jar:all:1.3"
-JIBX                = "jibx:jibx-run:jar:1.1-beta3"
-LOG4J               = "log4j:log4j:jar:1.2.13"
-OPENJPA             = ["org.apache.openjpa:openjpa:jar:1.3.0-SNAPSHOT",
-                       "net.sourceforge.serp:serp:jar:1.13.1"]
-
-SAXON               = group("saxon", "saxon-xpath", "saxon-dom", "saxon-xqj", :under=>"net.sf.saxon", :version=>"9.x")
-SERVICEMIX          = group("servicemix-core", "servicemix-shared", "servicemix-services",
-                        :under=>"org.apache.servicemix", :version=>"3.1-incubating")
-SPRING              = group("spring-beans", "spring-context", "spring-core", "spring-jmx",
-                        :under=>"org.springframework", :version=>"2.0.1")
-TRANQL              = [ "tranql:tranql-connector:jar:1.1", "axion:axion:jar:1.0-M3-dev", COMMONS.primitives ]
-WOODSTOX            = "woodstox:wstx-asl:jar:3.2.1"
-WSDL4J              = "wsdl4j:wsdl4j:jar:1.6.1"
-XALAN               = "org.apache.ode:xalan:jar:2.7.0-2"
-XERCES              = "xerces:xercesImpl:jar:2.9.0"
-XSTREAM             = "xstream:xstream:jar:1.2"
-WS_COMMONS          = struct(
-  :axiom            =>AXIOM,
-  :neethi           =>"org.apache.neethi:neethi:jar:2.0.2",
-  :xml_schema       =>"org.apache.ws.commons.schema:XmlSchema:jar:1.3.2"
-)
-XBEAN               = group("xbean-classloader", "xbean-kernel", "xbean-server", "xbean-spring",
-                        :under=>"org.apache.xbean", :version=>"2.8")
-XMLBEANS            = "org.apache.xmlbeans:xmlbeans:jar:2.3.0"
-
-repositories.remote << "http://pxe.intalio.org/public/maven2"
-repositories.remote << "http://people.apache.org/repo/m2-incubating-repository"
-repositories.remote << "http://repo1.maven.org/maven2"
-repositories.remote << "http://people.apache.org/repo/m2-snapshot-repository"
-repositories.remote << "http://download.java.net/maven/2"
-repositories.remote << "http://ws.zones.apache.org/repository2"
-repositories.release_to[:url] ||= "sftp://guest@localhost/home/guest"
-
-# Changing releases tag names
-class Release
-  class << self
-    def tag_with_apache_ode(version)
-      tag_without_apache_ode("APACHE_ODE_#{version.upcase}")
-    end
-    alias_method_chain :tag, :apache_ode
-  end
-end
-
-
-desc "Apache ODE"
-#define "ode", :group=>"org.apache.ode", :version=>VERSION_NUMBER do
-define "ode" do
-  project.version = VERSION_NUMBER
-  project.group = "org.apache.ode"
-
-  compile.options.source = "1.5"
-  compile.options.target = "1.5"
-  manifest["Implementation-Vendor"] = "Apache Software Foundation"
-  meta_inf << file("NOTICE")
-
-  desc "ODE Axis Integration Layer"
-  define "axis2" do
-    compile.with projects("bpel-api", "bpel-connector", "bpel-dao", "bpel-epr", "bpel-runtime",
-      "scheduler-simple", "bpel-schemas", "bpel-store", "utils"),
-      AXIOM, AXIS2_ALL, COMMONS.lang, COMMONS.logging, COMMONS.collections, COMMONS.httpclient, COMMONS.lang, 
-      DERBY, GERONIMO.kernel, GERONIMO.transaction, JAVAX.activation, JAVAX.servlet, JAVAX.stream, 
-      JAVAX.transaction, JENCKS, WSDL4J, WS_COMMONS, XMLBEANS, AXIS2_MODULES.libs
-
-    test.exclude 'org.apache.ode.axis2.management.*'
-    test.with project("tools"), AXIOM, JAVAX.javamail, COMMONS.codec, COMMONS.httpclient, XERCES, WOODSTOX
-
-    package :jar
-  end
-
-  desc "ODE Axis2 Based Web Application"
-  define "axis2-war" do
-    libs = projects("axis2", "bpel-api", "bpel-compiler", "bpel-connector", "bpel-dao",
-      "bpel-epr", "bpel-obj", "bpel-ql", "bpel-runtime", "scheduler-simple",
-      "bpel-schemas", "bpel-store", "dao-hibernate", "jacob", "jca-ra", "jca-server",
-      "utils", "dao-jpa"),
-      AXIS2_ALL, ANNONGEN, BACKPORT, COMMONS.codec, COMMONS.collections, COMMONS.fileupload, COMMONS.io, COMMONS.httpclient,
-      COMMONS.lang, COMMONS.logging, COMMONS.pool, DERBY, DERBY_TOOLS, JAXEN, JAVAX.activation, JAVAX.ejb, JAVAX.javamail,
-      JAVAX.connector, JAVAX.jms, JAVAX.persistence, JAVAX.transaction, JAVAX.stream,  JIBX,
-      GERONIMO.connector, GERONIMO.kernel, GERONIMO.transaction, LOG4J, OPENJPA, SAXON, TRANQL,
-      WOODSTOX, WSDL4J, WS_COMMONS, XALAN, XERCES, XMLBEANS,
-      AXIS2_MODULES.libs
-
-    package(:war).with(:libs=>libs).path("WEB-INF").tap do |web_inf|
-      web_inf.merge project("dao-jpa-ojpa-derby").package(:zip)
-      web_inf.merge project("dao-hibernate-db").package(:zip)
-      web_inf.include project("axis2").path_to("src/main/wsdl/*")
-      web_inf.include project("bpel-schemas").path_to("src/main/xsd/pmapi.xsd")
-    end
-    package(:war).path("WEB-INF/modules").include(artifacts(AXIS2_MODULES.mods))
-    package(:war).tap do |root|
-      root.merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*")
-    end
-
-    task("start"=>[package(:war), jetty.use]) do |task|
-      class << task ; attr_accessor :url, :path ; end
-      task.url = "http://localhost:8080/ode"
-      task.path = jetty.deploy(task.url, task.prerequisites.first)
-      jetty.teardown task("stop")
-    end
-
-    task("stop") do |task|
-      if url = task("start").url rescue nil
-        jetty.undeploy url
-      end
-    end
-    
-    test.using :testng, :properties=>{ "log4j.debug" => true,  "log4j.configuration"=>"test-log4j.properties" }
-    test.with projects("tools"), libs, AXIS2_TEST, AXIOM, JAVAX.servlet, Buildr::Jetty::REQUIRES, HIBERNATE, DOM4J
-    test.setup task(:prepare_webapp) do |task|
-      webapp_dir = "target/test-classes/webapp"
-      cp_r _("src/main/webapp"), _("target/test-classes")
-      cp Dir[_("src/main/webapp/WEB-INF/classes/*")], _("target/test-classes")
-      cp Dir[project("axis2").path_to("src/main/wsdl/*")], _("#{webapp_dir}/WEB-INF")
-      cp project("bpel-schemas").path_to("src/main/xsd/pmapi.xsd"), _("#{webapp_dir}/WEB-INF")
-      rm_rf Dir[_(webapp_dir) + "/**/.svn"]
-      mkdir _("#{webapp_dir}/WEB-INF/processes") unless File.exist?(_("#{webapp_dir}/WEB-INF/processes"))
-      mkdir _("#{webapp_dir}/WEB-INF/modules") unless File.exist?(_("#{webapp_dir}/WEB-INF/modules"))
-      # move around some property files for test purpose
-      mv Dir[_("target/test-classes/TestEndpointProperties/*_global_conf*.endpoint")], _("#{webapp_dir}/WEB-INF/conf")
-      artifacts(AXIS2_MODULES.mods).map {|a| a.invoke }
-      cp AXIS2_MODULES.mods.map {|a| repositories.locate(a)} , _("#{webapp_dir}/WEB-INF/modules")
-    end
-    test.setup unzip(_("target/test-classes/webapp/WEB-INF")=>project("dao-jpa-ojpa-derby").package(:zip))
-    test.setup unzip(_("target/test-classes/webapp/WEB-INF")=>project("dao-hibernate-db").package(:zip))
-    
-    NativeDB.prepare_configs test, _(".")
+#    Licensed to the Apache Software Foundation (ASF) under one or more
+#    contributor license agreements.  See the NOTICE file distributed with
+#    this work for additional information regarding copyright ownership.
+#    The ASF licenses this file to You 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.
+#
 
-    test.setup prepare_secured_services_tests(_("target/test-classes/TestRampartBasic/secured-services"), "sample*.axis2")
-    test.setup prepare_secured_services_tests(_("target/test-classes/TestRampartPolicy/secured-services"), "sample*-policy.xml")
+gem "buildr", "~>1.2.4"
+require "buildr"
+require "buildr/xmlbeans.rb"
+require "buildr/openjpa"
+require "buildr/javacc"
+require "buildr/jetty"
+require "buildr/hibernate"
+
+# Keep this structure to allow the build system to update version numbers.
+VERSION_NUMBER = "1.3-SNAPSHOT"
+NEXT_VERSION = "1.4"
+
+ANNONGEN            = "annogen:annogen:jar:0.1.0"
+ANT                 = "ant:ant:jar:1.6.5"
+AXIOM               = [ group("axiom-api", "axiom-impl", "axiom-dom",
+                        :under=>"org.apache.ws.commons.axiom", :version=>"1.2.5") ]
+AXIS2_ALL           = group("axis2-adb", "axis2-codegen", "axis2-kernel",
+                        "axis2-java2wsdl", "axis2-jibx", "axis2-saaj", "axis2-xmlbeans",
+                        :under=>"org.apache.axis2", :version=>"1.3")
+AXIS2_TEST          = group("httpcore", "httpcore-nio", "httpcore-niossl", 
+                           :under=>"org.apache.httpcomponents", :version=>"4.0-alpha5")
+AXIS2_MODULES        = struct(
+ :mods              => ["org.apache.rampart:rampart:mar:1.3", 
+                         "org.apache.rampart:rahas:mar:1.3",
+                         "org.apache.axis2:addressing:mar:1.3"],
+ :libs              => [group("rampart-core", "rampart-policy", "rampart-trust",
+                              :under=>"org.apache.rampart",
+                              :version=>"1.3"), 
+                        "org.apache.ws.security:wss4j:jar:1.5.3", 
+                        "org.apache.santuario:xmlsec:jar:1.4.0",
+                        "opensaml:opensaml:jar:1.1",
+                        "bouncycastle:bcprov-jdk15:jar:132"] 
+)
+AXIS2_WAR           = "org.apache.axis2:axis2-webapp:war:1.3"
+BACKPORT            = "backport-util-concurrent:backport-util-concurrent:jar:3.0"
+COMMONS             = struct(
+  :codec            =>"commons-codec:commons-codec:jar:1.3",
+  :collections      =>"commons-collections:commons-collections:jar:3.1",
+  :dbcp             =>"commons-dbcp:commons-dbcp:jar:1.2.1",
+  :fileupload       =>"commons-fileupload:commons-fileupload:jar:1.1.1",
+  :httpclient       =>"commons-httpclient:commons-httpclient:jar:3.0",
+  :lang             =>"commons-lang:commons-lang:jar:2.3",
+  :logging          =>"commons-logging:commons-logging:jar:1.1",
+  :io               =>"commons-io:commons-io:jar:1.4",
+  :pool             =>"commons-pool:commons-pool:jar:1.2",
+  :primitives       =>"commons-primitives:commons-primitives:jar:1.0"
+)
+DERBY               = "org.apache.derby:derby:jar:10.4.1.3"
+DERBY_TOOLS         = "org.apache.derby:derbytools:jar:10.4.1.3"
+DOM4J               = "dom4j:dom4j:jar:1.6.1"
+GERONIMO            = struct(
+  :kernel           =>"org.apache.geronimo.modules:geronimo-kernel:jar:2.0.1",
+  :transaction      =>"org.apache.geronimo.components:geronimo-transaction:jar:2.0.1",
+  :connector        =>"org.apache.geronimo.components:geronimo-connector:jar:2.0.1"
+)
+HIBERNATE           = [ "org.hibernate:hibernate:jar:3.2.5.ga", "asm:asm:jar:1.5.3",
+                        "antlr:antlr:jar:2.7.6", "cglib:cglib:jar:2.1_3", "net.sf.ehcache:ehcache:jar:1.2.3" ]
+HSQLDB              = "hsqldb:hsqldb:jar:1.8.0.7"
+JAVAX               = struct(
+  :activation       =>"javax.activation:activation:jar:1.1",
+  #:activation       =>"geronimo-spec:geronimo-spec-activation:jar:1.0.2-rc4",
+  :connector        =>"org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0",
+  :ejb              =>"org.apache.geronimo.specs:geronimo-ejb_2.1_spec:jar:1.1",
+  :javamail         =>"geronimo-spec:geronimo-spec-javamail:jar:1.3.1-rc5",
+  :jms              =>"geronimo-spec:geronimo-spec-jms:jar:1.1-rc4",
+  :persistence      =>"javax.persistence:persistence-api:jar:1.0",
+  :servlet          =>"org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.0",
+  :stream           =>"stax:stax-api:jar:1.0.1",
+  :transaction      =>"org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1",
+  :resource         =>"org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0"
+)
+JAXEN               = "jaxen:jaxen:jar:1.1.1"
+JBI                 = "org.apache.servicemix:servicemix-jbi:jar:3.1.1-incubating"
+JENCKS              = "org.jencks:jencks:jar:all:1.3"
+JIBX                = "jibx:jibx-run:jar:1.1-beta3"
+LOG4J               = "log4j:log4j:jar:1.2.13"
+OPENJPA             = ["org.apache.openjpa:openjpa:jar:1.3.0-SNAPSHOT",
+                       "net.sourceforge.serp:serp:jar:1.13.1"]
+
+SAXON               = group("saxon", "saxon-xpath", "saxon-dom", "saxon-xqj", :under=>"net.sf.saxon", :version=>"9.x")
+SERVICEMIX          = group("servicemix-core", "servicemix-shared", "servicemix-services",
+                        :under=>"org.apache.servicemix", :version=>"3.1-incubating")
+SPRING              = group("spring-beans", "spring-context", "spring-core", "spring-jmx",
+                        :under=>"org.springframework", :version=>"2.0.1")
+TRANQL              = [ "tranql:tranql-connector:jar:1.1", "axion:axion:jar:1.0-M3-dev", COMMONS.primitives ]
+WOODSTOX            = "woodstox:wstx-asl:jar:3.2.1"
+WSDL4J              = "wsdl4j:wsdl4j:jar:1.6.1"
+XALAN               = "org.apache.ode:xalan:jar:2.7.0-2"
+XERCES              = "xerces:xercesImpl:jar:2.9.0"
+XSTREAM             = "xstream:xstream:jar:1.2"
+WS_COMMONS          = struct(
+  :axiom            =>AXIOM,
+  :neethi           =>"org.apache.neethi:neethi:jar:2.0.2",
+  :xml_schema       =>"org.apache.ws.commons.schema:XmlSchema:jar:1.3.2"
+)
+XBEAN               = group("xbean-classloader", "xbean-kernel", "xbean-server", "xbean-spring",
+                        :under=>"org.apache.xbean", :version=>"2.8")
+XMLBEANS            = "org.apache.xmlbeans:xmlbeans:jar:2.3.0"
+
+repositories.remote << "http://pxe.intalio.org/public/maven2"
+repositories.remote << "http://people.apache.org/repo/m2-incubating-repository"
+repositories.remote << "http://repo1.maven.org/maven2"
+repositories.remote << "http://people.apache.org/repo/m2-snapshot-repository"
+repositories.remote << "http://download.java.net/maven/2"
+repositories.remote << "http://ws.zones.apache.org/repository2"
+repositories.release_to[:url] ||= "sftp://guest@localhost/home/guest"
+
+# Changing releases tag names
+class Release
+  class << self
+    def tag_with_apache_ode(version)
+      tag_without_apache_ode("APACHE_ODE_#{version.upcase}")
+    end
+    alias_method_chain :tag, :apache_ode
+  end
+end
+
+
+desc "Apache ODE"
+#define "ode", :group=>"org.apache.ode", :version=>VERSION_NUMBER do
+define "ode" do
+  project.version = VERSION_NUMBER
+  project.group = "org.apache.ode"
+
+  compile.options.source = "1.5"
+  compile.options.target = "1.5"
+  manifest["Implementation-Vendor"] = "Apache Software Foundation"
+  meta_inf << file("NOTICE")
+
+  desc "ODE Axis Integration Layer"
+  define "axis2" do
+    compile.with projects("bpel-api", "bpel-connector", "bpel-dao", "bpel-epr", "bpel-runtime",
+      "scheduler-simple", "bpel-schemas", "bpel-store", "utils"),
+      AXIOM, AXIS2_ALL, COMMONS.lang, COMMONS.logging, COMMONS.collections, COMMONS.httpclient, COMMONS.lang, 
+      DERBY, GERONIMO.kernel, GERONIMO.transaction, JAVAX.activation, JAVAX.servlet, JAVAX.stream, 
+      JAVAX.transaction, JENCKS, WSDL4J, WS_COMMONS, XMLBEANS, AXIS2_MODULES.libs
+
+    test.exclude 'org.apache.ode.axis2.management.*'
+    test.with project("tools"), AXIOM, JAVAX.javamail, COMMONS.codec, COMMONS.httpclient, XERCES, WOODSTOX
+
+    package :jar
+  end
+
+  desc "ODE Axis2 Based Web Application"
+  define "axis2-war" do
+    libs = projects("axis2", "bpel-api", "bpel-compiler", "bpel-connector", "bpel-dao",
+      "bpel-epr", "bpel-obj", "bpel-ql", "bpel-runtime", "scheduler-simple",
+      "bpel-schemas", "bpel-store", "dao-hibernate", "jacob", "jca-ra", "jca-server",
+      "utils", "dao-jpa"),
+      AXIS2_ALL, ANNONGEN, BACKPORT, COMMONS.codec, COMMONS.collections, COMMONS.fileupload, COMMONS.io, COMMONS.httpclient,
+      COMMONS.lang, COMMONS.logging, COMMONS.pool, DERBY, DERBY_TOOLS, JAXEN, JAVAX.activation, JAVAX.ejb, JAVAX.javamail,
+      JAVAX.connector, JAVAX.jms, JAVAX.persistence, JAVAX.transaction, JAVAX.stream,  JIBX,
+      GERONIMO.connector, GERONIMO.kernel, GERONIMO.transaction, LOG4J, OPENJPA, SAXON, TRANQL,
+      WOODSTOX, WSDL4J, WS_COMMONS, XALAN, XERCES, XMLBEANS,
+      AXIS2_MODULES.libs
+
+    package(:war).with(:libs=>libs).path("WEB-INF").tap do |web_inf|
+      web_inf.merge project("dao-jpa-ojpa-derby").package(:zip)
+      web_inf.merge project("dao-hibernate-db").package(:zip)
+      web_inf.include project("axis2").path_to("src/main/wsdl/*")
+      web_inf.include project("bpel-schemas").path_to("src/main/xsd/pmapi.xsd")
+    end
+    package(:war).path("WEB-INF/modules").include(artifacts(AXIS2_MODULES.mods))
+    package(:war).tap do |root|
+      root.merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*")
+    end
+
+    task("start"=>[package(:war), jetty.use]) do |task|
+      class << task ; attr_accessor :url, :path ; end
+      task.url = "http://localhost:8080/ode"
+      task.path = jetty.deploy(task.url, task.prerequisites.first)
+      jetty.teardown task("stop")
+    end
+
+    task("stop") do |task|
+      if url = task("start").url rescue nil
+        jetty.undeploy url
+      end
+    end
+    
+    test.using :testng, :properties=>{ "log4j.debug" => true,  "log4j.configuration"=>"test-log4j.properties" }
+    test.with projects("tools"), libs, AXIS2_TEST, AXIOM, JAVAX.servlet, Buildr::Jetty::REQUIRES, HIBERNATE, DOM4J
+    test.setup task(:prepare_webapp) do |task|
+      webapp_dir = "target/test-classes/webapp"
+      cp_r _("src/main/webapp"), _("target/test-classes")
+      cp Dir[_("src/main/webapp/WEB-INF/classes/*")], _("target/test-classes")
+      cp Dir[project("axis2").path_to("src/main/wsdl/*")], _("#{webapp_dir}/WEB-INF")
+      cp project("bpel-schemas").path_to("src/main/xsd/pmapi.xsd"), _("#{webapp_dir}/WEB-INF")
+      rm_rf Dir[_(webapp_dir) + "/**/.svn"]
+      mkdir _("#{webapp_dir}/WEB-INF/processes") unless File.exist?(_("#{webapp_dir}/WEB-INF/processes"))
+      mkdir _("#{webapp_dir}/WEB-INF/modules") unless File.exist?(_("#{webapp_dir}/WEB-INF/modules"))
+      # move around some property files for test purpose
+      mv Dir[_("target/test-classes/TestEndpointProperties/*_global_conf*.endpoint")], _("#{webapp_dir}/WEB-INF/conf")
+      artifacts(AXIS2_MODULES.mods).map {|a| a.invoke }
+      cp AXIS2_MODULES.mods.map {|a| repositories.locate(a)} , _("#{webapp_dir}/WEB-INF/modules")
+    end
+    test.setup unzip(_("target/test-classes/webapp/WEB-INF")=>project("dao-jpa-ojpa-derby").package(:zip))
+    test.setup unzip(_("target/test-classes/webapp/WEB-INF")=>project("dao-hibernate-db").package(:zip))
+    
+    NativeDB.prepare_configs test, _(".")
+
+    test.setup prepare_secured_services_tests(_("target/test-classes/TestRampartBasic/secured-services"), "sample*.axis2")
+    test.setup prepare_secured_services_tests(_("target/test-classes/TestRampartPolicy/secured-services"), "sample*-policy.xml")
 
     test.setup prepare_secured_processes_tests(_("target/test-classes/TestRampartBasic/secured-processes"))
     test.setup prepare_secured_processes_tests(_("target/test-classes/TestRampartPolicy/secured-processes"))
-  end
-
-  desc "ODE APIs"
-  define "bpel-api" do
-    compile.with projects("utils", "bpel-obj", "bpel-schemas"), WSDL4J, COMMONS.logging
-    package :jar
-  end
-
-  desc "ODE JCA connector"
-  define "bpel-api-jca" do
-    compile.with project("bpel-api"), JAVAX.connector
-    package :jar
-  end
-
-  desc "ODE BPEL Compiler"
-  define "bpel-compiler" do
-    compile.with projects("bpel-api", "bpel-obj", "bpel-schemas", "utils"),
-      COMMONS.logging, JAVAX.stream, JAXEN, SAXON, WSDL4J, XALAN, XERCES, COMMONS.collections
-    test.resources { filter(project("bpel-scripts").path_to("src/main/resources")).into(test.resources.target).run }
-    package :jar
-  end
-
-  desc "ODE JCA Connector Implementation"
-  define "bpel-connector" do
-    compile.with projects("bpel-api", "bpel-api-jca", "bpel-runtime", "jca-ra", "jca-server")
-    package :jar
-  end
-
-  desc "ODE DAO Interfaces"
-  define "bpel-dao" do
-    compile.with project("bpel-api")
-    package :jar
-  end
-
-  desc "ODE Interface Layers Common"
-  define "bpel-epr" do
-    compile.with projects("utils", "bpel-dao", "bpel-api"),
-      AXIOM, COMMONS.lang, COMMONS.logging, DERBY, JAVAX.connector, JAVAX.stream, JAVAX.transaction, GERONIMO.transaction, GERONIMO.connector, TRANQL, XMLBEANS
-    package :jar
-  end
-
-  desc "ODE BPEL Object Model"
-  define "bpel-obj" do
-    compile.with project("utils"), SAXON, WSDL4J, COMMONS.collections
-    package :jar
-  end
-
-  desc "ODE BPEL Query Language"
-  define "bpel-ql" do
-    pkg_name = "org.apache.ode.ql.jcc"
-    jjtree = jjtree(_("src/main/jjtree"), :in_package=>pkg_name)
-    compile.from javacc(jjtree, :in_package=>pkg_name), jjtree
-    compile.with projects("bpel-api", "bpel-compiler", "bpel-obj", "jacob", "utils")
-
-    package :jar
-  end
-
-  desc "ODE Runtime Engine"
-  define "bpel-runtime" do
-    compile.from apt
-    compile.with projects("bpel-api", "bpel-compiler", "bpel-dao", "bpel-obj", "bpel-schemas",
-      "bpel-store", "jacob", "jacob-ap", "utils"),
-      COMMONS.logging, COMMONS.collections, COMMONS.httpclient, JAXEN, JAVAX.persistence, JAVAX.stream, SAXON, WSDL4J, XMLBEANS
-
-    test.with projects("scheduler-simple", "dao-jpa", "dao-hibernate", "bpel-epr"),
-        BACKPORT, COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector, JAVAX.transaction,
-        GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, TRANQL, HSQLDB, JAVAX.ejb,
-        LOG4J, XERCES, Buildr::OpenJPA::REQUIRES, XALAN
-
-    package :jar
-  end
-
-  desc "ODE Simple Scheduler"
-  define "scheduler-simple" do
-    compile.with projects("bpel-api", "utils"), COMMONS.collections, COMMONS.logging, JAVAX.transaction
-	test.compile.with HSQLDB, GERONIMO.kernel, GERONIMO.transaction
-	test.with HSQLDB, JAVAX.transaction, JAVAX.resource, JAVAX.connector, LOG4J,
-          GERONIMO.kernel, GERONIMO.transaction, BACKPORT, JAVAX.ejb
-    package :jar
-  end
-
-  desc "ODE Schemas"
-  define "bpel-schemas" do
-    compile_xml_beans _("src/main/xsd/*.xsdconfig"), _("src/main/xsd")
-    package :jar
-  end
-
-  desc "ODE BPEL Test Script Files"
-  define "bpel-scripts" do
-    package :jar
-  end
-
-  desc "ODE Process Store"
-  define "bpel-store" do
-    compile.with projects("bpel-api", "bpel-compiler", "bpel-dao", "bpel-obj", "bpel-schemas", "bpel-epr",
-      "dao-hibernate", "utils"),
-      COMMONS.logging, JAVAX.persistence, JAVAX.stream, HIBERNATE, HSQLDB, XMLBEANS, XERCES, WSDL4J
-    compile { open_jpa_enhance }
-    resources hibernate_doclet(:package=>"org.apache.ode.store.hib", :excludedtags=>"@version,@author,@todo")
-
-    test.with COMMONS.collections, COMMONS.lang, JAVAX.connector, JAVAX.transaction, DOM4J, LOG4J,
-      XERCES, XALAN, JAXEN, SAXON, OPENJPA
-    package :jar
-  end
-
-  desc "ODE BPEL Tests"
-  define "bpel-test" do
-    compile.with projects("bpel-api", "bpel-compiler", "bpel-dao", "bpel-runtime",
-      "bpel-store", "utils", "bpel-epr", "dao-jpa"),
-      DERBY, Java::JUnit::JUNIT_REQUIRES, JAVAX.persistence, OPENJPA, WSDL4J, COMMONS.httpclient,
-	COMMONS.codec
-
-    test.with projects("bpel-obj", "jacob", "bpel-schemas",
-      "bpel-scripts", "scheduler-simple"),
-      COMMONS.collections, COMMONS.lang, COMMONS.logging, DERBY, JAVAX.connector,
-      JAVAX.stream, JAVAX.transaction, JAXEN, HSQLDB, LOG4J, SAXON, XERCES, XMLBEANS, XALAN
-
-    package :jar
-  end
-
-  desc "ODE Hibernate DAO Implementation"
-  define "dao-hibernate" do
-    compile.with projects("bpel-api", "bpel-dao", "bpel-ql", "utils"),
-      COMMONS.lang, COMMONS.logging, JAVAX.transaction, HIBERNATE, DOM4J
-    resources hibernate_doclet(:package=>"org.apache.ode.daohib.bpel.hobj", :excludedtags=>"@version,@author,@todo")
-
-    test.with project("bpel-epr"), BACKPORT, COMMONS.collections, COMMONS.lang, HSQLDB,
-      GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, JAVAX.connector, JAVAX.ejb, SPRING
-
-    package :jar
-  end
-
-  desc "ODE Hibernate Compatible Databases"
-  define "dao-hibernate-db" do
-    predefined_for = lambda { |name| _("src/main/sql/simplesched-#{name}.sql") }
-    properties_for = lambda { |name| _("src/main/sql/ode.#{name}.properties") }
-
-    dao_hibernate = project("dao-hibernate").compile.target
-    bpel_store = project("bpel-store").compile.target
-
-    Buildr::Hibernate::REQUIRES[:xdoclet] =  Buildr.group("xdoclet", "xdoclet-xdoclet-module", "xdoclet-hibernate-module",
-      :under=>"xdoclet", :version=>"1.2.3") + ["xdoclet:xjavadoc:jar:1.1-j5"]
-    export = lambda do |properties, source, target|
-      file(target=>[properties, source]) do |task|
-        mkpath File.dirname(target), :verbose=>false
-        # Protection against a buildr bug until the fix is released, avoids build failure
-        class << task ; attr_accessor :ant ; end
-        task.enhance { |task| task.ant = Buildr::Hibernate.schemaexport }
-        
-        hibernate_schemaexport target do |task, ant|
-          ant.schemaexport(:properties=>properties.to_s, :quiet=>"yes", :text=>"yes", :delimiter=>";",
-                           :drop=>"no", :create=>"yes", :output=>target) do
-            ant.fileset(:dir=>source.to_s) { 
-              ant.include :name=>"**/*.hbm.xml"
-              ant.exclude :name=>"**/HMessageExchangeProperty.hbm.xml"}
-          end
-        end
-      end
-    end
-
-    runtime_sql = export[ properties_for[:derby], dao_hibernate, _("target/runtime.sql") ]
-    store_sql = export[ properties_for[:derby], bpel_store, _("target/store.sql") ]
-    derby_sql = concat(_("target/derby.sql")=>[ predefined_for[:derby], runtime_sql, store_sql ])
-    derby_db = Derby.create(_("target/derby/hibdb")=>derby_sql)
-    build derby_db
-
-    %w{ mysql firebird hsql postgres sqlserver oracle }.each do |db|
-      partial = export[ properties_for[db], dao_hibernate, _("target/partial.#{db}.sql") ]
-      build concat(_("target/#{db}.sql")=>[ predefined_for[db], partial ])
-    end
-
-    NativeDB.create_dbs self, _("."), :hib
-
-    package(:zip).include(derby_db)
-  end
-
-  desc "ODE OpenJPA DAO Implementation"
-  define "dao-jpa" do
-    compile.with projects("bpel-api", "bpel-dao", "utils"),
-      COMMONS.collections, COMMONS.logging, JAVAX.connector, JAVAX.persistence, JAVAX.transaction,
-      OPENJPA, XERCES
-    compile { open_jpa_enhance }
-    package :jar
-  end
-
-  desc "ODE OpenJPA Derby Database"
-  define "dao-jpa-ojpa-derby" do
-    %w{ derby mysql oracle }.each do |db|
-      db_xml = _("src/main/descriptors/persistence.#{db}.xml")
-      scheduler_sql = _("src/main/scripts/simplesched-#{db}.sql")
-      partial_sql = file("target/partial.#{db}.sql"=>db_xml) do |task|
-        mkpath _("target"), :verbose=>false
-        Buildr::OpenJPA.mapping_tool :properties=>db_xml, :action=>"build", :sql=>task.name,
-          :classpath=>projects("bpel-store", "dao-jpa", "bpel-api", "bpel-dao", "utils" )
-      end
-      sql = concat(_("target/#{db}.sql")=>[_("src/main/scripts/license-header.sql"), partial_sql, scheduler_sql])
-      build sql
-    end
-    derby_db = Derby.create(_("target/derby/jpadb")=>_("target/derby.sql"))
-
-    test.with projects("bpel-api", "bpel-dao", "bpel-obj", "bpel-epr", "dao-jpa", "utils"),
-      BACKPORT, COMMONS.collections, COMMONS.lang, COMMONS.logging, GERONIMO.transaction,
-      GERONIMO.kernel, GERONIMO.connector, HSQLDB, JAVAX.connector, JAVAX.ejb, JAVAX.persistence,
-      JAVAX.transaction, LOG4J, OPENJPA, XERCES, WSDL4J
-
-    build derby_db
-
-    NativeDB.create_dbs self, _("."), :jpa
-
-    package(:zip).include(derby_db)
-  end
-
-  desc "ODE JAva Concurrent OBjects"
-  define "jacob" do
-    compile.with projects("utils", "jacob-ap"), COMMONS.logging
-    compile.from apt
-
-    package :jar
-  end
-
-  desc "ODE Jacob APR Code Generation"
-  define "jacob-ap" do
-    compile.with Java.tools_jar
-    package :jar
-  end
-
-  desc "ODE JBI Integration Layer"
-  define "jbi" do
-    compile.with projects("bpel-api", "bpel-connector", "bpel-dao", "bpel-epr", "bpel-obj",
-      "bpel-runtime", "scheduler-simple", "bpel-schemas", "bpel-store", "utils"),
-      AXIOM, COMMONS.logging, COMMONS.pool, JAVAX.transaction, JBI, LOG4J, WSDL4J, XERCES
-
-    package(:jar)
-    package(:jbi).tap do |jbi|
-      libs = artifacts(package(:jar),
-        projects("bpel-api", "bpel-api-jca", "bpel-compiler", "bpel-connector", "bpel-dao",
-        "bpel-epr", "jca-ra", "jca-server", "bpel-obj", "bpel-ql", "bpel-runtime",
-        "scheduler-simple", "bpel-schemas", "bpel-store", "dao-hibernate", "dao-jpa",
-        "jacob", "jacob-ap", "utils"),
-        ANT, AXIOM, BACKPORT, COMMONS.codec, COMMONS.collections, COMMONS.dbcp, COMMONS.lang, COMMONS.pool,
-        COMMONS.primitives, DERBY, GERONIMO.connector, GERONIMO.transaction, JAXEN, JAVAX.connector, 
-        JAVAX.ejb, JAVAX.jms, JAVAX.persistence, JAVAX.stream, JAVAX.transaction, LOG4J, OPENJPA, 
-        SAXON, TRANQL, XALAN, XERCES, XMLBEANS, XSTREAM, WSDL4J)
-
-      jbi.component :type=>:service_engine, :name=>"OdeBpelEngine", :description=>self.comment
-      jbi.component :class_name=>"org.apache.ode.jbi.OdeComponent", :libs=>libs
-      jbi.bootstrap :class_name=>"org.apache.ode.jbi.OdeBootstrap", :libs=>libs
-      jbi.merge project("dao-hibernate-db").package(:zip)
-      jbi.merge project("dao-jpa-ojpa-derby").package(:zip)
-      jbi.include path_to("src/main/jbi/ode-jbi.properties")
-    end
-
-    test.with projects("dao-jpa", "bpel-compiler", "bpel-api-jca", "jca-ra",
-      "jca-server", "jacob"),
-      BACKPORT, COMMONS.lang, COMMONS.collections, DERBY, GERONIMO.connector, GERONIMO.kernel,
-      GERONIMO.transaction, JAVAX.connector, JAVAX.ejb, JAVAX.persistence, JAVAX.stream,
-      JAVAX.transaction, JAXEN, JBI, OPENJPA, SAXON, SERVICEMIX, SPRING, TRANQL,
-      XALAN, XBEAN, XMLBEANS, XSTREAM
-    test.using :properties=>{ "jbi.install"=>_("target/smixInstallDir"),  "jbi.examples"=>_("../distro/src/examples-jbi/") }
-    test.setup unzip(_("target/smixInstallDir/install/ODE")=>project("dao-jpa-ojpa-derby").package(:zip))
-  end
-
-  desc "ODE JCA Resource Archive"
-  define "jca-ra" do
-    compile.with project("utils"), JAVAX.connector
-    package :jar
-  end
-
-  desc "ODE JCA Server"
-  define "jca-server" do
-    compile.with projects("jca-ra", "utils"), COMMONS.logging
-    package :jar
-  end
-
-  desc "ODE Tools"
-  define "tools" do
-    compile.with projects("bpel-compiler", "utils"), ANT, COMMONS.httpclient, COMMONS.logging
-    package :jar
-  end
-
-  desc "ODE Utils"
-  define "utils" do
-    compile.with AXIOM, AXIS2_ALL, COMMONS.collections, COMMONS.logging, COMMONS.pool, COMMONS.httpclient, COMMONS.codec, LOG4J, XERCES, JAVAX.stream, WSDL4J
-	test.exclude "*TestResources"
-    package :jar
-  end
-
-end
-
-define "apache-ode" do
-  [:version, :group, :manifest, :meta_inf].each { |prop| send "#{prop}=", project("ode").send(prop) }
-
-  def distro(project, postfix)
-    id = project.parent.id + postfix
-    project.package(:zip, :id=>id).path("#{id}-#{version}").tap do |zip|
-      zip.include meta_inf + ["RELEASE_NOTES", "README"].map { |f| path_to(f) }
-      zip.path("examples").include project.path_to("src/examples"+postfix), :as=>"."
-
-      # Libraries
-      zip.path("lib").include artifacts(COMMONS.logging, COMMONS.codec, COMMONS.httpclient,
-        COMMONS.pool, COMMONS.collections, JAXEN, SAXON, LOG4J, WSDL4J, XALAN, XERCES)
-      project("ode").projects("utils", "tools", "bpel-compiler", "bpel-api", "bpel-obj", "bpel-schemas").
-        map(&:packages).flatten.each do |pkg|
-        zip.include(pkg.to_s, :as=>"#{pkg.id}.#{pkg.type}", :path=>"lib")
-      end
-
-      # Including third party licenses
-      Dir["#{project.path_to("license")}/*LICENSE"].each { |l| zip.include(l, :path=>"lib") }
-      zip.include(project.path_to("target/LICENSE"))
-
-      # Include supported database schemas
-      Dir["#{project("ode:dao-jpa-ojpa-derby").path_to("target")}/*.sql"].each do |f|
-        zip.include(f, :path=>"sql") unless f =~ /partial/
-      end
-
-      # Tools scripts (like bpelc and sendsoap)
-      bins = file(project.path_to("target/bin")=>FileList[project.path_to("src/bin/*")]) do |task|
-        mkpath task.name
-        cp task.prerequisites, task.name
-        chmod 0755, FileList[task.name + "/*"], :verbose=>false
-      end
-      zip.include(bins)
-
-      yield zip
-      # For some reason this always fails on a clean build, commenting until I have time to inquire
-      # project.check zip, "should contain mysql.sql" do
-      #   it.should contain("sql/mysql.sql")
-      # end
-    end
-  end
-
-  desc "ODE Axis2 Based Distribution"
-  define "distro" do
-    parent.distro(self, "-war") { |zip| zip.include project("ode:axis2-war").package(:war), :as=>"ode.war" }
-    parent.distro(self, "-jbi") { |zip| zip.include project("ode:jbi").package(:zip) }
-
-    # Preparing third party licenses
-    build do
-      Dir.mkdir(project.path_to("target")) unless File.exist?(project.path_to("target"))
-      cp parent.path_to("LICENSE"), project.path_to("target/LICENSE")
-      File.open(project.path_to("target/LICENSE"), "a+") do |l|
-        l <<  Dir["#{project.path_to("license")}/*LICENSE"].map { |f| "lib/"+f[/[^\/]*$/] }.join("\n")
-      end
-    end
-
-    project("ode:axis2-war").task("start").enhance do |task|
-      target = "#{task.path}/webapp/WEB-INF/processes"
-      puts "Deploying processes to #{target}" if verbose
-      verbose(false) do
-        mkpath target
-        cp_r FileList[_("src/examples/*")].to_a, target
-        rm Dir.glob("#{target}/*.deployed")
-      end
-    end
-  end
-
-  package(:zip, :id=>"#{id}-sources").path("#{id}-sources-#{version}").tap do |zip|
-    if File.exist?(".svn")
-      `svn status -v`.reject { |l| l[0] == ?? || l[0] == ?D }.
-        map { |l| l.split.last }.reject { |f| File.directory?(f) }.
-        each { |f| zip.include f, :as=>f }
-    else
-      zip.include Dir.pwd, :as=>"."
-    end
-  end
-
-  package(:zip, :id=>"#{id}-docs").include(javadoc(project("ode").projects).target) unless ENV["JAVADOC"] =~ /^(no|off|false|skip)$/i
-end
+  end
+
+  desc "ODE APIs"
+  define "bpel-api" do
+    compile.with projects("utils", "bpel-obj", "bpel-schemas"), WSDL4J, COMMONS.logging
+    package :jar
+  end
+
+  desc "ODE JCA connector"
+  define "bpel-api-jca" do
+    compile.with project("bpel-api"), JAVAX.connector
+    package :jar
+  end
+
+  desc "ODE BPEL Compiler"
+  define "bpel-compiler" do
+    compile.with projects("bpel-api", "bpel-obj", "bpel-schemas", "utils"),
+      COMMONS.logging, JAVAX.stream, JAXEN, SAXON, WSDL4J, XALAN, XERCES, COMMONS.collections
+    test.resources { filter(project("bpel-scripts").path_to("src/main/resources")).into(test.resources.target).run }
+    package :jar
+  end
+
+  desc "ODE JCA Connector Implementation"
+  define "bpel-connector" do
+    compile.with projects("bpel-api", "bpel-api-jca", "bpel-runtime", "jca-ra", "jca-server")
+    package :jar
+  end
+
+  desc "ODE DAO Interfaces"
+  define "bpel-dao" do
+    compile.with project("bpel-api")
+    package :jar
+  end
+
+  desc "ODE Interface Layers Common"
+  define "bpel-epr" do
+    compile.with projects("utils", "bpel-dao", "bpel-api"),
+      AXIOM, COMMONS.lang, COMMONS.logging, DERBY, JAVAX.connector, JAVAX.stream, JAVAX.transaction, GERONIMO.transaction, GERONIMO.connector, TRANQL, XMLBEANS
+    package :jar
+  end
+
+  desc "ODE BPEL Object Model"
+  define "bpel-obj" do
+    compile.with project("utils"), SAXON, WSDL4J, COMMONS.collections
+    package :jar
+  end
+
+  desc "ODE BPEL Query Language"
+  define "bpel-ql" do
+    pkg_name = "org.apache.ode.ql.jcc"
+    jjtree = jjtree(_("src/main/jjtree"), :in_package=>pkg_name)
+    compile.from javacc(jjtree, :in_package=>pkg_name), jjtree
+    compile.with projects("bpel-api", "bpel-compiler", "bpel-obj", "jacob", "utils")
+
+    package :jar
+  end
+
+  desc "ODE Runtime Engine"
+  define "bpel-runtime" do
+    compile.from apt
+    compile.with projects("bpel-api", "bpel-compiler", "bpel-dao", "bpel-obj", "bpel-schemas",
+      "bpel-store", "jacob", "jacob-ap", "utils"),
+      COMMONS.logging, COMMONS.collections, COMMONS.httpclient, JAXEN, JAVAX.persistence, JAVAX.stream, SAXON, WSDL4J, XMLBEANS
+
+    test.with projects("scheduler-simple", "dao-jpa", "dao-hibernate", "bpel-epr"),
+        BACKPORT, COMMONS.pool, COMMONS.lang, DERBY, JAVAX.connector, JAVAX.transaction,
+        GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, TRANQL, HSQLDB, JAVAX.ejb,
+        LOG4J, XERCES, Buildr::OpenJPA::REQUIRES, XALAN
+
+    package :jar
+  end
+
+  desc "ODE Simple Scheduler"
+  define "scheduler-simple" do
+    compile.with projects("bpel-api", "utils"), COMMONS.collections, COMMONS.logging, JAVAX.transaction
+    test.compile.with HSQLDB, GERONIMO.kernel, GERONIMO.transaction
+    test.with HSQLDB, JAVAX.transaction, JAVAX.resource, JAVAX.connector, LOG4J,
+          GERONIMO.kernel, GERONIMO.transaction, BACKPORT, JAVAX.ejb
+    package :jar
+  end
+
+  desc "ODE Schemas"
+  define "bpel-schemas" do
+    compile_xml_beans _("src/main/xsd/*.xsdconfig"), _("src/main/xsd")
+    package :jar
+  end
+
+  desc "ODE BPEL Test Script Files"
+  define "bpel-scripts" do
+    package :jar
+  end
+
+  desc "ODE Process Store"
+  define "bpel-store" do
+    compile.with projects("bpel-api", "bpel-compiler", "bpel-dao", "bpel-obj", "bpel-schemas", "bpel-epr",
+      "dao-hibernate", "utils"),
+      COMMONS.logging, JAVAX.persistence, JAVAX.stream, HIBERNATE, HSQLDB, XMLBEANS, XERCES, WSDL4J
+    compile { open_jpa_enhance }
+    resources hibernate_doclet(:package=>"org.apache.ode.store.hib", :excludedtags=>"@version,@author,@todo")
+
+    test.with COMMONS.collections, COMMONS.lang, JAVAX.connector, JAVAX.transaction, DOM4J, LOG4J,
+      XERCES, XALAN, JAXEN, SAXON, OPENJPA
+    package :jar
+  end
+
+  desc "ODE BPEL Tests"
+  define "bpel-test" do
+    compile.with projects("bpel-api", "bpel-compiler", "bpel-dao", "bpel-runtime",
+      "bpel-store", "utils", "bpel-epr", "dao-jpa"),
+      DERBY, Java::JUnit::JUNIT_REQUIRES, JAVAX.persistence, OPENJPA, WSDL4J, COMMONS.httpclient,
+    COMMONS.codec
+
+    test.with projects("bpel-obj", "jacob", "bpel-schemas",
+      "bpel-scripts", "scheduler-simple"),
+      COMMONS.collections, COMMONS.lang, COMMONS.logging, DERBY, JAVAX.connector,
+      JAVAX.stream, JAVAX.transaction, JAXEN, HSQLDB, LOG4J, SAXON, XERCES, XMLBEANS, XALAN
+
+    package :jar
+  end
+
+  desc "ODE Hibernate DAO Implementation"
+  define "dao-hibernate" do
+    compile.with projects("bpel-api", "bpel-dao", "bpel-ql", "utils"),
+      COMMONS.lang, COMMONS.logging, JAVAX.transaction, HIBERNATE, DOM4J
+    resources hibernate_doclet(:package=>"org.apache.ode.daohib.bpel.hobj", :excludedtags=>"@version,@author,@todo")
+
+    test.with project("bpel-epr"), BACKPORT, COMMONS.collections, COMMONS.lang, HSQLDB,
+      GERONIMO.transaction, GERONIMO.kernel, GERONIMO.connector, JAVAX.connector, JAVAX.ejb, SPRING
+
+    package :jar
+  end
+
+  desc "ODE Hibernate Compatible Databases"
+  define "dao-hibernate-db" do
+    predefined_for = lambda { |name| _("src/main/sql/simplesched-#{name}.sql") }
+    properties_for = lambda { |name| _("src/main/sql/ode.#{name}.properties") }
+
+    dao_hibernate = project("dao-hibernate").compile.target
+    bpel_store = project("bpel-store").compile.target
+
+    Buildr::Hibernate::REQUIRES[:xdoclet] =  Buildr.group("xdoclet", "xdoclet-xdoclet-module", "xdoclet-hibernate-module",
+      :under=>"xdoclet", :version=>"1.2.3") + ["xdoclet:xjavadoc:jar:1.1-j5"]
+    export = lambda do |properties, source, target|
+      file(target=>[properties, source]) do |task|
+        mkpath File.dirname(target), :verbose=>false
+        # Protection against a buildr bug until the fix is released, avoids build failure
+        class << task ; attr_accessor :ant ; end
+        task.enhance { |task| task.ant = Buildr::Hibernate.schemaexport }
+        
+        hibernate_schemaexport target do |task, ant|
+          ant.schemaexport(:properties=>properties.to_s, :quiet=>"yes", :text=>"yes", :delimiter=>";",
+                           :drop=>"no", :create=>"yes", :output=>target) do
+            ant.fileset(:dir=>source.to_s) { 
+              ant.include :name=>"**/*.hbm.xml"
+              ant.exclude :name=>"**/HMessageExchangeProperty.hbm.xml"}
+          end
+        end
+      end
+    end
+
+    runtime_sql = export[ properties_for[:derby], dao_hibernate, _("target/runtime.sql") ]
+    store_sql = export[ properties_for[:derby], bpel_store, _("target/store.sql") ]
+    derby_sql = concat(_("target/derby.sql")=>[ predefined_for[:derby], runtime_sql, store_sql ])
+    derby_db = Derby.create(_("target/derby/hibdb")=>derby_sql)
+    build derby_db
+
+    %w{ mysql firebird hsql postgres sqlserver oracle }.each do |db|
+      partial = export[ properties_for[db], dao_hibernate, _("target/partial.#{db}.sql") ]
+      build concat(_("target/#{db}.sql")=>[ predefined_for[db], partial ])
+    end
+
+    NativeDB.create_dbs self, _("."), :hib
+
+    package(:zip).include(derby_db)
+  end
+
+  desc "ODE OpenJPA DAO Implementation"
+  define "dao-jpa" do
+    compile.with projects("bpel-api", "bpel-dao", "utils"),
+      COMMONS.collections, COMMONS.logging, JAVAX.connector, JAVAX.persistence, JAVAX.transaction,
+      OPENJPA, XERCES
+    compile { open_jpa_enhance }
+    package :jar
+  end
+
+  desc "ODE OpenJPA Derby Database"
+  define "dao-jpa-ojpa-derby" do
+    %w{ derby mysql oracle }.each do |db|
+      db_xml = _("src/main/descriptors/persistence.#{db}.xml")
+      scheduler_sql = _("src/main/scripts/simplesched-#{db}.sql")
+      partial_sql = file("target/partial.#{db}.sql"=>db_xml) do |task|
+        mkpath _("target"), :verbose=>false
+        Buildr::OpenJPA.mapping_tool :properties=>db_xml, :action=>"build", :sql=>task.name,
+          :classpath=>projects("bpel-store", "dao-jpa", "bpel-api", "bpel-dao", "utils" )
+      end
+      sql = concat(_("target/#{db}.sql")=>[_("src/main/scripts/license-header.sql"), partial_sql, scheduler_sql])
+      build sql
+    end
+    derby_db = Derby.create(_("target/derby/jpadb")=>_("target/derby.sql"))
+
+    test.with projects("bpel-api", "bpel-dao", "bpel-obj", "bpel-epr", "dao-jpa", "utils"),
+      BACKPORT, COMMONS.collections, COMMONS.lang, COMMONS.logging, GERONIMO.transaction,
+      GERONIMO.kernel, GERONIMO.connector, HSQLDB, JAVAX.connector, JAVAX.ejb, JAVAX.persistence,
+      JAVAX.transaction, LOG4J, OPENJPA, XERCES, WSDL4J
+
+    build derby_db
+
+    NativeDB.create_dbs self, _("."), :jpa
+
+    package(:zip).include(derby_db)
+  end
+
+  desc "ODE JAva Concurrent OBjects"
+  define "jacob" do
+    compile.with projects("utils", "jacob-ap"), COMMONS.logging
+    compile.from apt
+
+    package :jar
+  end
+
+  desc "ODE Jacob APR Code Generation"
+  define "jacob-ap" do
+    compile.with Java.tools_jar
+    package :jar
+  end
+
+  desc "ODE JBI Integration Layer"
+  define "jbi" do
+    compile.with projects("bpel-api", "bpel-connector", "bpel-dao", "bpel-epr", "bpel-obj",
+      "bpel-runtime", "scheduler-simple", "bpel-schemas", "bpel-store", "utils"),
+      AXIOM, COMMONS.logging, COMMONS.pool, JAVAX.transaction, JBI, LOG4J, WSDL4J, XERCES
+
+    package(:jar)
+    package(:jbi).tap do |jbi|
+      libs = artifacts(package(:jar),
+        projects("bpel-api", "bpel-api-jca", "bpel-compiler", "bpel-connector", "bpel-dao",
+        "bpel-epr", "jca-ra", "jca-server", "bpel-obj", "bpel-ql", "bpel-runtime",
+        "scheduler-simple", "bpel-schemas", "bpel-store", "dao-hibernate", "dao-jpa",
+        "jacob", "jacob-ap", "utils"),
+        ANT, AXIOM, BACKPORT, COMMONS.codec, COMMONS.collections, COMMONS.dbcp, COMMONS.lang, COMMONS.pool,
+        COMMONS.primitives, DERBY, GERONIMO.connector, GERONIMO.transaction, JAXEN, JAVAX.connector, 
+        JAVAX.ejb, JAVAX.jms, JAVAX.persistence, JAVAX.stream, JAVAX.transaction, LOG4J, OPENJPA, 
+        SAXON, TRANQL, XALAN, XERCES, XMLBEANS, XSTREAM, WSDL4J)
+
+      jbi.component :type=>:service_engine, :name=>"OdeBpelEngine", :description=>self.comment
+      jbi.component :class_name=>"org.apache.ode.jbi.OdeComponent", :libs=>libs
+      jbi.bootstrap :class_name=>"org.apache.ode.jbi.OdeBootstrap", :libs=>libs
+      jbi.merge project("dao-hibernate-db").package(:zip)
+      jbi.merge project("dao-jpa-ojpa-derby").package(:zip)
+      jbi.include path_to("src/main/jbi/ode-jbi.properties")
+    end
+
+    test.with projects("dao-jpa", "bpel-compiler", "bpel-api-jca", "jca-ra",
+      "jca-server", "jacob"),
+      BACKPORT, COMMONS.lang, COMMONS.collections, DERBY, GERONIMO.connector, GERONIMO.kernel,
+      GERONIMO.transaction, JAVAX.connector, JAVAX.ejb, JAVAX.persistence, JAVAX.stream,
+      JAVAX.transaction, JAXEN, JBI, OPENJPA, SAXON, SERVICEMIX, SPRING, TRANQL,
+      XALAN, XBEAN, XMLBEANS, XSTREAM
+    test.using :properties=>{ "jbi.install"=>_("target/smixInstallDir"),  "jbi.examples"=>_("../distro/src/examples-jbi/") }
+    test.setup unzip(_("target/smixInstallDir/install/ODE")=>project("dao-jpa-ojpa-derby").package(:zip))
+  end
+
+  desc "ODE JCA Resource Archive"
+  define "jca-ra" do
+    compile.with project("utils"), JAVAX.connector
+    package :jar
+  end
+
+  desc "ODE JCA Server"
+  define "jca-server" do
+    compile.with projects("jca-ra", "utils"), COMMONS.logging
+    package :jar
+  end
+
+  desc "ODE Tools"
+  define "tools" do
+    compile.with projects("bpel-compiler", "utils"), ANT, COMMONS.httpclient, COMMONS.logging
+    package :jar
+  end
+
+  desc "ODE Utils"
+  define "utils" do
+    compile.with AXIOM, AXIS2_ALL, COMMONS.collections, COMMONS.logging, COMMONS.pool, COMMONS.httpclient, COMMONS.codec, LOG4J, XERCES, JAVAX.stream, WSDL4J
+    test.exclude "*TestResources"
+    package :jar
+  end
+
+end
+
+define "apache-ode" do
+  [:version, :group, :manifest, :meta_inf].each { |prop| send "#{prop}=", project("ode").send(prop) }
+
+  def distro(project, postfix)
+    id = project.parent.id + postfix
+    project.package(:zip, :id=>id).path("#{id}-#{version}").tap do |zip|
+      zip.include meta_inf + ["RELEASE_NOTES", "README"].map { |f| path_to(f) }
+      zip.path("examples").include project.path_to("src/examples"+postfix), :as=>"."
+
+      # Libraries
+      zip.path("lib").include artifacts(COMMONS.logging, COMMONS.codec, COMMONS.httpclient,
+        COMMONS.pool, COMMONS.collections, JAXEN, SAXON, LOG4J, WSDL4J, XALAN, XERCES)
+      project("ode").projects("utils", "tools", "bpel-compiler", "bpel-api", "bpel-obj", "bpel-schemas").
+        map(&:packages).flatten.each do |pkg|
+        zip.include(pkg.to_s, :as=>"#{pkg.id}.#{pkg.type}", :path=>"lib")
+      end
+
+      # Including third party licenses
+      Dir["#{project.path_to("license")}/*LICENSE"].each { |l| zip.include(l, :path=>"lib") }
+      zip.include(project.path_to("target/LICENSE"))
+
+      # Include supported database schemas
+      Dir["#{project("ode:dao-jpa-ojpa-derby").path_to("target")}/*.sql"].each do |f|
+        zip.include(f, :path=>"sql") unless f =~ /partial/
+      end
+
+      # Tools scripts (like bpelc and sendsoap)
+      bins = file(project.path_to("target/bin")=>FileList[project.path_to("src/bin/*")]) do |task|
+        mkpath task.name
+        cp task.prerequisites, task.name
+        chmod 0755, FileList[task.name + "/*"], :verbose=>false
+      end
+      zip.include(bins)
+
+      yield zip
+      # For some reason this always fails on a clean build, commenting until I have time to inquire
+      # project.check zip, "should contain mysql.sql" do
+      #   it.should contain("sql/mysql.sql")
+      # end
+    end
+  end
+
+  desc "ODE Axis2 Based Distribution"
+  define "distro" do
+    parent.distro(self, "-war") { |zip| zip.include project("ode:axis2-war").package(:war), :as=>"ode.war" }
+    parent.distro(self, "-jbi") { |zip| zip.include project("ode:jbi").package(:zip) }
+
+    # Preparing third party licenses
+    build do
+      Dir.mkdir(project.path_to("target")) unless File.exist?(project.path_to("target"))
+      cp parent.path_to("LICENSE"), project.path_to("target/LICENSE")
+      File.open(project.path_to("target/LICENSE"), "a+") do |l|
+        l <<  Dir["#{project.path_to("license")}/*LICENSE"].map { |f| "lib/"+f[/[^\/]*$/] }.join("\n")
+      end
+    end
+
+    project("ode:axis2-war").task("start").enhance do |task|
+      target = "#{task.path}/webapp/WEB-INF/processes"
+      puts "Deploying processes to #{target}" if verbose
+      verbose(false) do
+        mkpath target
+        cp_r FileList[_("src/examples/*")].to_a, target
+        rm Dir.glob("#{target}/*.deployed")
+      end
+    end
+  end
+
+  package(:zip, :id=>"#{id}-sources").path("#{id}-sources-#{version}").tap do |zip|
+    if File.exist?(".svn")
+      `svn status -v`.reject { |l| l[0] == ?? || l[0] == ?D }.
+        map { |l| l.split.last }.reject { |f| File.directory?(f) }.
+        each { |f| zip.include f, :as=>f }
+    else
+      zip.include Dir.pwd, :as=>"."
+    end
+  end
+
+  package(:zip, :id=>"#{id}-docs").include(javadoc(project("ode").projects).target) unless ENV["JAVADOC"] =~ /^(no|off|false|skip)$/i
+end
 
 # Helper methods 
 ###################
@@ -607,34 +607,34 @@
     end
   end
 end
-def prepare_secured_services_tests(test_dir, file_pattern)
-    task(test_dir.to_sym) do 
-      # copy the required modules
-      mkdir "#{test_dir}/modules" unless File.directory? "#{test_dir}/modules"
-      artifacts(AXIS2_MODULES.mods).map {|a| a.invoke }
-      cp AXIS2_MODULES.mods.map {|a| repositories.locate(a)} , _("#{test_dir}/modules")
-      # generate one process per test
-      Dir.chdir(test_dir) do
-        Dir[file_pattern].each do |config_file| 
-          sample_name = File.basename(config_file, "."+config_file.split('.').last)
-          # create process directory
-          proc_dir = "process-#{sample_name}"
-          mkdir proc_dir unless File.directory? proc_dir
-          # copy files
+def prepare_secured_services_tests(test_dir, file_pattern)
+    task(test_dir.to_sym) do 
+      # copy the required modules
+      mkdir "#{test_dir}/modules" unless File.directory? "#{test_dir}/modules"
+      artifacts(AXIS2_MODULES.mods).map {|a| a.invoke }
+      cp AXIS2_MODULES.mods.map {|a| repositories.locate(a)} , _("#{test_dir}/modules")
+      # generate one process per test
+      Dir.chdir(test_dir) do
+        Dir[file_pattern].each do |config_file| 
+          sample_name = File.basename(config_file, "."+config_file.split('.').last)
+          # create process directory
+          proc_dir = "process-#{sample_name}"
+          mkdir proc_dir unless File.directory? proc_dir
+          # copy files
           cp config_file, proc_dir
-          # copy files from template and replace variable names
-          Dir["process-template/*"].each do |file|
-            lines = IO.readlines(file)
-            # copy file and replace template values
-            File.open("#{proc_dir}/#{File.basename(file)}", 'w') { |f| 
-              lines.each { |l| 
-                l.gsub!("{sample.namespace}", "http://#{sample_name.gsub('-','.')}.samples.rampart.apache.org")
-                l.gsub!("{sample.service.name}", sample_name)
-                f<<l
-              }
-            }
-          end
-        end
-      end
-   end
+          # copy files from template and replace variable names
+          Dir["process-template/*"].each do |file|
+            lines = IO.readlines(file)
+            # copy file and replace template values
+            File.open("#{proc_dir}/#{File.basename(file)}", 'w') { |f| 
+              lines.each { |l| 
+                l.gsub!("{sample.namespace}", "http://#{sample_name.gsub('-','.')}.samples.rampart.apache.org")
+                l.gsub!("{sample.service.name}", sample_name)
+                f<<l
+              }
+            }
+          end
+        end
+      end
+   end
 end