How to automate the build and deploy?

Is there any way to build and deploy component to UCM using command line? such as ant script? or is there anyway to run "component wizard" in a command line without GUI? I'm looking for a way to automate the build and deploy process.
Thanks

Here is link for build script using ant
http://wiki.oracle.com/page/UCM+Ant+Buid+Script
there are some videos in you tube also
http://www.youtube.com/watch?v=QIT6gkEC2Tc

Similar Messages

  • How to automate the build of CompositeApplication for different environment

    Hi,
    I have a scenerio where i have to automate the build process of composite application.
    For Example :
    I have a Composite application currently configured for my DEV Environment. I have two more environments UAT, and IST on which the same Composite Application should be deployed. The environment details such as 1) Host Name , 2) Port Number , for UAT and IST are different.
    I need to create an automation script which takes in the different environment details and builds the CompositeApplication Project.
    Please help, if you have any solution or Please provide pointers.
    Thanks
    yuvaraj

    Hi yuvarag,
    I take it that you're working in a 5.1.3 environment. I was in a similar situation, and although I wasn't able to automate the process as I would have liked, I was able to make some modifications to the build process that made it acceptable.
    For one thing, our QA dept would not allow us to build separate ear files, using different environments, for QA and production. They were willing to sign off on the QA file that they had tested, but as far as they were concerned (and I fully agreed) they had not tested a new aer file build for the production environment. I was able to convince them (and myself) that using the iConfigure tool to modify the settings of the ear file was a safe way to create the production file from the QA file. This also removed any possibility of including new code into a build with the production environment.
    Although it didn't get automated, I did set up a "build" user on the box that housed our repository. All builds for deployment to QA were performed by logging in as the build user to perform the build. I also made a few modifications to the build scripts that come with the commandlinecodegen tool to simplify the process. I could probably have automated the build by adding a cron entry to kick off the build script. Automating the iConfigure step would be much more difficult. But if you are free to build fresh ears for production, then you should be able to automate the process with cron, and a few tweaks to the commandlindgodegen tool.

  • How to move the code and deploy the code from Dev environment to SIT.

    Hi,
    I have a requirement.
    I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
    Before doing this is any pre-requisites required?
    Can you please help on this,how to do?
    Thanks in advance.

    Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
    Steps:
    First log on to the EM Console and export the Composite Flow as a SAR file to a location.
    In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
    import the project using the option import the composite using a SAR File.
    After import , then click on the composite and then generate the config plan.
    In config plan add all the url changes using the search and replace Tags.
    And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
    Take the SAR file adn config plan seperately from JDeveloper.
    Now open em console again and then deploy it using the config file and SAR file.
    Thanks,
    Venugopal SSS RAJA

  • 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

  • Building and Deploying Within a Directory ?

    Hi Guys,
    Iv just been going through the "Oracle9iAS Containers for J2EE Users Guide, Release 2 (9.0.2)" pdf and have juts gone through the Building and Deploying within a directory.
    This is something, as a developer I would love or even demand to be able to do as createing war , jar and ear files each time I make a change is a total time nightmare...
    Unfortunately I was'nt able to get the above working with a very simple app.
    Before trying the app I made sure I could deploy it normally as a an ear file which worked.
    Below follows a description of the dir structure plus info added to relavent .xml files ( gods theres so many )..
    j2ee/home/applications/BalanceManager
    WebModule/
    WEB-INF/
    lib/
    classes/
    web.xml
    AccountHolders.jsp
    META-INF
    EJBModule/
    META-INF/
    application.xml
    application.xml ( not the one in config dir but the one in the above dir struct, ear application.xml) :-
    <application>
    <display-name>BM</display-name>
    <module>
    <ejb>EJBModule</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebModule</web-uri>
    <context-root>BM</context-root>
    </web>
    </module>
    </application>
    server.xml ( in j2ee/home/config )
    <application name="BM" path="../applications/BalanceManager" auto-start="true" />
    http-web-site.xml:-
    <web-app application="BM" name="BalanceManager/WebModule" root="/BM" />
    The above files have been edited as of the document above, which can also be found at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95880.pdf.
    When I start up OC4J the application gets deployed ( dos prompt ):-
    C:\devenv\oc4j\j2ee\home>java -jar oc4j.jar
    Auto-deploying BM (New server version detected)...
    Copying default deployment descriptor from archive at C:
    pplications\BalanceManager\BaEJBModule/META-INF/orion-ej
    directory C:\devenv\oc4j\j2ee\home\application-deploymen
    Auto-deploying BaEJBModule (No previous deployment found
    Auto-deploying file:/C:/devenv/oc4j/j2ee/home/applicatio
    odule/ (New server version detected)...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    and also a BM dir is created in the application-deployements dir.
    So everything looks great, but when I navigate to -
    http://localhost:8686/BM/AccountHolders.jsp
    I get http 500 error page cannot be displayed.
    So it looks like the context root BM did'nt get added to the servers web context,
    but why??
    Obviously AccountHolders.jsp is the jsp in the WebModule dir.
    Iv been tweaking this and that and obviously tweaking never seems to work so if any ones got any ideas or suggestions on how to setup and deploy within dirs instead of ears please reply to me asap.
    Look forward to your answers,
    Stephen.

    Stephen,
    The entry in the http-web-site.xml should be:
    <web-app application="BM" name="WebModule" root="/BM" />
    This should be the name of the web-module in the application (EAR).
    regards
    Debu Panda
    oracle

  • How to build and deploy EJB3.0 jar on JBoss Server

    Hi:
    I want to create web service using EJB3.0.
    For that first i have created EJB project,in that i add following code:
    package com.ejb;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    @Stateless
    @WebService
    public class TemperatureConverter {
         public double celsiusToFarenheit(double temp){
              return ((temp*1.8) + 32);
         public double farenheitToCelsius(double temp){
              return ((temp-32)/1.8);
    }Now i want to build and deploy the jar on server.
    How can i do this?
    Thank You.

    Hi AnupDesai,
    I suggest you to have a read of the [*JBoss EJB3 Documentation*|http://www.jboss.org/ejb3/docs].

  • How to build and deploy ejb in j2ee!!

    HI there!!
    Newbie Question. I know this is very rude to ask a question "How to build and deploy ejb in j2ee server??", but please help me. I just learned some servlets worked with tomcat. Now I want to learn more about ejb, could anyone suggest me any online tutorial or book where in it is explained step by step builiding and deploying ejb's in j2ee server, please help me. I would be grateful to you.

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • How to Build and Deploy Flex application in EP6

    Hi All,
    Can anyone tell how to build and deploy Flex application in EP6.
    I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
    Thanks
    Deepak

    A good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).

  • How to publish an own and deployed process? Via WSDL?

    Hi There,
    i'm kinda new to BPM and i got some questions. I've gone through some tutorials and created my own process. I build and deployed it, startet it through the NWA and tested it (mostly human activitys and mappings). Everything works fine but i'm facing some unsolved problems:
    1. Is it possible to get the sourcecode of the deployed process from the repository? I've already downloaded the WSDL-file from the "Single Service Administration" and want to get the process itself too.
    2. Within the "Services Registry" i published the deployed process. I imported this published WSDL within the process composer (import per Service Registry) and linked it in an automated activity, but it seems that the process can't invoke itself. Neither when i use the imported interface at the end-event it doesn't "restart". My question here is: can't a process invoke itself or does it just not work with the default wsdl? It would be intresting for me, if a process could invoke another process when it ends.
    3. Is there any good tutorial how to create an own WSDL-file with the process composer? I haven't seen any yet.
    Any information would be helpful!
    With kind regards,
    Markus
    Edited by: Markus Alfers on Jan 14, 2009 3:44 PM

    Hi Fazal,
    thanks for your answer. I had already found the process in the web service navigator. I tested it there and it was ok. But i wasnt able to find it in the UDDI-registry, so i downloaded the WSDL-File from the "single service administration" and registered it in the UDDI-registry. I imported this published WSDL-file from the UDDI-registry within the process composer to be able to test if a process can invoke itself, but it didnt work. Than i tried a new process which only has an automated activity which trys to invoke my first process, but this doesn't seem to work too. I need to know how i can invoke another process within an automated task or at the end-event of a process. I think this could be helpfull if i want to create Sub-Process and route input and output data through it.
    I also need to know how i can create my own WSDL-file for a process which i want to create with the process composer, because not every process i want to define has an empty start nor an empty end. Is there any good tutorial for this? Somebody also mentioned that he/she created an own WSDL-file with the PI server, but i dont know how to do that. It is also confusing when you got ~ten or more default services within the web service navigator.
    With kind regards
    Markus

  • Can any body help me how to make the build.xml

    Can any one tell me how to make the build.xml and want to deploy in the iplanet server. I am very new for that. I dont have any idea of build.xml. If any one have code in build.xml please tell me [email protected] Please if any one is having sample exaple please forward it to me. I am waiting for the quick reply. Please its very urgent mail me.

    htpp://ant.apache.org
    http://ant.apache.org/manual/using.html#example
    Good Luck
    Lee

  • How to pre-compile jsp and deploy to tomcat

    Hi All,
    I wuld like to know how to pre-compile JSPs and deploy to tomcat. I am using ANT tool to build and deploy the war file.
    Thanks in Advance.
    Regards,
    --Nagesh.                                                                                                                                                                                                                                                                                                                                               

    for Tomcat 5.0 (You'll need to edit to fit your needs)
        <path id="jsp.classpath">       
            <!-- point classpath to directory containing jasper-compiler.jar and
                   jasper-runtime.jar -->
            <fileset dir="C:\tomcat\common\lib">
                <include name="**/*.jar"/>
            </fileset>
            <fileset dir="C:/tomcat/common/endorsed">
                <include name="**/*.jar"/>
            </fileset>       
        </path> 
        <target name="jsp" >
        <!--
             The Ant JSPC task doesn't work with Tomcat 5.0
             so in the meantime we need to define our own task.
          -->
        <taskdef name="jspc50" classname="org.apache.jasper.JspC">
            <classpath>
                    <path refid="jsp.classpath"/>    
            </classpath>
        </taskdef>
        <jspc50 outputDir="${build.classes}"
                package="jsp"
                uriroot="${project.dir}/web/webApp"
                webXmlFragment="c:/web.xml"
                verbose="9"
                validateXml="false">           
        </jspc50>
        <javac srcdir="${build.classes}/jsp"
               destdir="${build.classes}"
               debug="true"
               optimize="false"
               includes="**/*.java"
               source="1.4">
                <classpath>
                    <path refid="classpath"/>
                    <path refid="jsp.classpath"/>
                </classpath>          
        </javac>
    </target>    More information can be found here :
    http://www.onjava.com/pub/a/onjava/excerpt/AntTDG_chap8/index1.html?page=last

  • Using ant to build and deploy plsql packages to a 11g wls.

    Hi all,
    Not sure is this is the right place, but I found a few other threads in this forum regarding plsql and ant, so I'll try this one.
    My firm is moving from 10g ADF applcations to 11g SOA applications. When I'm not busy being lost in the whole new SOA world, I also have the pleasure of building our ant scripts. :-)
    It has been years since I looked at the deploy scripts I made for 10g, so I'm a bit rusty.
    I used wsassemble in our old scripts and I used http://download.oracle.com/docs/cd/B25221_05/web.1013/b14434/wsassemble.htm as a reference. But I can't seem to find the same documentation for 11g? I tried http://download.oracle.com/docs/cd/E12839_01/index.htm but it doesn't seem to have anything about plsqlAssemble, genInterface, genproxy etc. for 11g wls servers? I also tried google a while to no avail.
    For example, I'm having problems setting the values for the ant-oracle.properties.
    So can someone please throw some links my way, so I can read how to build and deploy plsql packages to a 11g wls server using ant? Thanks!
    Cheers,
    William

    Hi,
    Did you ever find an answer to this question ?
    I am currently creating the webservice using webservices assembler from 10g/OC4j, then using the SmartUpgrade tool to re-engineer the webservice for deployment to 11g
    ( SmartUpgrade info here http://docs.oracle.com/cd/E16764_01/doc.1111/e15878/intro.htm)
    G
    Edited by: user999097 on Mar 5, 2012 1:16 PM

  • Build and deploy iPhone application from terminal

    Hi,
    I'm new to the Mac world and was trying to build an application from the terminal without success although the documentation mentions its possible (but doesn't provide any documentation on the tools or any other details).
    So, anyone can give me a simple example of how to build an application from the terminal and deploy it to the simulator and/or sign and deploy to an iphone?
    Thanks

    Hello lancea,
    sorry for not specifying my Qs clearly.
    But now I got clear idea about asant command.
    Actualy my problem is How to package an ear for obove mentiioned files, which all are in package.
    When I tried to build .ear for particular session bean and accessed from remote client
    I am getting following exeption. It seems application is not able to refer classes in package.
    C:\j2ee\orcaclient>java -classpath ".;c:/sun/appserver\lib\orcaClient.jar;C:\j2
    ee\orcaclient\jp\or\med\orca\sdk\server\base\manager\orcaAppClient.jar;c:/sun/ap
    pserver\lib\j2ee.jar;c:/sun/appserver\lib\appserv-rt.jar" -Dorg.omg.CORBA.ORBIni
    tialHost=JAVADEV01 -Dorg.omg.CORBA.ORBInitialPort=3700 jp.or.med.orca.sdk.server
    .base.manager.Client
    Exception in thread "main" java.lang.NoClassDefFoundError: jp/or/med/orca/dbs/DB
    SIllegalStatusException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:912)
    at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
    emoteObject.java:285)
    at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
    at jp.or.med.orca.sdk.server.base.manager._DBSAccessorSessionHome_Stub.c
    reate(Unknown Source)
    at jp.or.med.orca.sdk.server.base.manager.Client.main(Unknown Source)
    I hope you got my problem.
    Thanks in advance.
    Regards,
    Prashant-

  • OB52 Posting Period Close:  Does anyone know how to automate the close?

    Does anyone know how to automate the FI Period Close (trans code OB52)?  Currently, the business users go into the screen and open and close any periods manually.  For the MM period close, we are able to do so because we found the program to use in the batch job.  For some reason, the FI side shows the program SAPL0F00 but this is only a view and will not allow a batch job to be created.  Does anyone know of the actual program used for the FI period close?

    Use program RFPERIOD_OPEN.  It may help.  For further details you may check the following thread.
    RFPERIOD_OPEN

  • How to configure the runtime and consolidation for a track in CMS.

    How to configure the runtime and consolidation for a track in CMS.
    I can see the track exists in CMS but the same doesnt pull up in the NWDS in the development configuration perspective.
    I compared the given track with the one which gets pulled up in NWDS. Theres something called runtime system and consolidation which isnt defined for the track which is invisible.
    Please advise , what are these required for. And how can we configure the same.

    The runtime systems are defined for a track to setup the Transport path for any code changes....the Consolidation system is usually defined as a Virtual system for the track and used for comparison and fixing any broken or Dirty DC's ....that means it's not used as a Runtime System for Deployment as compared to DEV,QAT and PROD used for Deployment...
    Hope it helps..
    Regards,
    Shikhil

Maybe you are looking for

  • RTF inccorect text when I export my Crystal Report to PDF

    Hello, I'm facing a quite unusual problem. I've developped a VB.NET 2008 application for my customer that creates Crystal Reports from manually-entered text. There's a part where the user can enter RTF text in a RichTextBox control, or import from a

  • Acrobat 9 changes to plug-ins

    As I have got response from Adobe forum that AcroPDF.dll was revamped with Acrobat 9 to work in a different method (multiple instances vs. a single global one).  Can anybody explain when user opens a PDF file within IE (Internet explorer) how AcroPDF

  • [ASR9K nvEdge]How to decide who will be primary DSC after cluster rebuild?

    Hi I have a question about ASR9K nvEdge cluster. Normally,when the EOBC & IRL link are disconnected, the cluster will enter into "split node" status. each rack will think itself is primary DSC. My question is that after the EOBC & IRL are reconneted(

  • Partitions lost after ghost installation

    Hi Everybody ! My friend has  problem with his iMac. He wanted to install windows 7 on a separate partition. So, he created a second partition, and he use GHOST system to install windows 7 on the partition he created earlier. When windows installatio

  • Purchase Requisition using webdynpro

    Hi all,     I have a requirement wherein i have to create a purchase requisition using webdynpro by taking Document type, Plant, Storage Location, Material and Quantity as input. I am able to generate a PR NO. for a single Material but when there are