ESB Deployment Automation Fault

I'm using the ant ESB Deployment Automation tasks authored by Doug Gschwind and referenced in other threads. I get a build failed error when trying to extract an ESB deployment plan. The error states that the output file already exists but the directory where it resides cannot be written or the filename does not have a .xml extension.
My set up is:
D:\temp - contains ESBMetadataMigrationTaskdefs.xml, ESBMetadataMigration.jar, my ant project file and the output file (PMSProto1Plan.xml). Both the directory and file are not read only.
I had to install commons-httpclient and also JAXB (from Sun Java Web Services Developer Kit). I did note that I had to find jsr173_1.0_api.jar under my JDeveloper home. I used your sample exampleBuild.xml as the basis of my ant file.
My extract file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<project name="ESBMetadataDeployment" default="usage" basedir=".">
<property name="esbProjectToDeploy" value="D:\Oracle\JDeveloper\jdev\mywork\CVSTest\LR\PMSProto1"/>
<property name="deploymentPlanFilename" value="${basedir}/PMSProto1Plan.xml/"/>
<import file="${basedir}/ESBMetadataMigrationTaskdefs.xml"/>
<target name="test.ExtractESBDeploymentPlan">
<extractESBDeploymentPlan sourceDir="${esbProjectToDeploy}" deploymentPlanFile="${deploymentPlanFilename}"/>
</target>
<target name="usage">
<exec executable="ant" dir="${basedir}" vmlauncher="false">
<arg value="-projecthelp"/>
</exec>
</target>
</project>
My ESBMetadataMigrationTaskdefs.xml looks like:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- The import of this ant build file, by another ant build file, enables the
- use of the custom ant tasks present in ESBMetadataMigration.jar
- Doug Gschwind
- 12 Dec 2006
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<project name="ESBMetadataMigrationTaskdefs">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- PROPERTIES, Subject to the installation environment
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<property name="commons.httpclient.home" value="C:/Program Files/ApacheGroup/commons-httpclient-3.0.1"/>
<property name="jaxb.v2.0.2.home" value="C:/Sun/jwsdp-2.0"/>
<property name="soa.suite.home" value="D:/product/10.1.3.1/OracleAS_2"/>
<property name="JDev.home" value="D:/oracle/JDeveloper"/>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Custom ant task definitions, to enable import.
- This section should be treated as immutable upon installation.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<dirname property="imported.basedir" file="${ant.file.ESBMetadataMigrationTaskdefs}"/>
<taskdef resource="oracle/tip/esb/client/anttasks/antlib.xml">
<classpath>
<pathelement location="${imported.basedir}/ESBMetadataMigration.jar"/>
<pathelement location="${commons.httpclient.home}/commons-httpclient-3.0.1.jar"/>
<pathelement location="${soa.suite.home}/lib/xmlparserv2.jar"/>
<pathelement location="${soa.suite.home}/integration/esb/lib/commons-logging.jar"/>
<pathelement location="${soa.suite.home}/integration/esb/lib/commons-codec-1.3.jar"/>
<pathelement location="${soa.suite.home}/integration/esb/lib/oraesb.jar"/>
<pathelement location="${jaxb.v2.0.2.home}/jwsdp-shared/lib/activation.jar"/>
<pathelement location="${jaxb.v2.0.2.home}/jaxb/lib/jaxb-api.jar"/>
<pathelement location="${JDev.home}/integration/lib/jsr173_1.0_api.jar"/>
<pathelement location="${jaxb.v2.0.2.home}/jaxb/lib/jaxb-impl.jar"/>
</classpath>
</taskdef>
</project>
I'm using JDev 10.1.3.3.0.4157 and SOA Suite 10.1.3.3
Has anybody hit this issue before and hopefully a solution ? Thanks.

For what it is worth I can confirm that what user531376 describes is the correct answer to the problem. Add this line:
<delete file="${deploymentPlanFilename}" verbose="true"/>
to the ExtractESBDeploymentPlan target and you should be fine.
Maybe this blog post (shameless self-promotion) adds to your knowledge: http://technology.amis.nl/blog/?p=2371.
Happy building, Sjoerd

Similar Messages

  • BPEL deployment automation

    Hi all.
    I've been reading about the efforts regarding esb deployment automation:
    Dealing with changing service wsdl locations  in the ESB
    Now, I'd like to know about the latest best practices regarding BPEL deployment automation for different environments.
    I was wondering if there's some already tested ant configuration for deploying multiple BPEL projects at the same time using a specific bpel.xml
    Thanks
    Denis

    I created an article on this issue:
    http://orasoa.blogspot.com/2006/08/using-ant-in-bpel-environment.html

  • ESB Deployment without JDeveloper

    Hi,
    Can any one let me know how to deploy ESB Project (SOA Suite 10.1.3)
    without using JDeveloper.
    Essentially i am looking for 'ant' or 'obant' kind of utility for ESB deployment.
    I have used obant for BPEL deployment but can't find anywhere how to use it for ESB deployment.
    Regards
    Vikas Sharma

    ESB has an export/import facility. You can export from your dev environment, which will give you a zipfile.
    This zip can be moved and imported into another ESB environment.
    the export and import utilities are shipped with the ESB product.
    Marc.

  • Azure package deployment automation

    Hi All,
    I am looking for Azure package deployment automation. Let me know if any article or any other stuffs will be great help..
    Thanks,
    Bhupi..

    There are several good resources about
    Continuous Delivery for Azure by using TFS , works both for TFS Services and similarly for TFS on premise. I think this is a good starting point also if you look to develop something custom.

  • ESB deployment/registration

    Hi All,
    We are trying to figure out the deployment/registration starteagy for ESB projects.As one can deploy BPEL using properties files for changing the runtime settings and use ant for command prompt deployment; as far as we can find ESB can only be registered from JDev.
    Any pointers to best practice for ESB deployment and if it could be done that way we can deploy BPEL projects after substituing properties like server name etc.
    Thanks
    Message was edited by:
    user591048

    Sjoerd Michels made a nice post of how to build the whole soademo, included esb.
    http://technology.amis.nl/blog/?p=1655
    Dave Berry links to this post on the forum :
    Dealing with changing service wsdl locations  in the ESB
    And the zipfile :
    http://www.oracle.com/technology/products/integration/esb/files/esbdeploymentautomation.zip

  • Oracle Service Bus Configurations version control and deployment automation

    Hi,
    Currently we have OSB10gR3 installed and we use the web based sbconsole to create projects and proxy services. It's all working well and good!!
    We are at the state where we need to think about source control, migration of artifacts from dev to test and to prod.
    I'm looking for pointers to version control the artifacts of OSB projects, what could be version controlled (no binaries) and how do we extract those artifacts?
    How do we customize those artifacts while migrating to different environments in an automated fashion?
    Please point me to best practices and gotchas that we should be aware of while dealing with deploying OSB proejcts from test to Prod.
    Thanks in Advance!!

    After reading the threads mentioned by Deba, I'm able to get this all worked out with SBConsole itself. Experts, please review my approach below and let me know if I have overlooked anything.
    Simple advantage I see in using sbconsole is that it requires less maintenance, i.e. avoids rolling out another IDE (Eclipse -Workshop plug-in) to IT developers and at the same time provides the functionality that we are looking for. Currently, JDeveloper is our primary IDE, so we thought it's best to wait till OSB development gets integrated into JDev.
    This is the deployment workflow which worked for us,
    Developer:
    1)Develops Proxy services using SBconsole in Dev environment.
    2)Creates sbconfig.jar by using the export functionality available in System Administration link in sbconsole
    3)Checks-in ALL the files present in the above jar into version control under the proxy service project name
    4) Creates customization file using the customization file link in System Administration and modifies the value for each environment i.e. creates two files test_customfille, prod_customfile
    5)Checks-in the customization files into version control under the same proxy service project
    Promotion to Test and Prod
    1) From the source control, service proxy is built (actually the jar file of all files including the custom file is created)
    2) SCP proxy_sbconfig.jar file to Test or Prod box
    3) Follow the steps mentioned in Auto deploy of ALSB/OSB artifacts - Proxy, WSDL and webservices...
    4) Depending on the server, test or prod, pick the right customization file and deploy using ANT.
    Thanks!!

  • ESB -- Routing the fault

    hi,
    I am new to ESB development. Please share your thoughts on the following:
    1. When I register a new/modified ESB process, a dialogbox with the below message comes up, if ok is clicked then shows the Registration Summary window with service registration successful message.
    "Reload services from ESB Server failed while trying to query new service definitions from server. Exception=Start of root element expected."
    2. I created an esb process which connects two dbs.
    DBAdapter1(polling)--> RS1 -->RS2--> DBAdapter2(insert). RS1(fault) -->SOAP Invocation (A bpel process)
    I have a BPEL process (With pick activity, onMessage branch) for exception handling. The same schema is used to create a fault/reply in RS2. But the DB errors(say, target DB is down) are not routed to BPEL process even if I select the soap service in Fault target.
    Thanks,
    AP

    Sorry Dave, I was browsing old posts and I've just realized that you answered and asked a question :)
    I don't know at all if it is a convincing or even a real use case. What I needed to do is to expose a service which outputs a group of logically cohesive data, but these data are available from different services. That's why I tried merging the XML documents. I don't think it's really the scope of BPEL, but maybe I'm dead wrong. Additionally, this is a very simple transformation and I read this thread: Where to do transformations?  ESB or BPEL where you mentioned the performance difference between ESB and BPEL, which can be convincing.
    Thanks,
    Patrik

  • Regarding ESB Deployment without using JDeveloper

    Hi,
    I would like to deploy my ESB application without using JDeveloper. BPEL Designer automatically creating the build script to deploy the BPEL application. Is there any ant script available to deploy the ESB application in to Oracle integration server.? Please let us know.
    Regards
    Niraimathi R

    Niraimathi,
    I had the same question - see Re: Registering ESB Services without JDeveloper
    Dave Berry from Oracle kindly gave me a sneak preview of the jars and tags required in order to register ESB services from ANT.
    I now have a continuous build environment (using Cruise Control), linked into Subversion which deploys all my BPEL Processes and registers my ESB services.
    I believe that the JARs and instructions on how to register ESB services using ANT will be available on OTN soon.
    Kind Regards,
    Mark.

  • Failure upon calling web service on the ESB deployed from jDeveloper

    Hello!
    I've created a database adapter and a routing service that calls the database adapter. When registering the services on the ESB, I get error when I try to call it, as the Wsdl references a wsdl file on http://localhost:8888...... As I see it, it should refer to in on the same server as the esb (soa suite) runs? I think this might be a deployment issue in jDeveloper, maybe ant? Any clue on this?
    brgds, Paul Jørstad

    Thank you very much for you reply!
    But I do not get any further.. In the ESB control, the Soap Endpoint URI still says:
    SOAP Endpoint URI
    http://localhost:8888/event/xal/rs_product_p_get_complete_bom_flat
    And in my wsdl file:
    <soap:address location="http://oslsoad1/event/xal/rs_product_p_get_complete_bom_flat"/>
    I've tried to de-register, and register the service.

  • ESB deployment structure

    Hi,
    While registering the esb in the integration server its getting deployed in the following format
    ApplicationName_ProjectName
    is there any way to make it as
    ApplicationName/ProjectName (i.e project name should be the sub folder of the application folder)
    your quick response is appreciated.
    Regards,
    Kishore.

    Hi Abhi,
    We need to deploy all the common artifacts(all the schemas used by the proiject ) into one ESB kind of project.In the remaining schemas we need to import the deployed schemas.
    In this case for example we have the application CommonArtifacts in that we have project Schemas in which we will have all the schemas
    CommonArtifacts/Schemas/schema1.xsd
    CommonArtifacts/Schemas/schema2.xsd
    CommonArtifacts/Schemas/schema3.xsd
    CommonArtifacts/Schemas/schema4.xsd .... like this..
    in the importing if we write like
    <xsd:import schemaLocation="../../CommonArtifacts/Schemas/schema1.xsd"
    namespace="http://www.orst.com/schema1"/>
    the schema in which we are importing this will not get resolved because of the deployment folder structure
    Do you understand the scenario ?
    Regards,
    Kishore.

  • Service Registry deployment automation

    Hi,
    I'm wondering if there is a way to automate the deployment of artifacts onto the Service Registry using ANT or something?
    I know there is the Java API which publishes artifacts, but is there a way to integrate these with ANT scripts?
    Any ideas are welcome
    Thanks
    Vikas

    It is a bug for which the last update in the bug report has been done on january the 12th 2010, so think hopes for a resolution are nill.
    See oracle support web; Bug 9216686: UDDI REGISTRY NOT FUNCTIONAL ON ORACLE APPLICATION SERVER 10.1.3.5
    https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=9216686&productFamily=Oracle
    Cheers,
    Peter

  • Build and Deployment Automation

    Hi,
    What are the best ways to Automate the build and deployment process to reduce time and increase accuracy. are there any recommendations to make the Build & Deployment process effective?
    Thanks & Regards

    Hi,
    For the builds you can use TFS builds (if you are using VSO hosted build services), and use VS 2013 Release Management to create release pipelines through different stages (For VSO use release management services).
    You can get details from below links
    https://curah.microsoft.com/42805/getting-started-with-release-management
    https://msdn.microsoft.com/en-us/library/dn449957.aspx
    http://www.visualstudio.com/en-us/explore/release-management-vs.aspx 
    https://msdn.microsoft.com/en-us/library/dd793166.aspx
    http://nakedalm.com/configuring-jenkins-talk-tfs-2013/
    http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/19/building-ios-apps-in-tfs.aspx
    I just provided general information. If you have more questions when implementing, ask here and we will support you.
    Cheers!
    Chaminda

  • ESB deployment - jaxb exception

    [extractESBDeploymentPlan] javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package oracle.tip.esb.client.metadata.deploymentplan.model
    [extractESBDeploymentPlan]      at javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:205)
    [extractESBDeploymentPlan]      at javax.xml.bind.ContextFinder.find(ContextFinder.java:149)
    [extractESBDeploymentPlan]      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
    [extractESBDeploymentPlan]      at oracle.tip.esb.client.metadata.deploymentplan.utils.DeploymentPlanUtils.getJAXBContext(DeploymentPlanUtils.java:37)
    [extractESBDeploymentPlan]      at oracle.tip.esb.client.metadata.deploymentplan.utils.DeploymentPlanUtils.getMarshaller(DeploymentPlanUtils.java:65)
    [extractESBDeploymentPlan]      at oracle.tip.esb.client.anttasks.ExtractESBDeploymentPlanTask.saveDeploymentPlan(ExtractESBDeploymentPlanTask.java:506)
    [extractESBDeploymentPlan]      at oracle.tip.esb.client.anttasks.ExtractESBDeploymentPlanTask.execute(ExtractESBDeploymentPlanTask.java:541)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [extractESBDeploymentPlan]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [extractESBDeploymentPlan]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [extractESBDeploymentPlan]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [extractESBDeploymentPlan]      at java.lang.reflect.Method.invoke(Method.java:585)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [extractESBDeploymentPlan]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [extractESBDeploymentPlan]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
    [extractESBDeploymentPlan]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [extractESBDeploymentPlan]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [extractESBDeploymentPlan]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [extractESBDeploymentPlan]      at java.lang.reflect.Method.invoke(Method.java:585)
    [extractESBDeploymentPlan]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
    [extractESBDeploymentPlan]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
    [extractESBDeploymentPlan]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Target 'AntTest' failed with message 'javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package oracle.tip.esb.client.metadata.deploymentplan.model'.
    BUILD FAILED
    AntTestBuild.xml:11: javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package oracle.tip.esb.client.metadata.deploymentplan.model
         at oracle.tip.esb.client.anttasks.ExtractESBDeploymentPlanTask.execute(ExtractESBDeploymentPlanTask.java:546)
    I am trying to build an ESB project with a deplyoment plan, or rather I'm trying to generate a deplyoment plan first.
    I am stuck on this jaxb exception and would really appreciate some help.
    I am using the correct jaxb version (I've tried several different version), I've set classpath in jdev (10.1.3.4) and the lib directories are correct in the ESBMetadataMigrationTaskdefs.xml:
    <taskdef resource="oracle/tip/esb/client/anttasks/antlib.xml">
    <classpath>
    <pathelement location="${esbdeployment.home}/ESBMetadataMigration.jar"/>
    <pathelement location="${commons.httpclient.home}/commons-httpclient-3.1.jar"/>
    <pathelement location="${soa.suite.home}/lib/xmlparserv2.jar"/>
    <pathelement location="${soa.suite.home}/integration/esb/lib/commons-logging.jar"/>
    <pathelement location="${esbdeployment.home}/commons-codec-1.2.jar"/>
    <pathelement location="${soa.suite.home}/integration/esb/lib/oraesb.jar"/>
    <pathelement location="C:\esbdeploymentautomation\jaxb-ri-20120516\lib\activation.jar"/>
    <pathelement location="C:\esbdeploymentautomation\jaxb-ri-20120516\lib\jaxb-api.jar"/>
    <!--pathelement location="C:\esbdeploymentautomation\jaxb-ri-20120516\lib\jsr173_1.0_api.jar"/-->
    <pathelement location="C:\esbdeploymentautomation\jaxb-ri-20120516\lib\jaxb-impl.jar"/>
    </classpath>
    </taskdef>
    </project>

    The SOA Suite may give you better support for this kind of ESB related questions.
    -Eric

  • Beginner's question about scripting and deployment automation

    I am new to the SAP and BusinessObjects world.  I do production support for BusinessObjects XI R3.1.  One of my functions is to deploy Universe.unv and WEBI Report files from development into QA and production.  This is currently a manual process involving downloading files and lots of key strokes and mouse clicks using the BusinessObjects Client Tools.  My question ->:  is there a way to automate this process?  Can I do this with the SAP scripting wizard?  I am familiar with many different scripting and programming languages, I just need to be pointed in the right direction.
    Thanks for your help!

    I would take a step back and learn more about the fundamentals of Flash before going farther. In the Welcome Screen of Flash Profressional there is a "Learn" section. Here are some links from it:
    Introducing Flash: http://www.adobe.com/go/fl_learn1
    Symbols: http://www.adobe.com/go/fl_learn2
    Timelines and Animation: http://www.adobe.com/go/fl_learn3
    Instance Names: http://www.adobe.com/go/fl_learn4
    Simple Interactivity: http://www.adobe.com/go/fl_learn5
    ActionScript: http://www.adobe.com/go/fl_learn6

  • Deployment of ESB for 10.1.3.4 (trying to amend Endpoint properties)

    I have downloaded the new deployment code (esbdeploymentautomation) to enable you to deploy an ESB between environments.
    I am deplying an ESB process from Dev to Systest.
    I have amended the build_tst.properties file to include all the relevant info and the build.properties.
    At the bottom of this file I have added
    # Values required for replace tasks.
    code_dir=C:\Project\Client\jdev\jdev\mywork\dii\esbInt110Flow
    search_text=/u01/esb/out/XX/int110_01
    replace_text=/u01/esb/XX/INT110/out
    These lines are trying to change the Endpoint property of a FileAdapter where the directories are different in the new environment.
    I run extract.sh and it successfully creates a deploymentPlan_tst.xml. Great!!
    I can then successfully run the deploy.sh and it deploys my ESB into the new environment but it doesn't change the Endpoint property.
    When you look at the log files generated it doesn't even appear to try and run the replaceToken process.
    Any ideas if this replaceTokens actually works?
    When the extract.sh is run it also generates logging which seems to suggest the replaceTokens runs after the DeployESBSuitcase:
    *Build sequence for target(s) `ExtractESBDeploymentPlan' is [ExtractESBDeploymentPlan]*
    *Complete build sequence is [ExtractESBDeploymentPlan, DeployESBSuitcase, replaceTokens, usage, UndeployESBEntities, ]*
    But from what I can see when you finally run the deploy.sh it only runs the DeployESBSuitcase process and nothing else.
    The only reason for using this automaytion process is so that we can amend Endpoint properties and URLs as we deploy but this is the part that doesn't seem to work....
    Help!!
    Regards
    Stuart

    You need to run the replaceToken before the deployESBSuitecase.
    Here is my example, it does a find and replace on host name
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <project name="ESBDeploymentProject" default="usage">
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Properties
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <property environment="env"/>
    <property name="esbProjectToDeploy" value="${basedir}/deployment"/>
    <property name="deploymentPlanFilename" value="${esbProjectToDeploy}/deploymentPlan.xml"/>
    <property name="ImportFilename" value="${env.ORACLE_HOME}/Deployment/deploy/lib/ESBMetadataMigrationTaskdefs.xml"/>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Environment specific properties
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <echo>Property Files ${env.ORACLE_HOME}/Deployment/deploy/resources/esb.${env.paramtarget}.properties</echo>
    <property file="${env.ORACLE_HOME}/Deployment/deploy/resources/esb.${env.paramtarget}.properties" />
    <property name="targetDeploymentPlanFilename" value="${esbProjectToDeploy}/${esb.deployTargetPlan}"/>
    <target name="param-target-chk" unless="env.paramtarget">
    <fail message="Target deployment environment parameter not set" />
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Import, to enable the custom ESB Metadata Deployment ant tasks
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <echo>Import ${ImportFilename}</echo>
    <import file="${ImportFilename}"/>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - ESB Deployment Automation
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="DeployESBProject" depends="param-target-chk">
    <deployESBProjects
    esbMetadataServerHostname="${soa.suite.hostname}"
    esbMetadataServerPort="${soa.suite.port}"
    userName="${soa.suite.admin.username}"
    password="${env.soapassword}">
    <esbProject directory="${basedir}"/>
    </deployESBProjects>
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - List the GUID's for the UndeployESBEntities target e.g.:
    <system guid="8D61C3F0871111DB8F2675C60E6C31C6"/>
    <serviceGroup guid="0EB5F380896111DBBFBC9530C01627AC"/>
    <service guid="0547F370841611DBBFCF2D9BF80323FA"/>
    <serviceGroup guid="B90E6B70895F11DBAF1483EEF470B835"/>
    <system guid="A62C91C1841511DBBFCF2D9BF80323FA"/>
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="UndeployESBEntities" depends="param-target-chk">
    <undeployESBEntities
    esbMetadataServerHostname="${soa.suite.hostname}"
    esbMetadataServerPort="${soa.suite.port}"
    userName="${soa.suite.admin.username}"
    password="${env.soapassword}">
    <system guid="ED8243D1B9A211DCAF33D38D99DD8682"/>
    <service guid="63085310B9A311DCAF33D38D99DD8682"/>
    </undeployESBEntities>
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Metadata Promotion to different ESB Metadata Servers (environments)
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="ExtractESBDeploymentPlan">
    <mkdir dir="${esbProjectToDeploy}"/>
    <delete file="${deploymentPlanFilename}" verbose="true"/>
    <extractESBDeploymentPlan
    sourceDir="${basedir}"
    deploymentPlanFile="${deploymentPlanFilename}"/>
    </target>
    <target name="ModifyESBDeploymentPlan" depends="param-target-chk">
    <!-- <xmltask source="${deploymentPlanFilename}" dest="${targetDeploymentPlanFilename}">
    <replace path="/deploymentPlan/systemDeploymentPlan/properties/property[@name = 'Host']/@value" withText="${soa.suite.hostname}" />
    <replace path="/deploymentPlan/systemDeploymentPlan/properties/property[@name = 'Port']/@value" withText="${soa.suite.port}" />
    </xmltask> -->
    <copy file="${deploymentPlanFilename}" tofile="${targetDeploymentPlanFilename}"/>
    <replaceregexp file="${targetDeploymentPlanFilename}"
    match="http://[^/]*/"
    replace="http://${soa.suite.hostname}:${soa.suite.port}/"
    byline="true" />
    </target>
    <target name="DeployESBSuitcase"
    depends="param-target-chk, ExtractESBDeploymentPlan, ModifyESBDeploymentPlan">
    <deployESBSuitcase
    esbMetadataServerHostname="${soa.suite.hostname}"
    esbMetadataServerPort="${soa.suite.port}"
    sourceDirectory="${basedir}"
    deploymentPlanFilename="${targetDeploymentPlanFilename}"
    forcedDeployment="true"/>
    </target>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Usage
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <target name="usage">
    <echo>
    ======== Environment =====================================================
    SOA_DA_HOME = ${env.SOA_DA_HOME}
    CLASSPATH = ${env.CLASSPATH}
    ANT_HOME = ${env.ANT_HOME}
    ENVIRONMENT = ${env.paramtarget}
    ======== Properties =====================================================
    basedir = ${basedir}
    SOA Suite server = ${soa.suite.hostname}:${soa.suite.port}
    OC4J instance = ${soa.suite.oc4j.instancename}
    ==============================================================================
    </echo>
    <exec executable="ant" dir="${basedir}" vmlauncher="false">
    <arg value="-projecthelp"/>
    </exec>
    </target>
    </project>
    cheers
    James

Maybe you are looking for

  • Why won't font book changes hold?

    Several times I have gone into the Font Book application and unselected duplicate fonts and done the same for fonts I don't want to use. Yet before long, all are selected again -- everything. I think it is happening whenever I flush caches as part of

  • Multiple compnay codes--Blue print template

    Hi Guys, I need a Business Blue Print Template with Multiple Company codes,for Reference.Please send the documet to [email protected] thanks in advance and points will be assigned.. suresh

  • CKMM for special stock.

    Hi all, We plan to change price determination of materials from 2 to 3, new price control = S, using CKMM. I noticed that there is an option to choose special stock in part "Restrict Material Stock". I have searched SAP notes and found that this opti

  • HT201272 how to change a rescue email

    im trying to change my apple id but it is saying that i cannot make my new id because it is my rescue email.  i have added several different emails but i do not know how to change any of them to the "rescue email"

  • I have a new iPhone. I want to transfer Notes from an iPod Touch 3 to my iPhone using iCloud but I can't get anywhere. Help.

    I have a new iPhone and I want to transfer my Notes from an iPod Touch 3. I've tried using iCloud but can't get anywhere. Help.