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/

Similar Messages

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

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

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

  • Reports6i - RWRUN60 command line exit codes - Help

    Basically I'm running a process in C# that execute multiple reports through Process.Start() method, once completed I'm checking the Process.ExitCode to verify if it was a successful execution.
    In the arguments for the command line execution I'm passing the ERRFILE=ErrorFile.txt argument to have an error log,.
    Usually after a successful execution, by 'standard' (actually best practice I think), the exit code of an application is 0, but in some reports I'm having exit codes like 4, and no errors are logged in the ERRFILE.
    I've checked the Reference Manual already, but I can't find any reference to command line error/exit level/code.
    If somebody has the RWRUN60.exe process exit codes I'd appreciate it.
    Thanks in advance.

    Please find the below code.
    I am not sure whether it is useful to you.
    DISPLAY=3.37.8.165:0.0;
    export DISPLAY
    #FTP ROUTINE
    ftp_proc()
    { if test -f $output_file/$output_file_web
    then
    a=`wc -l $output_file/$output_file_web| cut -c1-8`
    if [ $a = "" -o $a = "0" ]
    then
    echo 'FTP not required for $output_file_web because it has zero lines'
    $sh_path/crt_arch.sh $output_file $output_file_web $arch_file m
    else
    echo "ftp $output_file_web File"
    $sh_path/ftp_put_bin_script.sh centerpieceprod.motors.ge.com ftprpt test123 \
    $output_file $output_file_web /u03/app/applmgr/homepage/reports \
    $output_file_web $ftp_mode
    $sh_path/crt_arch.sh $output_file $output_file_web $archive_path m
    fi
    else
    echo 'WARNING : $output_file_unix file does not exist'
    fi
    unset a
    ## *** PROCESS STEP 010 ***
    ## Set environment, establish ID/password variables and process variables
    echo 'STEP010 : Setup variables and environment\n'
    echo 'STEP010 : Start Time - \c';date
    #!/bin/ksh
    #1###### Set the enviroment like APPS_SID, STEL_SID ##############
    CONST_ENV=$1                    
    . /var/opt/ge/bin/constell_environment $CONST_ENV
    if [ $? -ne 0 ]
    then
    echo "Environment not set\n"
    exit 1
    fi
    ####### Set the oracle environment for constellar database like NLS_LANG
    ORACLE_SID=$STEL_SID
    . /opt/bin/SET_environment
    ####### Get DB user and Password ########
    USER_PW=`/var/opt/ge/bin/GE_pw $STEL_SID $APPS_DB_USR`
    if [ $? -ne 0 ]
    then
    echo "Failed to get constellar password - "
    exit 1
    fi
    login=$STEL_DB_USR
    passwd=$USER_PW
    instance=$STEL_SID
    PRINTER=ps264laser1
    export PRINTER
    connect_str=$login/$passwd
    ##----------## Establish environment variables
    sh_path=$GESTEL_TOP/bin; export sh_path
    plsql_path=$GESTEL_TOP/plsql; export plsql_path
    tmp_path=$GESTEL_TOP/tmp; export tmp_path
    output_file=$GESTEL_TOP/out; export output_path
    input_path=$GESTEL_TOP/in; export input_path
    log_path=$GESTEL_TOP/log; export log_path
    archive_path=$GESTEL_TOP/archive; export archive_path
    scr_path=$GESTEL_TOP; export scr_path
    idw_name='REPORTS'; export idw_name;
    DISPLAY=3.37.8.165:0.0; export DISPLAY
    # <<<<<<<<<<<<<<<<<< M A I N P R O G R A M >>>>>>>>>>>>>>>>>>>>
    echo "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
    date "+%D %T Begin of the REPORT process."
    echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
    echo STARTING $0 `date +%c`
    echo $connect_str
    DAY=`date +%a`
    echo day of week is $DAY
    echo start batch jobs always executed
    echo start MSCP$plant programs always executed
    if [ $DAY = Sun -o $DAY = Mon ]
    then
    ## Build temp table containing all purchase orders ##
    sqlplus $connect_str @$plsql_path/exec_pop_tbl.sql
    fi
    # POPULATE THE IN SHIP TABLE AND THE OPEN PO TABLES
    echo "Executing Interface for Reports data\n"
    ## Build temp table containing all purchase orders ##
    sqlplus $connect_str @$plsql_path/create_open_po_report_tbl.sql
    ## Generate Receipt table for reports ##
    echo "Executed Interface for pos Reports data\n"
    sqlplus $connect_str @$plsql_path/crt_idw_rcpt.sql
    ## Look for any errors in HUB_SCHEDULE_TRACE table
    sqlplus $connect_str @$plsql_path/test_error.sql $idw_name $tmp_path
    unset a
    a=`wc -l $tmp_path/test_error.spl | cut -c1-8`
    if test $a != "0"
    then
    echo "\nERROR : Creating tables for reports\n"
    sqlplus $connect_str @$plsql_path/send_mail_msg.sql
    sqlplus $connect_str @$plsql_path/send_prod_support_mail.sql \
    $inf_rado $tmp_path
    exit 100
    fi
    echo '123'
    # FOR EACH PLANT IN THE TABLE,GET PLANT CODE
    echo '124'
    ######## Get password for apps ##########
    ORACLE_SID=$STEL_SID
    . /opt/bin/SET_environment
    unset TNS_ADMIN
    USER_PW=`/var/opt/ge/bin/GE_pw $STEL_SID $STEL_APP_USR`
    if [ $? -ne 0 ]
    then
    echo "Failed to get Apps password - "
    exit 1
    fi
    apps_conn=$STEL_APP_USR/$USER_PW
    echo '\nApps connected '
    echo $login
    echo $passwd
    for x in `sqlplus -s $apps_conn <<-MMM
    set pages 0
    set feedback 0
    SELECT
    TRANSLATE(RPAD(PARAM_VALUE,3),' ','x')||param_desc CODE
    FROM GECV_INT_PARAMS
    where interface_code = 'DLY_REPORTS'
    and param_code = 'Plant code and printer'
    EXIT
    MMM
    `
    do
    plant1=`echo $x | awk '{print substr($0,3,1)}'`
         echo $plant1
    if [ "$plant1" = "x" ]
    then
    plant=`echo $x | awk '{print substr($0,1,2)}'`
    else
    plant=`echo $x | awk '{print substr($0,1,3)}'`
    fi
    echo $plant
    box=`echo $x | awk '{print substr($0,4,length($0))}'`
    echo $box
    DAY=`date +%a`
    echo day of week is $DAY
    echo 'Start Time - \c';date
    echo start MSCP$plant programs executed on sunday or monday
    #DAILY RECEIVING FOR EACH PLANT
    echo $output_file
    #echo ' The Printer Name is : '
    #echo $PRINTER
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/rcvd1.rdf userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'rcvd1.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'rcvd1.txt'
    output_file_web='rcvd1'$plant'.doc'
    # Verify the day of the week to do put or append
    if [ $DAY = Sun -o $DAY = Mon ]
    then
    ftp_mode=append
    else
    ftp_mode=put
    fi
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    #PLANT CODE PHL THEN RUN DIFF REPORTS
    if [ $plant = PHL ]
    then
    REP_POPLT=phl_poplt.rdf
    REP_POPD=phl_popd.rdf
    REP_POANA1=phl_poana1.rdf
    REP_POANA2=phl_poana2.rdf
    else
    REP_POPLT=poplt.rdf
    REP_POPD=popd.rdf
    REP_POANA1=poana1.rdf
    REP_POANA2=poana2.rdf
    fi
    echo $REP_POPLT
    #OPEN PURCHASE ORDERS
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/$REP_POPLT userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'poplt.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'poplt.txt'
    output_file_web='poplt'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    #PAST DUE PURCHASE ORDERS
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/$REP_POPD userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'popd.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'popd.txt'
    output_file_web='popd'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    #PURCHASE ORDERS BY ANALYST
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/$REP_POANA1 userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'poana1.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'poana1.txt'
    output_file_web='poana1'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    # PURCHASE ORDER BY PART
    # skl.run model for oracle reports executables
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/$REP_POANA2 userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'poana2.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'poana2.txt'
    output_file_web='poana2'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    echo start MSCP$plant programs always executed
    if [ $DAY = Sun -o $DAY = Mon ]
    then
    ## Build temp table containing all purchase orders ##
    # skl.run model for oracle reports executables
    # RECEIVING LOG BY WEEK
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/rcvw1.rdf userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'rcvw1.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'rcvw1.txt'
    output_file_web='rcvw1'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    # RECEIVING LOG BY ACCOUNT
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/wacsum.rdf userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'wacsum.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'wacsum.txt'
    output_file_web='wacsum'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    # COMMITTED DOLLAR DETAIL REPORT
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/cmtdet.rdf userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'cmtdet.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'cmtdet.txt'
    output_file_web='cmtdet'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    # COMMITTED DOLLAR SUMMARY REPORT
    ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
    rwrun60c report=$sh_path/cmtsum.rdf userid=$login/$passwd@$instance \
    destype=file desname=$output_file/$plant'cmtsum.txt' batch=yes ctrplt=$plant \
    pagesize=132x66 desformat=wide180
    output_file_unix=$plant'cmtsum.txt'
    output_file_web='cmtsum'$plant'.doc'
    ftp_mode=put
    $sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
    ftp_proc
    fi
    done
    echo end MSCP$plant programs always executed

  • Java command line run code question?

    hello all:
    I met a question and want to get some suggestion from you.
    I have one file TestOne.java located in
    folder "c:\temp\aaa" which contains only one file(TestOne.java).
    package samples.java2beginner.gui;
    import java.io.*;
    public class TestOne {
         public static void main(String[] args) {
                System.out.println("hello world");
    }I use the following command to compile this java code:
    c:\temp\aaa\javac TestOne.java // everything is ok.
    In order to run this program, I have to manually create
    folder hierarch "samples\java2beginner\gui" in "c:\temp\aaa" and
    use the command
    c:\temp\aaa\java samples.java2beginner.gui.TestOne to run this program.
    My question is: is there any method that I can directly run
    this java program without manually create "samples\java2beginner\gui"
    which is annoying?
    thank you

    hello atmguy and DevMentee:
    Thank you for your great suggestion.
    I guess I didn't say my question clearly.
    The class file compiled from TestOne.java is TestOne.class which cannot be modified.(so i cannot erase the package line or any kind of modification)
    I want to run the java program from command line.
    currently I have to create "samples\java2beginner\gui" and copy TestOne.class to there.
    My question is: given one class file only(so you only get the TestOne.class),
    do you have method to run it from command line?
    so at this case you don't know which package the .class belongs to.
    You might think my question is silly. The reason I posted the question because
    I found problems when I use jode to decompiler a class file.
    JODE is a java decompiler from jode.sourceforge.net
    Given the above class file "TestOne.class", I cannot use jode to decompile it, because I have to run jode with the following method:
    c:\temp\aaa\java jode.decompiler.Main -cp samples.java2beginner.gui.TestOne
    which in fact is impossible given only .class file?
    because the reason we use jode is to decompiler, how can you know the package
    structure before decompile?!
    so the problem came to my original question.
    thank you all.

  • Enhanced Flash Builder Code Generation Functionality

    For voting in JIRA:
    https://bugs.adobe.com/jira/browse/FB-27169
    The code generation feature FB 4 currently has is only really useful for quick throwaway prototyping or very simple forms. The generation should allow you to configure formatting via default templates, AND optionally utilize a dialog box (similar to that used in refactoring but with a few extras) so that you can configure the contents of each generated function and provide appropriate function names according to coding best practices. For example:
    -User initiates event handler generation
    (Optional, if Codegen dialog is enabled)
    -User is prompted with a dialog that allows them to customize the generated function name, and possibly specify whether they need an Event parameter passed to the function. (Default to NO event parameter, but this could be a pre-configured user option.)
    -FB utilizes the customized code generation format (customizable by the developer) to generate the new function
    If you need a "submitForm()" function and you want both a TextInput's enter action and a button's click action to call it, currently you're better off typing it all yourself, because auto-generation is going to put this long-named function that assumes you need 'event' passed to it. An event:MouseEvent parameter just gets in the way when you also want a TextInput's enter event to call that function, for example. Or perhaps we want to provide a more descriptive name to each handler (via dialog) without assigning IDs to each and every component: "datagrid1_changeHandler" or "button1_changeHandler" doesn't tell us what the function actually does. It's a basic coding best practice to name functions or methods after the actions they actually perform, and in a large application with complex forms auto-generated generic sounding function names are essentially useless from a maintainability standpoint.

    For anyone interested, I figured it out:
    to generate a CFC, you have to right-click a table in the RDS Dataview, then you can generate a CFC. You cannot generate a CFC from an AS class as described in the CF Builder help within Flash Builder.
    Adobe: it would be nice if this got fixed – and if someone there replied to posts like this. You do  know all this, don‘t you?

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

Maybe you are looking for