OSB - command line build with resources of coinfiguration project

Hi!
I would like to use the com.bea.alsb.core.ConfigExport class to make an OSB build. This class can create the sbconfig.jar for me but without the resources of configuration project (e.g. SMTP server component). If I make a build in eclipse I can set export level (project or resource) in that, but how I could set this in script?
This is my script:
<target name="build">
<echo message="Build ${config.jar} from src"/>
<available file="${metadata.dir}" type="dir" property="metadata.dir.exists"/>
<java dir="${eclipse.home}"
jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar"
classpath=".;${middleware.home}/modules/com.bea.common.configfwk.ja_1.3.0.0.jar;${osb.home}/lib/sb-kernel-api.jar"
fork="true"
failonerror="true"
maxmemory="1024m">
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
<jvmarg value="-XX:PermSize=128m" />
<jvmarg value="-XX:MaxPermSize=512m" />
<arg line="-data ${workspace.dir}"/>
<arg line="-application com.bea.alsb.core.ConfigExport"/>
<arg line="-configProject ${config.project}"/>
<arg line="-configJar ${config.jar}"/>
<sysproperty key="weblogic.home" value="${weblogic.home}"/>
<sysproperty key="osb.home" value="${osb.home}" />
<sysproperty key="com.bea.plateng.common.util.logging.useJDKlogger" value="true"/>
</java>
</target>
Thanks!
Viktor

I think it is not supported through ant script and you may have to contact Oracle Support. Please go through below thread (hisaak's reply) -
Re: Export OSB configuration jar file using Ant
Regards,
Anuj

Similar Messages

  • Command line build and source control (svn)

    Using Flash Builder, what should be checked into source control to enable a command line build without any user interaction? Just checking in all the source directories is apparently not enough - as far as I can tell the individual projects have to be added to the workspace for the build to work.
    I've experimentally determined that .metadata/.plugins/com.abobe.flexbuiler.project and .metadata/.plugins/org.eclipse.core.resources are the 2 directories required for my build to work. the com.adobe.flexbuilder.project directory is pretty straight forward and it's obvious what needs to get checked in. the org.eclipse.core.resources directory has quite a bit more files contained in it - do all of these need to be checked into source control for the build to work? Deleting the .history folder appears to be ok.

    Hi GB_Austin,
    What you need to do is set up a Single Source Layout (SSL) to
    build with the conditional tags. If you are not sure how to do
    this, let me know. Let's assume you have a SSL that can do this and
    it is called "General". To build it using Command Line Compilation,
    use the following command:
    rhcl [address of your project's xpj file] -l "General" -o
    [address of the output directory]
    The -l (lower case L) tells the caommand line to use this
    SSL. If you leave -l "General" out it will compile your Primary
    Layout instead. If you leave out the -o and the address, the output
    chm file will be placed in the current folder. So the basic command
    is just:
    rhcl [address of your project's xpj file]
    I hope this has helped,
    darkagn

  • [svn:osmf:] 14412: Added the Syndication. swc to the command line build config file for the AkamaiPluginSample project .

    Revision: 14412
    Revision: 14412
    Author:   [email protected]
    Date:     2010-02-24 17:48:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Added the Syndication.swc to the command line build config file for the AkamaiPluginSample project.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml

    I think it is not supported through ant script and you may have to contact Oracle Support. Please go through below thread (hisaak's reply) -
    Re: Export OSB configuration jar file using Ant
    Regards,
    Anuj

  • Command Line Build

    I'm trying to do a command line build for my project.  I have a main application, that uses a couple of libraries and there are about 10 modules.
    I can compile the main application using mxmlc, but when I try to compile the modules I get an error saying it can't find the main application.
    My question is, there seems to be 2 paths here.  The mxmlc way that I've been playing with and an ant build way.  I don't mind switching to the ant build way if it's easier, but I just don't know what the recommended or preffered way is.
    Here is my current mxmlc script for the main application.
    %FLEX_home%\mxmlc  -library-path+="../libs/3rd_party/Library1.swc"  -library-path+="../libs/3rd_party/Library2.swc"  -theme=${flexlib}/themes/Halo/halo.swc MyApplication.mxml
    What would the correct way to build the modules be?

    use OJDEPLOY
    Its in your jdeveloper\jdev\bin directory.
    Make sure you can deploy from the jdeveloper ide with the Application>Deploy>whateveryourserver.connectionis
    If you can deploy your ear to the server from the IDE then you can use OJDEPLOY
    .\jdeveloper\jdev\bin\ojdeploy -profile SOME_DEPLOYMENT_PROFILE_NAME -forcerewrite -workspace c:\projects\SomeProject\SomeProject.jws
    The deployment profile is the key that connects JDeveloper UI deployment to the OJDEPLOY command line tool.
    OJDEPLOY will create the ear file or war etc.....
    To deploy this to a sever use the servers deployment tools.
    To deploy to Weblogic I use:
    java weblogic.Deployer -user weblogic -password weblogic1 -deploy -upload C:\path.to.my.ear\MY-EAR-File.ear -name My_Ear_File_name_I_want_to_see_in_weblogic_console -remote -verbose
    Hope this helps...
    JJ Everett

  • Reporting success or failure of labview command line build

    We've set up a nightly build for our project, using a batch file for compiling the C++ code in our project on Windows. Thanks to some other posts on this subject, we've gotten the command-line build to work in Labview 8.2. I'd like to add the Labview build command to same batch file as the C++ build. We found how to check within Labview if the project built or failed; however, I didn't see a way to report the success or failure status of the build from the Labview environment back up into the calling batch file (as/just before Labview exits).
    One option is to have the batch file check for the existence of the Labview output executable file(s). Does anyone have a more elegant solution?
    Thanks,
    Adam

    Hello Adam,
    Based on what you have described, your method seems to be the simplest way to do it.  You can not only check whether the executable files were created, but you can also check to see the modification dates to make sure that they are from the latest build.
    body { margin: 0 0 0 0; padding:0 0 0 0 }
    td,div { font-family:Arial;font-size:10pt;vertical-align:top }
    body { margin: 0 0 0 0; padding:0 0 0 0 }
    .transcript { background-color:#d2d2d2; }
    .messageBlock { margin-left:4px; margin-bottom:3px }
    .message { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-spacere; }
    .messageCont { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-spacere;}
    .other { color:#39577a;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .myself { color:#da8103;font-style:normal;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont { font-size:8px;text-align:right; color:#39577a;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .myselfCont { font-size:8px;text-align:right; color:#da8103;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .system { margin-left:4px; word-wrap:break-word;color:#da8103;font-style:normal;font-weight:normal; white-space:-moz-pre-wrap; _white-spacere; }
    .showTimestamp { margin-right:3px; float:right; color:#999999;font-style:normal;font-weight:normal; }
    .other1 { color:#ac2000;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont1 { font-size:8px;text-align:right; color:#ac2000;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other2 { color:#3c9fa8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont2 { font-size:8px;text-align:right; color:#3c9fa8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other3 { color:#e25614;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont3 { font-size:8px;text-align:right; color:#e25614;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other4 { color:#0b6ac8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont4 { font-size:8px;text-align:right; color:#0b6ac8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other5 { color:#b23290;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont5 { font-size:8px;text-align:right; color:#b23290;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other6 { color:#02e7c7;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont6 { font-size:8px;text-align:right; color:#02e7c7;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other7 { color:#5b3284;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont7 { font-size:8px;text-align:right; color:#5b3284;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .tsDisplay { display:block }To check if they exist, you can use the following batch command to check if a file exists:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    IF EXIST some.txt DOSOMETHING
    Good luck!
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • Command line build problem

    We have a large help project I'm migrating to RoboHelp 6
    (nearly 3000 topics, 12 chms plus a master file). We generate using
    a script that calls the command-line option. One of the projects
    fails during command line processing, even though I can build it
    from within the GUI without fail. When I run the command line
    command, this is the message that is returned:
    "D:\quartus\robohelp\subs\reference>"d:\Adobe\RoboHelp
    6.0\RoboHTML\RHCL.exe" reference.xpj
    Adobe (R) RoboHelp Project Command Line Compiler version
    6.00.099
    Copyright (C) 2006 Adobe Macromedia Software LLC. All rights
    reserved.
    Project: D:\quartus\robohelp\subs\reference\reference.xpj
    Layout: Microsoft HTML Help.
    Output: D:\quartus\robohelp\reference.chm.
    Scanning project for compilation....
    Error: Failed to scan all the project files. Please use
    RoboHelp to recover the project.
    Unexpected Error: Failed to prepare single source data for
    RHCL. Please try to compile it in RoboHTML."
    If I open the project in the GUI and compile it, then compile
    from the command line, it works fine. But if I clear the directory,
    run the NGCMD.exe command and get the files out and run the
    RHCL.exe, I get the same error message.
    Thanks

    Finally I figured out this problem.
    It is because one .fpj file missing in the image folder.
    When I was using X5, there is no image.fpj in the image
    folder, but after upgrading to RH6, using the command line compiler
    will fail if there is no the .fpj file under the image folder.
    Checking in the image.fpj to the server, then check it out to
    your build machine, everything is OK now.
    AG2MM

  • [svn:osmf:] 13165: unused import was breaking the command line build.

    Revision: 13165
    Revision: 13165
    Author:   [email protected]
    Date:     2009-12-22 14:04:24 -0800 (Tue, 22 Dec 2009)
    Log Message:
    unused import was breaking the command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as

    Carey,
    I have tried london1a1's workaround, and it has not made any difference.
    It seems that london1a1 suggests changing the Camera.h file in this location:
              Users/london1a1/Documents/DW_NAF/PhoneGapLib/PhoneGapLib/Classes/Camera.h
    Whereas you're saying to change the Camera.h file in this location:
              /Applications/Adobe Dreamweaver CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib/Classes/Camera.h
    I've tried changing the Camera.h file in both locations.  Neither has made a difference.

  • [svn:osmf:] 13544: Attempt to fix the broken command line build.

    Revision: 13544
    Revision: 13544
    Author:   [email protected]
    Date:     2010-01-15 17:13:13 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Attempt to fix the broken command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    If there was a magic bullet to keeping clients healthy, then keeping clients healthy would not be an issue.
    However, ConfigMgr 2012 does have a a built-in client health tool called ccmeval -- this is run using a scheduled task on client systems every day and does a very good job of keeping clients healthy.
    Using a task sequence or anything directly deployed by ConfigMgr won't work because its a catch-22: how is the ConfigMgr agent supposed to run a deployment if it or a dependent component is not healthy.
    Other things to keep clients healthy:
    - Don't give users local admin privileges.
    - Beat users that hard shutdown or reboot systems (this is IMO the number 1 cause of client health issues)
    - Get rid of XP
    - Use client startup script that supplements ccmeval
    Jason | http://blog.configmgrftw.com

  • [svn:osmf:] 13639: Attempt to fix the command line build.

    Revision: 13639
    Revision: 13639
    Author:   [email protected]
    Date:     2010-01-19 14:58:36 -0800 (Tue, 19 Jan 2010)
    Log Message:
    Attempt to fix the command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    Hi,
    I am  new to this field.
    I imported the strobe media playback to my flash builder.
    I am getting the error
    unknown configuration variable 'swf-version'
    When i imported the strobe media playback in flash builder
    the ADDITIONAL COMPILER ARGUMENTS  in the projec>properties>actionscript compiler>
    was having value
    -swf-version=11 -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true
    please help me out

  • [svn:osmf:] 14411: Adding command line build config files for the syndication library.

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

  • Package command line app with AIR app

    Forgive me if I seem completely dense, but I've been googling and forum finding and hair pulling all day on this.
    I wrote a command line application and I call it from my air application.  It all works just fine, but right now the location of the command line application is hard coded.  I want to know:
    1) What is the actionscript that allows me to refer my nativeProcess call to a an application that is packaged with the air app when I export?
    2) Where do I place the command line application in the file system of flash builder to bundle it with everything when I export?
    I realize it'll be different for mac and windows, but I need to do both.  I'm starting with the mac.  Right now as far as I know I can put the command line app in the source folder and that all ends up in the .app/contents/resources folder, but I'm not exactly sure how to reference that in actionscript or if I can or if I should?  I don't know.  Clue me in?

    Can you not use File.applicationDirectory.url as a base?

  • Command Line Build Option

    Hello All--
    Is there any way I can invoke jdev.exe from the command line with an option to specify that it build my .jpr project file, and without invoking the IDE or requiring any other interaction? I'm new to JDeveloper, and I got used to this nicety over many years of using the -build option of JBuilder (which is now WAY too pricey for my needs). BTW, I know I can use an Ant configuration file, and that is specifically what I am trying to now move away from, and keep things as simple and streamlined as possible.
    If there is currently no way to do this, I'd like to add this to the feature request list. Maybe the developers could squeeze that in before final rollout :)
    Thanks.

    If this is a requirement what is wrong with using Ant? You can generate the Build.xml from the project by using New > Ant > BuildFile from Project so you don't have the pain of maintaining the basic script. Likewise you can use Ant as your build-system in the product as well if you only want to use one method. I find useful for making and testing all in one go.
    Anyway in answer to your question no - to see the command line options to the IDE type jdev -help from the command prompt.

  • OAF command line build

    Hello,
    does anyone know how to build OAF development from command line
    1. With complete JDeveloper (OAF patch) installed
    2. Without having to completely install JDeveloper (OAF patch)
    regards, Yora

    Yora,
    I haven't tried but when we make a project, this is what the command execute.
    C:\jdevbin\jdev\bin\ojc.exe -noquiet -warn -deprecation:self -encoding Cp1252 -g -d C:\jdevhome\jdev\myclasses\.jsps -makeRegards,
    Gyan

  • WEC2013 command line build

    I have succeeded to setup and build an OS Design with Platform Builder 2013. All necessary files are put to git.
    Now I want to re-build the OS design when some other guys have updated the sources in git. I update all files and want just to execute "Build"/"Rebuild Solution".
    The VS2013 allows to build from command line with this use:
    devenv [solutionfile | projectfile | anyfile.ext] [switches]
    The solution name is ABC. The OS design is in directory product and has the name ABC. So I have a directory tree similar to this:
    C:\Work\ABC.sln
    C:\Work\Product\ABC\ABC.pbxml
    The BSP name is ABC1 and the Configuration Manager shows these configurations: 
    solution configuration: ABC1 X86 Release
    project configuration: ABC1 X86 Release
    I have tried to build the OS design with this command:
    \path\to\devenv ABC.sln /build "ABC1 X86 Release" /project ABC1 /projectconfig "ABC1 X86 Release"
    But devenv always shows an usage message describing that I have to pass the arguements as shown above. I made some variations while omitting options. But the OS design is never built.
    How do you run an unattended build?

    You have to use pbxmlutils to set the environment and then build the OS design with blddemo. See here:
    https://guruce.com/blogpost/commandlinebuild

  • Command-line building:  code generation / WSDL importing

    Greetings,
    I'm working to setup a somewhat complicated Adobe Flex project that was created with the Flash Builder plugin in Eclipse.
    I cannot seem to find any documentation regarding the code generaton feature on the backend of the Flash Builder plugin.  The only way to access it seems to be via the GUI.
    Normally, I generate the appropriate action script code / objects via the Data/Services wizard in the Flash Builder plugin (importing a WSDL file hosted on a server).  I need to be able to perform this from either an ANT or MAVEN build script.
    I have Flash Builder 4.1 Pro, which is nice, but with multiple developers, I really need a way to build the entire project from the command-line without ever launching the IDE.  Has anyone managed to do this and can point me to the documentation?  So far, my search for Adobe documentation regarding command-line code generation has been fruitless.
    Thanks

    Anyone know of any work arounds?  Blog posts like this seem to leave little hope:
    http://mfeatonby.wordpress.com/2010/03/12/generating-actionscript-classes-from-wsdl/

Maybe you are looking for