Is it possible to "build" a custom component using a command line script?

Hi all

From time to time to replicate our environment in instances of development/sandbox sandbox, we need the current generation of custom components production.

What we do in general is - Component Wizard allows you to "build" each component one & then download the ZIPs. \

I wonder if there is some sort of command line to "build" a custom component?

That would allow me to write a script to quickly create all my custom components in a go, whenever necessary.

Kind regards
Prateek

To answer the original question, Yes, there is a command line tool to build, activate, deactivate and install the components (even with the preferences), her right here:

/ Data/Oracle/user_projects/Domains/my_domain/UCM/CS/bin/ComponentTool

Usage: ComponentTool [v |-vv] [t trace_section]--enable |-disable name

ComponentTool [v |-vv] [t trace_section]... - sync

ComponentTool [v |-vv] [t trace_section]... [- Install] path.hda: path.zip [-path.hda Preferences]

ComponentTool [v |-vv] [t trace_section]--check-depends name

ComponentTool [v |-vv] [t trace_section]... - name of the package

ComponentTool [v |-vv] [trace_section]...--list-enabled|--list-disabled|--list|--interact|--help t

The only thing is to compile the Java classes for you. For this you will need to an ANT script or something.

Tags: Fusion Middleware

Similar Questions

  • Essential support for creating custom reports on "Openmanage" using "Essentials" command line Interface

    Good afternoon

    Please can you help to create custom reports in "Essential Openmanage" using "Essentials" command line Interface

    The default reports are not feasible.

    Hi there Oswaldo and thank you for the question.

    Currently, OME 1.3 doesn't have a custom report generator.  I don't think that the CLI help as it is mainly used to set up from the beaches of discovery and things like that.

    There is a REST API that _may_ allow to return by the data of the database of the MEO program.  The REST API guide is in the section of the Documentation on the Dell TechCenter for OME page.

    www.delltechcenter.com/ome.

    Thank you

    Rob

  • Is it possible to make Internet connection sharing by the command line rather than the GUI on Windows Server 2008?

    Hello world!

    I need program/reset sharing Internet connection by the command line rather than GUI tools under Windows 2008 Server (could be a .cmd to run startup script or the programmer). Is this possible? Or there is some registry keys I need to set/restore and restart some services?

    Thank you very much.

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the Server on TechNet. Please post your question in the TechNet forums. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • How to use the command-line ADT to build an app, iOS, including the ActionScript native extension file

    Hi all

    I have packaged ANE files in my iOS app. I can export their version don't build via FB, no problem.

    But how can I include these DONKEY by ADT command line files? I do like the other files in the library?

    Thanks in advance for any help.

    I was stupid who did not find the proper syntax.

    extdir - extensionsDir will do the trick.

  • JET license check: is it possible to build the customer facing app using JET + ADF on weblogic today?

    Hello, our company uses under license server Weblogic 12 c and we use now ADF 12 c. We are allowed to use the JET to build a small client demand on top of Weblogic + ADF? (This is not an internal app; we have not begun to use Oracle cloud)

    I know that this is not allowed today. She is permitted after JET is accessible to the public. I want to double confirm my interpretation, thanks a lot!

    Hello

    You are correct in your assumptions.  Today, you need an Oracle Cloud license to distribute a production application using Oracle JET.

    We'll be open sourcing Oracle JET very soon however.

    Do you have a rough idea of when you want to go production with your application?

  • How to edit a custom preset in the command line?

    Please,

    I want to create a preset to use whenever I have import photos into Lightroom.

    This preset will only use the automatic tool of the tone. But I need the autotune not auto adjust contrast, I wish that all photos have a value of 0 in contrast

    I tried several ways to modify the file .lrtemplate below without success.

    s = {
      id = "2FA4D5C3-162C-4CBD-93D6-492D4833F03F",
      internalName = "Custom AutoTone",
      title = "Custom AutoTone",
      type = "Develop",
      value = {
      settings = {
      AutoBrightness = false,
      AutoContrast = false,
      AutoExposure = false,
      AutoShadows = false,
      AutoTone = true,
      ProcessVersion = "6.7",
      },
      uuid = "369F0A93-39A1-4428-8C6E-08660C4D3799",
      },
      version = 0,
    }
    
    

    Is easy to change a value of 1 to 5 manual contrast

    s = {
      id = "71E9F64A-2DCC-4A33-A6A4-4167C9DEF412",
      internalName = "Contraste",
      title = "Contraste",
      type = "Develop",
      value = {
      settings = {
      Contrast2012 = 5,
      ProcessVersion = "6.7",
      },
      uuid = "D663637D-06C1-42BF-9D27-F2503B903563",
      },
      version = 0,
    }
    
    

    Or manually add a new value of parameters on the other as the show + 1

    s = {
      id = "71E9F64A-2DCC-4A33-A6A4-4167C9DEF412",
      internalName = "Contraste",
      title = "Contraste",
      type = "Develop",
      value = {
      settings = {
      Contrast2012 = 1,
      Exposure2012 = 1,
      ProcessVersion = "6.7",
      },
      uuid = "6B1FB158-6A9B-4805-9015-2209D82AF802",
      },
      version = 0,
    }
    
    

    But I have tried many ways to keep the AutoBrightness, automatic exposure and the AutoShadows and keep the value of contrast to 0, but without success.

    I tried to change from false to true, insert Contrast2012 = 0 below the auto settings, in the middle or at the front, but none of these work.

    Can anyone help with this?

    Thank you very much

    Adriano

    I think that since auto exposure, auto, AutoBrightness, LR 5 (maybe earlier), and AutoShadows had no effect.  These are debris left by earlier versions of LR.   The only parameter that has an effect is AutoTone.  I just checked this by trying several different combinations and observing that AutoTone has no effect.   In particular, with AutoTone = false, develop settings do not change, regardless of the values of the other self * parameters.  Similarly, AutoTone = true has the same effect regardless of the values of the other self * parameters.

    It seems that when AutoTone = true, all the parameters Exposure2012, Contrast2012, Highlights2012, Shadows2012, Whites2012 and Blacks2012 will be ignored, overwritten by the settings of AutoTone calculates.  This is why in the new develop Preset window when you select auto tone, the basic group tone gets grayed.

    One solution is to have two presets, one that applies to auto tone and then the one who sets the contrast = 0.

  • Custom component gR 10, 3 of the Complutense University of MADRID

    We have an obligation to build a custom, component in order to change enamel teample for 'Notice of expiry'. From now on, we have a component inside the 'custom' folder called "CS10gR35CoreUpdate" that has the file "query_notification_mail.htm" inside the folder teamplate and many other model. Now I will create a new custom component of the based on the existing "CS10gR35CoreUpdate" and edit the required file 'query_notification_mail.htm' and will allow this component of the Components Wizard and restarts the UCM.

    My Question is: how I'll make sure that new custom component is called when an email is sent for documents to be expired? What abt the existing one?

    Please help me as soon as possible, because I provide the soultion. Thank you!!

    Our custom component is not any file of defination resouce, and I do not see the loadorder in defination of resource. Where can I configure the order of loading on the custom component?

    Yes, that's what I meant (in the .hda folder).

    I have another Q? Is it safe to manually change model "query_notification_mail.htm" who that is on the inside:
    Install dir\custom\CS10gR35CoreUpdate\core\templates\query_notification_mail.htm, I ask this question because I have to make changes only in query_notification_mail.htm, so instead of creating the new component based on exit, if I change the file manually?

    What do you mean by "safe"? Of course, if change you it on a hard drive, it will work (ie. in this particular system, the change will apply). You should be careful when you implementCS10gRXCoreUpdate in the future (a global patch will replace most likely your changes). In general, the change of standard resources is not considered to be a very good practice (quick and dirty), but if it is a change in one system, you can probably live with that.

  • Not able to make a checkin to a custom component

    Hi all

    I'm building a custom component which should do a checkin in Webcenter Content.When we are trying to do and test what we get below error every time.

    The error is not so much more descriptive and tried to see if there is any more logs generated in the information system of verification of the Webcenter content but there is no more errors in the Audit log as well.

    Here is the error:

    ! csUnableToCheckIn, (null)! csSecurityGroupNotDefined

    If anyone has faced this problem before, please let us know the solution so that we can fix it immediately, because it becomes a Blocker for us.

    Kind regards
    Elena

    We have solved this problem by e-mail.

    You do not correctly set dSecurityGroup.

    You do this:

    String dSecurityGroup = "";

    serviceBinder.putLocal (dSecurityGroup, "Complaints");

    You must do this:

    serviceBinder.putLocal ("dSecurityGroup", "Complaints");

    The key for putLocal must be the literal string of the name of the metadata field. You will need to change all your other putLocal both method calls.

    Jonathan

    http://jonathanhult.com

  • Custom component that uses 3rd party library

    Hello

    I'm building a custom component that uses a library of party 3rd in the custom filter class.
    I tried to add the jar file to the classpath for the component, I tried to add the jar file to the libpath to the component, but I do not understand to work.
    I simply get a NoClassDefFoundError when the filter is running.

    Anyone have experience with the addition of libraries third 3rd in a component custom?

    Your help is very appreciated.

    Thanks, Arjen

    Published by: abuising on November 17, 2008 23:31

    Hello!

    I discovered, that editing the custom through the Component Wizard component classpath does not take effect immediately. You must reinstall your component after such changes.

    I would like to know if it works.

    Jakub

    Published by: j.ciszek on 2008-11-18 10:03

    Published by: j.ciszek on 2008-11-18 10:03

  • Focusout/focusouthandler() in a custom component

    Hello.

    I made a custom component using a canvas with a TextInput and a button inside.

    I need to make a Focusout/focusouthandler() event to be called when the focus out of my component custom, but not be called when the focus switch beetween the inputtext and the button inside the canvas.

    How can I do?

    Tanks.

    Hi This is simple. Please try this example.


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    "xmlns:MX ="library://ns.adobe.com/flex/mx"xmlns:Cn =" "*" creationComplete = "Init ()" >
                  
       
            import flash.events.Event;
    Import mx.controls.Alert;
           
    private function Init (): void
    {
    objTemp.addEventListener ("Focusout/focusouthandler()", FocusOutHandler);
    }
           
    private void FocusOutHandler(event:Event):void
    {
    trace ("CanCom out focus");
    }
    ]]>
       

       
       
           
       

       

       
       
       

       

    _____________________________________ CanCom.mxml ______________________________________


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/halo" >


            import flash.events.Event;
           
    private void FocusOutHandler(event:Event):void
    {
    try {}
    If (this.getFocus () == btnTemp: this.getFocus (). parent.parent == txtTemp)
    {
    return;
    }
    } catch (err: error) {}
               
    dispatchEvent (new Event ("Focusout/focusouthandler()"));
    }
    ]]>
       


           

  • Is it possible to build an application with CS5.5 which can run in the old iPod

    Hello

    Anyone know if there is a way to build an application with flash CS5.5 which can run in the old iPod?, as with CS5?

    Impossible to install every IPA I build with CS5.5 in my iPod 8 GB with iOS 4.2 and before with CS5, I could install all OPI it and test.

    The lack of support for the 8 GB iPod would be limiting for the market and sales...

    Is there some settings to build the IPA for older iPods?

    Thank you

    An easy solution for your need must keep a copy of CS5 installed and use it to support older devices. A harder solution is to keep a copy of the PFI of CS5 and use the command line to compile applications with CS5.5. You will not be able to perform one of the novelties of CS5.5, and you need to manually change the descriptor XML to ensure that it is compatible with PFI.

    Like I said, keeping CS5 autour would be the easiest solution.

  • Build errors from command line in the newspaper. How can I fix it?

    Version: RH 9 (latest version)

    OS: Windows 7, 64-bit

    Output: CHM

    I have a batch file that uses features of generation of HR command line to generate our CHMS regularly.

    The command line works for my other projects. But I have a project that has three different CHMS issued, and each chm of the project always fails.

    Each three generated log file contains information to that effect.

    Adobe (R) RoboHelp version 9.0.0.228 project command line compiler

    Copyright (C) 2006-2007 Adobe Systems Incorporated and its licensors. All rights reserved.

    Project: d:\hg\pcdmisqa\pcdlrn\help\toolkitmodules\PC-DMIS Toolkit Modules.xpj

    Presentation: Toolbox Modules - various.

    Output: D:\DocProjects\Outputs\common_chm\toolkitmodules.chm.

    Scanning for the compilation project...

    Error: Impossible to analyze all project files. Please use RoboHelp to recover the project.

    Unexpected error: failed to prepare the data of the single source for RHCL. Please try to compile in RoboHTML.

    Any ideas? Moreover, these AIDS compile fine with HR itself.

    Okay, deleting the CPD and reimport the file HHP to recreate the XPJ and all other project files fixed this problem for me. They seem to be build by using the command line now.

    But he created a LOT of work: build all the page layouts should be recreated and all conditional compilation tags had to be regenerated.

    If you go this route, be sure to make a backup of your project first you may have to refer to him to get things back the way they were after the import process.

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • GET_SEARCH_RESULTS the inside of the custom component

    Greetings,

    I work with a custom component and have led to a question in the process. Basically, inside my component I have references of hyperlink to items in my content server (ex: [! - $wcmUrl ('resource', 'SAMPLE_CONTENT_ID')-].) Now, is in view of the content of an element ID, possible to find this element web site? I scoured all the possible metadata fields and not seen one, but maybe I'm a lack?

    Also, I have some experience with CRMI services available. However, when I try and run these services thanks to a component, my 'validateCheckInData' filter is not able to be executed. I guess that's due to a conflict between types DataBinder. I am able to easily enter the location of a given element web content on my local machine ID by using the code below:

    IdcClientManager Manager = new IdcClientManager();

    IdcClient idcClient = (idc_host) manager.createClient;

    UserContext IdcContext = new IdcContext (idc_user);

    DataBinder binding = idcClient.createBinder ();

    binder.putLocal ("IdcService", "GET_SEARCH_RESULTS");

    binder.putLocal ("QueryText", "dDocName < match >" "+ CONTENTID +"'");

    RequestResponse ServiceResponse = idcClient.sendRequest (userContext, binder);

    DataBinder serverBinder = requestResponse.getResponseAsBinder ();

    DataResultSet dataresultset = serverBinder.getResultSet ("SearchResults");

    DataObject dataobject = dataresultset.getRows () .get (0);

    String url = dataobject.get ('URL');

    If the web site field is not metadata, is it possible for me to run the service GET_SEARCH_RESULTS of my component? The lines above in bold indicate the issues I have with my code by copying and pasting from my local machine to my component code that is executed on the server.

    Thank you!

    > Would you mind critical code in my original post?

    Your code is absolutely horrible, just a joke, I would not dare to criticize the work of others.

    > A million Red flags arose when I had to start my DataBinder object Cast to point to the RIDC jar

    In general, I would not advise to use RIDC leave within a component. CRMI is a client-side technology, while the components (or filters) reside on the server. You use better intradoc API (see http://jonathanhult.com/blog/2012/12/where-are-the-intradoc-java-classes-located/)

  • Impossible to uninstall our custom component.

    Hello

    Version of the Complutense University of MADRID: 11 GR 1 material - 11.1.1.6.0 - idcprod1 - 111219 T 111403 (Build: 7.3.3.183)

    We created a custom component that we tested and it works 100% in the DEV environment, but we cannot even activate, open or remove.

    The component has been downloaded DEV via the advanced Component Manager. We then installed the file generated in the TEST, and

    Here is a list of the warnings, we get:
    1 cannot open a single component of reading"- what happens when you try to open it.
    2. "can not uninstall a component in the Home Directory of the ECM" - this happens when we try to uninstall. We checked into the ECM Home Dir and the component is not listed in there.

    We checked the dir home ECM and the component is not yet there...

    How did this happen to a custom component and how can we overcome this problem or he avoid in the future?

    We must go beyond this issue, please help.

    Thank you

    Yes, he does. That's what I asked earlier on "tags". I don't see that the component tags had file, which is odd - given that tags aren't there, he shouldn't complain. I bet that the file idccs_components.hda in the target system is partially damaged.

    You may need to manually remove the component in the target environment and remove the section in the file "/ucm/cs/data/components/idccs_components.hda"in the target system that designates the component custom. (MAKE A BACKUP OF THIS FILE BEFORE MAKING ANY CHANGES.)

    Open Components Wizard in the dev environment of work (not the web INTERFACE, but the applet), then make sure you generate the component successfully in the development environment. Build it and then take the version rebuilt to import environmental target.

Maybe you are looking for