Command Line build - Embedded chm overwriting new chm

Many of my projects reference material in other chm files. The "link to remote URL" copies the remote chm file(s) into the active project. If I then compile the active project, it also outputs those "copied in" chm files. This is expected behavior and works if the chm being imported is current.
However, I am using a simple batch file to compile 40 projects sequentially into a single folder:
cd C:\Program Files (x86)\Adobe\Adobe RoboHelp 9\RoboHTML
rhcl.exe S:\STHELP\SOURCE\en-US\RoboHelp\01Help\01Help.xpj -b
rhcl.exe S:\STHELP\SOURCE\en-US\RoboHelp\02Help\02Help.xpj -b
rhcl.exe S:\STHELP\SOURCE\en-US\RoboHelp\10Help\10Help.xpj -b
etc....
The problem is that if project 10 already contains 02.chm (from an earlier build), then the new 02.chm is overwritten by that older verson of 02.chm when project 10 compiles.
If I compile each project and copy the chms to a single folder, when all new chms are present then it all works. The developers however, are looking to automate the build process.
Is there a way to inhibit the "copied in" 02.chm chm being output from project 10, or re-import 02.chm (the new one) when project 10 compiles. Is it even possible to compile all the projects into a single folder?
Regards
Steve

steve.norris wrote:
Is there a way to inhibit the "copied in" 02.chm chm being output from project 10, or re-import 02.chm (the new one) when project 10 compiles.
You can compile each project separately then copy that project's CHM to some target folder. Specifying all projects to build to a single folder will cause RoboHelp to output whatever baggage files it has in the last project built (without knowing the nitty-gritty of your setup). Explicitly copying specific files after they are compiled takes the job out of RoboHelp's hands.
Essentially (guessing at your SSL):
rhcl.exe S:\STHELP\SOURCE\en-US\RoboHelp\01Help\01Help.xpj -b
rhcl.exe S:\STHELP\SOURCE\en-US\RoboHelp\02Help\02Help.xpj -b
rhcl.exe S:\STHELP\SOURCE\en-US\RoboHelp\10Help\10Help.xpj -b
xcopy S:\STHELP\SOURCE\en-US\RoboHelp\01Help\!SSL!\Microsoft_HTML_Help\01.chm //sometargetmachine/targetfoldername /d /y
xcopy S:\STHELP\SOURCE\en-US\RoboHelp\02Help\!SSL!\Microsoft_HTML_Help\02.chm //sometargetmachine/targetfoldername /d /y
xcopy S:\STHELP\SOURCE\en-US\RoboHelp\10Help\!SSL!\Microsoft_HTML_Help\10.chm //sometargetmachine/targetfoldername /d /y
If you are just linking to external topics among your CHMs, then they don't even really need to be in the project when it is compiled. If the CHMs are merged then you could likely just alternate the compile and copy commands.
Hope this helpful somewhat.
Lucas

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:] 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

  • 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/

  • [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

  • [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:] 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

  • 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

  • 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.

  • Command Line Build - Java heap space error

    I'm attempting to build a Flex app via the command line. Even though the build works fine from within the Flash Builder IDE, I get the following error when I attempt to build via the command line
    C:\code\software\web_stuff>"C:\Program Files\Adobe\Adobe Flash Builder Beta 2\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "C:\code\software\web_stuff" -file C:\code\software\web_stuff\build.xml WebControlBrowser
    Buildfile: C:\code\software\web_stuff\build.xml
    WebControlBrowser:
    [fb.exportReleaseBuild] Compiling 1 application to C:\code\software\web_stuff\WebControlBrowser\bin-release...
    [fb.exportReleaseBuild] Exception in thread "Code Model Worker" java.lang.OutOfMemoryError: Java heap space
    [fb.exportReleaseBuild]         at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:404)
    [fb.exportReleaseBuild]         at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:282)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.bridge.WorkspaceSpecification.log(WorkspaceS
    pecification.java:136)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.parsing.ASTokenizer.parseTokens(ASTokenizer.
    java:386)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.search.SWCSearchDataProvider.indexFiles(SWCS
    earchDataProvider.java:440)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.search.SWCSearchDataProvider$2.run(SWCSearch
    DataProvider.java:364)
    [fb.exportReleaseBuild]         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    [fb.exportReleaseBuild]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    [fb.exportReleaseBuild]         at java.lang.Thread.run(Unknown Source)
    BUILD FAILED
    C:\code\software\web_stuff\build.xml:4: java.lang.OutOfMemoryError: Java heap space
    Total time: 1 minute 0 seconds
    FlashBuilderC:
    An error has occurred. See the log file
    C:\code\software\web_stuff\.metadata\.log.
    I've attached the .log file that is referenced.

    Why isn't this documented somewhere? or if it is why isn't it easy to find?
    This link ought to have a link to common issues people run into.
    I just spent an hour trying to solve this same problem. FlashbuilderC.exe wouldn't even work on very small projects until I found this post, so thanks.

  • 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

  • How can i make a Transparent background in flash

    I'm developing a web page for a small business I'm new to flash, I have been trying to learn flash for a vary long time and only recently had the time and resources to do it. I have secsessfuly made the menu and actions to work how i wanted them to s

  • Bad performance with Payables Open Interface Import

    hello all have a performance problem with the standard program Payables Open Interface Import, as this process is taking a long time to run. could recommend some patch for this issue or a solution. our application is 11.5.10.2 and Database 10g now cr

  • Logical database AFI

    Hi All, I have a requirement to change the parameter to select option in the selection-screen of  field parnter(parnr) in the stanadard logical database AFI  and should use this ldb to zprogram and fetch the ouput .so i have copied the ldb AFI to ZAF

  • PANTCH CRUX PIECE OF CRAP......

    This has to be WORST phone i have ever had.  I got this in August of last year 2011  3 DAYS after i got  i was in the store compalining About the duplicate texts messages...  Since then I have had trouble with it powering off. dropping calls. sending

  • Agent Commission in PP

    Dear Fnds, For some Sales orders i Need to give Agent Commission ,This commission is based on the  sales document value. Here requirement is ,Every Agent ,we r making as Vendor (XK01). I maintained 1 condition type in PP(AG01-Agent commission).and I'