Air Execute Ant File

Hi,
I have a big big big problem.
I want to execute an ant file (example: build.xml) from
flex-air application, by clicking a button for example.
Is there at least a way to make what I asking for?
Tank you
Marco

You run ant, not java. See its documentation please.
http://ant.apache.org/

Similar Messages

  • Can AIR execute Windows .EXE files?

    Can AIR execute Windows .EXE files?

    hi
    you can now implement a standard windows installer (ie a native installer, rather than the AIR installer) when users install your AIR app. Not sure if there's an option to do this in flex/flash builder but it can be done via command line.
    eg:
    adt -package -storetype pkcs12 -keystore myCert.p12 -target native NativeProcessTest.exe NativeProcessTest-app.xml NativeProcessTest.swf NativeApps/Windows/bin/echoTestWindows icons
    or try this handy packager:
    http://www.webkitchen.be/package-assistant-pro/

  • Can worker created/packaged/executed into a Air application use Air features(like File?

    Hello,
    I have compiled "successfully" a Worker swf that uses some Air classes (like File, FileStream etc).
    Then i have embedded it into an AIR desktop application, but when i execute the application (with ADL or even installing and then executing it),
    i receive a Security Error from the worker, like if it's context doesn't support that type of operations. Is it correct?
    Can't workers use Air features like file write/access even if they are embedded in a Desktop Air Application?
    It means that can't workers open o write a file in every scenarios?
    Thank you
    Daniele

    Sorry. This is the answer:
    http://forums.adobe.com/message/4688380#4688380

  • How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?

    How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?
    Basically I like the control over the compiling process that I get by using Ant - but I really want traces to come up immediately without having to switch contexts.
    I have an ant file that successfully launches a swf in the flashplayer - but I don't know how to make the flex console start displaying the trace output. I assume that I will have to point it to the appropriate trace output file - but I am not sure how to have ant even address the console.  Is this possible?
    Here is the the target node from my ANT file:
        <target name="launch">
            <exec executable="${FLASHPLAYER_EXE}" errorproperty="trace.output">
                <arg line="'${DEPLOY_DIR}\test.swf'" />
            </exec>
        </target>
    Thanks for any thoughts, or alternatives!

    For the record, I ended up using Logwatcher - it worked perfectly.
    http://graysky.sourceforge.net/

  • Errror while Running the ant file(build.xml) when applying B2B-BPEL patch

    Hello all,
    I am trying to apply the B2B WSIL Browser patch and while running the ant file i got the following warning while backing out d3l.jar file
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move *Warning: Could not find file C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib\d3l.jar to copy.*
    and the following error when it was not able to find admin_client.jar file
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    *java Unable to access jarfile C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\j2ee\home\admin_client.jar*
    and the BUILD FAILED
    *so i created the necessary folders in the newly generated folder manually in ${env.ORACLE_HOME} i.e xqs\lib & j2ee\home and pasted the d3l.jar and admin_client.jar in these folders respectively,and again ran the ant file,this time the error is first problem is cleared i.e it is not showing the warning that it could not find* d3l.jar_+ file and it is also converting this file as d3l.jar.hide_+ *, but this time in the place of second error a new error is generated i.e* +
    Problem_
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;ant
    Buildfile: build.xml
    apply-b2b-bpel-10.1.3:
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1:] [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port 1521: 1521
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password b2b: b2b
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password welcome1: welcome1
    welcome1
    input Please enter opmn request port 6003: 6003
    6003
    echo Copying b2b.jar and tip.properties to appropriate locations...
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\lib
    copy Copying 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.OB_HOME}\system\classes
    echo Backing out dl3l.jar to avoid conflicts with B2B...
    move Moving 1 file to C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\${env.ORACLE_HOME}\xqs\lib
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java java.lang.NoClassDefFoundError: oracle/oc4j/admin/deploy/cmdline/Oc4jAdminCmdline
    java Exception in thread "main"
    BUILD FAILED
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:88: The following error occurred while executing this line:
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL\build.xml:49: Java returned: 1
    Total time: 31 seconds
    C:\product\1013~1.1\ORACLE~1\bpel\samples\tmp\B2B-BPEL&gt;
    i have set the classpath for the jdk and jre files correctly and also checked it with a sample program and the file is compiling and running with correct output.then why is it showing up java.lang.NoClassDefFoundError exception.Did anyone face the same problem or have a solution for this problem if they have then plzzz help me
    thnx
    Sunny
    Edited by: sunny kay on Jan 27, 2009 4:14 AM

    Hello sri,
    Thanks for your response as you have told i have set the ORACLE_HOME = C:\product\10.1.3.1\OracleAS_1
    and added C:\product\10.1.3.1\OracleAS_1\bin to my sys path
    and i have also set the JAVA_HOME=C:\product\10.1.3.1\OracleAS_1\jdk
    and added C:\product\10.1.3.1\OracleAS_1\jdk\bin to my sys path
    and ran the patch,now its coming up with a different problem after entering the B2B repository connection parameters...
    and it is
    Problem_
    echo Deploying B2B WSIL Browser ...
    echo OPMN Port is : 6003
    echo Container is : home
    echo Host is : ${env.HOSTNAME}
    echo iasadminpassword is : welcome1
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    java Java Result: 1
    echo Binding B2B WSIL Browser...
    java
    java
    java Failed at "Could not get DeploymentManager".
    java
    java This is typically the result of an invalid deployer URI format being
    supplied, the target server not being in a started state or incorrect authentic
    ation details being supplied.
    java
    java More information is available by enabling logging -- please see the
    Oracle Containers for J2EE Configuration and Administration Guide for details.
    java
    java
    BUILD FAILED
    The Application Server is in the started state and these are the details that i have entered when B2B Repository Connection Parameters is prompeted
    echo Prompting for B2B repository connection parameters...
    input Please enter B2B repository hostname [http://127.0.0.1]: [http://127.0.0.1]
    172.17.4.14
    input Please enter B2B repository port [1521|http://forums.oracle.com/forums/]: [1521|http://forums.oracle.com/forums/]
    1521
    input Please enter B2B repository sid ORCL: ORCL
    orcl
    input Please enter B2B password [b2b|http://forums.oracle.com/forums/]: [b2b|http://forums.oracle.com/forums/]
    b2b
    input Please enter oc4j instance name home: home
    home
    input Please enter oc4j admin password [welcome1|http://forums.oracle.com/forums/]: [welcome1|http://forums.oracle.com/forums/]
    welcome1
    input Please enter opmn request port [6003|http://forums.oracle.com/forums/]: [6003|http://forums.oracle.com/forums/]
    6003
    is anything wrong in this i have tried by giving the default host name instead of mine but result is still the same.what is the problem can you figure it out and provide me a solution.
    thnx
    Sunny

  • Problem Using wlserver task in ant file

    I am trying to create a weblogic domain using the following in my ant file:
    <target name="new-server">
    <mkdir dir="/opt/deployment/domains" />
    <wlserver dir="/opt/deployment/domains"
    beahome="/opt/bea"
    domainname="SandboxDomain"
    servername="AdminServer"
    host="localhost" port="7001"
    generateConfig="true"
    username="weblogic" password="password"
    productionmodeenabled="false"
    action="start" failonerror="true" />
    </target>
    However, I keep getting the following exception:
    [wlserver] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    I am executing the ant script by placing the weblogic.jar file in the lib directory of ant. I am also using ant version 1.6.2. Any suggestions on how to remedy this problem would be appreciated.

    Hi,
    Had the same problem, try adding the classpath attribute to the wlserver tasks.
    example:
    <wlserver dir="${SERVER_DOMAINS}/test_domain"
    beahome="${SERVER_ROOT}"
    weblogichome="${SERVER_WEBLOGIC_HOME}"
    generateConfig="true"
    host="localhost"
    port="6001"
    username="${WEBLOGIC_USER}"
    password="${WEBLOGIC_PASSWORD}"
    servername="testServer"
    action="start"
    classpath="<wl_installdir>\server\lib\weblogic.jar">
    Regards,

  • Air 3: Installs files, app not functioning ERROR/This installation of this application is damaged.

    MAC OSX 10.6.8  /  iMAC Intel Core i7  /  ADOBE AIR 3
    1- Previously this configuartion of the AIR Installer and our application installed correctly from a CD we supply clients. We needed to update the signing certificate and now the install does not function as before.
    2- Recent Changes: Download AIR 3.0 installer, Recompiled our app with RoboHelp: added new signing certificate (.pfx) same name as old certificate, added time stamp.
    3- When we run the installer, both Air 3 and our app install onto the system, but this AIR error window appears and our app does not function:
    We have worked with several different copies of the app files in case one of them were damaged.
    4- Files on the install CD:
    5- Console Log data :
    Oct 10 08:35:27 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Runtime Installer begin with version 3.0.0.4080 on Mac OS 10.6.8 x86
    Oct 10 08:35:27 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Commandline is: -psn_0_151589
    Oct 10 08:35:27 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: No installed runtime detected
    Oct 10 08:35:27 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Found sidecar config file at /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/.airinstall.cfg
    Oct 10 08:35:28 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Read Secret_Composer.air from sidecar file.
    Oct 10 08:35:28 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Using /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret_Composer.air as input file
    Oct 10 08:35:28 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Invoking Application Installer for combined install
    Oct 10 08:35:28 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Launching subprocess with commandline /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks" -withRuntime -url file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air
    Oct 10 08:35:30 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Application Installer begin with version 3.0.0.4080 on Mac OS 10.6.8 x86
    Oct 10 08:35:30 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Commandline is: -runtime "/Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks" -withRuntime -url file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air
    Oct 10 08:35:30 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: No installed runtime detected
    Oct 10 08:35:31 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Unpackaging file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air to /var/folders/V0/V0j7rjMBFfuuWSC1K0dJok+++TI/-Tmp-/FlashTmp.8X1BdK
    Oct 10 08:37:36 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Application signature verified
    Oct 10 08:37:36 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Unpackaging/validation complete
    Oct 10 08:38:09 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Converting unpackaged application to a native installation package in /var/folders/V0/V0j7rjMBFfuuWSC1K0dJok+++TI/-Tmp-/FlashTmp.skMeAh
    Oct 10 08:38:16 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Native installation package creation succeeded
    Oct 10 08:38:16 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Launching subprocess with commandline /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air
    Oct 10 08:38:16 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Relaunching with elevation
    Oct 10 08:38:20 creative-ny70 authexec[272]: executing /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
    Oct 10 08:38:20 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Application Installer begin with version 3.0.0.4080 on Mac OS 10.6.8 x86
    Oct 10 08:38:20 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Commandline is: -runtime "/Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks" -silent -logToStdout -withRuntime -url -location /Applications -desktopShortcut -programMenu file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air
    Oct 10 08:38:20 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: No installed runtime detected
    Oct 10 08:38:21 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Unpackaging file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air to /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/FlashTmp.fxrnUg
    Oct 10 08:38:32 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Application signature verified
    Oct 10 08:38:32 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Unpackaging/validation complete
    Oct 10 08:38:32 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Converting unpackaged application to a native installation package in /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/FlashTmp.Hmygrp
    Oct 10 08:38:37 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Native installation package creation succeeded
    Oct 10 08:38:37 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/Shared/Library/Application Support/Adobe"
    Oct 10 08:38:37 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /usr/sbin/chown -hfRP creativity "/Users/creativity/Library/Application Support/Adobe"
    Oct 10 08:38:37 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/creativity/Library/Application Support/Adobe"
    Oct 10 08:38:37 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /usr/sbin/chown -hfRP creativity "/Users/creativity/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin"
    Oct 10 08:38:37 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Starting silent combined runtime and app install.\n Installing runtime version 3.0.0.4080.\n Installing app 10101 version 1.1 to /Applications using the source file at file:///Volumes/SC_MAC_SCHOLASTIC/Secret%20Composer%20Scholastic%20MACOSX/Secret_Composer .air
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Subprocess chown succeeded
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Subprocess chown succeeded
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
    Oct 10 08:39:06 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Subprocess chown failed (-1)
    Oct 10 08:39:10 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/SECRET COMPOSER - Scholastic Edition.app"
    Oct 10 08:39:10 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Subprocess chown succeeded
    Oct 10 08:39:10 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Launching subprocess with commandline /bin/chmod -R ugo+rx "/Applications/SECRET COMPOSER - Scholastic Edition.app"
    Oct 10 08:39:10 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Subprocess chmod succeeded
    Oct 10 08:39:12 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[272]: Application Installer end with exit code 0
    Oct 10 08:39:12 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Elevated install completed
    Oct 10 08:39:12 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Launching subprocess with commandline /Applications/SECRET COMPOSER - Scholastic Edition.app
    Oct 10 08:39:14 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[263]: Application Installer end with exit code 0
    Oct 10 08:39:14 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Subprocess app installer succeeded
    Oct 10 08:39:14 creative-ny70 /Volumes/SC_MAC_SCHOLASTIC/Secret Composer Scholastic MACOSX/Secret Composer Installer.app/Contents/MacOS/Adobe AIR Installer[259]: Runtime Installer end with exit code 0
    Any help is very appreciated.
    Thank you,
    robert

    Hi,
    I suggest you to report a bug our bugbase, and then we can better folllow up the issue there.
    Thanks,
    Ru Wan

  • Is there a way to compile or execute mxml files on the Fly...

    Based on the success on PHP which let me script on the fly,
    just recently with the website
    http://heroku.com/ that allow to
    create ruby on rails applications from a web interface, what if a
    apache module or some other of web server, perhaps Adobe
    Application server allow via web interface to compile & execute
    mxml files on the fly...
    This will let everybody to go to a particular website sign-in
    then start building applications in the Adobe Cloud...and name
    their applications and edit all the mxml code perhaps with an AIR
    based application.
    I really can't wait to see something like this in adobe take
    off....
    Best Regards Dino.

    Based on the success on PHP which let me script on the fly,
    just recently with the website
    http://heroku.com/ that allow to
    create ruby on rails applications from a web interface, what if a
    apache module or some other of web server, perhaps Adobe
    Application server allow via web interface to compile & execute
    mxml files on the fly...
    This will let everybody to go to a particular website sign-in
    then start building applications in the Adobe Cloud...and name
    their applications and edit all the mxml code perhaps with an AIR
    based application.
    I really can't wait to see something like this in adobe take
    off....
    Best Regards Dino.

  • Question about Executable JAR Files

    Is it possible to make an executable JAR file that has all of the *.class files, all of the *.jar archives used, etc. packaged into one file that doesn't need these external files within the same directory? I've been having a ton of trouble finding the answer to this. (If it's blatantly obvious, please forgive me.)

    Hello,
    I went through the same thing recently. Here is a piece of the build file I use:
    <project name="MyProj" basedir="." default="main">
        <property name="src.dir"     value="src"/>
        <property name="build.dir"   value="build"/>
        <property name="classes.dir" value="${build.dir}/classes"/>
        <property name="jar.dir"     value="${build.dir}/jar"/>
        <property name="main-class"  value="MyProj.Main"/>
        <property name="lib.dir"     value="lib"/>
        <path id="classpath">
            <fileset dir="${lib.dir}" includes="**/*.jar"/>
        </path>
        <target name="compile">
            <mkdir dir="${classes.dir}"/>
            <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
        </target>
        <target name="jar" depends="compile">
            <mkdir dir="${jar.dir}"/>
            <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}">
              <zipfileset src="lib/commons-codec-1.3.jar"/>
              <zipfileset src="lib/commons-fileupload-1.1.1.jar"/>
              <zipfileset src="lib/commons-httpclient-3.0.1.jar"/>
                <manifest>
                    <attribute name="Main-Class" value="${main-class}"/>
                </manifest>
            </jar>
        </target>
        <target name="main" depends="clean,run"/>
    </project>Note the <zipfileset> tags that contain the .jars.
    There are, however, many good reasons to not do this. Some were already mentioned, another is in the case of update external libraries, you might not want to rebuild your whole project, replacing a jar may be easier.
    Good luck,
    -Sam

  • Problem while executing batch file via jsp

    Scenario 1+
    I have a batch file(.bat) in which i have the following code
    mkdir d:\test\test1;
    mkdir d:\test\test2;
    mkdir d:\test\test3;
    mkdir d:\test\test4;
    mkdir d:\test\test5;
    mkdir d:\test\test6;
    mkdir d:\test\test7;
    mkdir d:\test\test8;
    mkdir d:\test\test9;
    mkdir d:\test\test10;when i double click on this or execute via cmd all the 10 directories are created successfully.
    Scenario 2+
    But when i try to execute this through a jsp using the following code,Only first 5 directories are created.Please help me in resolving the issue ASAP.Thanks in advance
    <%@page import="javax.swing.*"%>
    <%@page import="javax.swing.JFileChooser"%>
    <%@page import="java.awt.event.*"%>
    <%@page import="java.awt.*"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>untitled2</title>
      </head>
      <body><%
            Runtime.getRuntime().exec("d:\\test.bat");
                    System.out.println("Inside Try Block");
                  %>
        hi</body>
    </html>I am using Jdeveloper.

    carrera wrote:
    Then can u suggest any other way how i can invoke a batch file from html/jsp.I think what some of the previous posters wanted to make clear is that jsps are not the place to go calling batch files. Jsp's are normally the view part and don't actually trigger these type of actions directly. Call a servlet to do non-view things...
    If all you want to do is execute an ant file, look for examples for running ant through java api. f.i. here

  • Executing jar file on command line [windows]

    Hi,
    I am trying to run .jar file "senthil.jar" . It catures systems screenshot.
    http://sensaran.wordpress.com/2010/06/04/screen-shot-utility-using-air-2-0/
    I am using it in AIR application. I want to execute this file from  command line. I am not sure how to pass command line arguments.
    Currently i am trying to do it like :  java -jar senthil.jar
    I need to provide a parameter as "Print Screen"
    Its corresponding Flex Code is :
                var arg:Vector.<String> = new Vector.<String>;
                arg.push("-jar");
                arg.push(File.applicationDirectory.resolvePath("senthil.jar").nativePath);
                 var file:File = new File();
                file = file.resolvePath(javaPath.replace(/\//g, File.separator));
                var npInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
                npInfo.executable = file;
                npInfo.arguments = arg;
                nativeProcess = new NativeProcess();
                nativeProcess.start(npInfo);
                nativeProcess.standardInput.writeMultiByte("Print Screen" + "\n", "utf-8");
    Thanks

    Did you give the -jar option with javaw? And the "%1"? See the file associations of some other extensions for example of how to do this
    For example on my machine,
    W:\>assoc .mp3
    .mp3=Winamp.File
    W:\>ftype Winamp.File
    Winamp.File="C:\Program Files\Winamp\Winamp.exe" "%1"Now I can
    start song.mp3Or doubleclick on mp3 file in explorer to open it in winamp.

  • Executing batch file from Java stored procedure hang

    Dears,
    I'm using the following code to execute batch file from Java Stored procedure, which is working fine from Java IDE JDeveloper 10.1.3.4.
    public static String runFile(String drive)
    String result = "";
    String content = "echo off\n" + "vol " + drive + ": | find /i \"Serial Number is\"";
    try {
    File directory = new File(drive + ":");
    File file = File.createTempFile("bb1", ".bat", directory);
    file.deleteOnExit();
    FileWriter fw = new java.io.FileWriter(file);
    fw.write(content);
    fw.close();
    // The next line is the command causing the problem
    Process p = Runtime.getRuntime().exec("cmd.exe /c " + file.getPath());
    BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
    while ((line = input.readLine()) != null)
    result += line;
    input.close();
    file.delete();
    result = result.substring( result.lastIndexOf( ' ' )).trim();
    } catch (Exception e) {
    e.printStackTrace();
    result = e.getClass().getName() + " : " + e.getMessage();
    return result;
    The above code is used in getting the volume of a drive on windows, something like "80EC-C230"
    I gave the SYSTEM schema the required privilege to execute the code.
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'java.io.FilePermission', '&lt;&lt;ALL FILES&gt;&gt;', 'read ,write, execute, delete');
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    GRANT JAVAUSERPRIV TO SYSTEM;
    I have used the following to load the class in Oracle 9ir2 DB:
    loadjava -u [system/******@orcl|mailto:system/******@orcl] -v -resolve C:\Server\src\net\dev\Util.java
    CREATE FUNCTION A1(drive IN VARCHAR2) RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'net.dev.Util.a1(java.lang.String) return java.lang.String';
    variable serial1 varchar2(1000);
    call A1( 'C' ) into :serial1;
    The problem that it hangs when I execute the call to the function (I have indicated the line causing the problem in a comment in the code).
    I have seen similar problems on other forums, but no solution posted
    [http://oracle.ittoolbox.com/groups/technical-functional/oracle-jdeveloper-l/run-an-exe-file-using-oracle-database-trigger-1567662]
    I have posted this in JDeveloper forum ([t-853821]) but suggested to post for forum in DB.
    Can anyne help?

    Dear Peter,
    You are totally right, I got this as mistake copy paste. I'm just having a Java utility for running external files outside Oracle DB, this is the method runFile()
    I'm passing it the content of script and names of file to be created on the fly and executed then deleted, sorry for the mistake in creating caller function.
    The main point, how I claim that the line in code where creating external process is the problem. I have tried the code with commenting this line and it was working ok, I made this to make sure of the permission required that I need to give to the schema passing security permission problems.
    The function script is running perfect if I'm executing vbs script outside Oracle using something like "cscript //NoLogo aaa1.vbs", but when I use the command line the call just never returns to me "cmd.exe /c bb1.bat".
    where content of bb1.bat as follows:
    echo off
    vol C: | find /i "Serial Number is"
    The above batch file just get the serial number of hard drive assigned when windows formatted HD.
    Same code runs outside Oracle just fine, but inside Oracle doesn't return if I exectued the following:
    variable serial1 varchar2(1000);
    call A1( 'C' ) into :serial1;
    Never returns
    Thanks for tracing teh issue to that details ;) hope you coul help.

  • Reg : Executing .exe file from application server

    Dear Experts,
                        i have a requirement to execute an .exe file from application server,i tried with method CL_GUI_FRONTEND_SERVICES=>EXECUTE but it executes .exe file from presentation server only.can
    anyone kindly clarify to execute .exe file from application server?
    Thanks in advance,
    Sujay

    Hi,
    Did you search before posting?
    Re: Execute a .exe file present in the Application Server
    Vikranth

  • Security restriction while executing Flash file

    Hi,
    I am a beginer with Flash and I developed some sample Flash
    files(swf) using Flash MX 2004. The files were able to run with IE
    with out any issue on my XP machine which is having IE 6. The same
    files when I tried with IE 7 on Windows Vista, it is not letting me
    to run initially. It says ".... IE has restricted this web page
    from running scripts or Activex controlls that could access your
    computer....". Though I can right click and click 'Allow Blocked
    Content' to execute the file, I am wondering whether I can do some
    setting on the file itself to make it trusted or something like
    that. I can also change the IE settings not to restrict the file.
    But I think it won't be a general solution.
    I wanted embedd this flah file on an html page and I want to
    make sure that the file will execute with out the security warning
    or change in the IE settings.
    Most of the internet sites that I used access has flash
    content and my IE does not used to show any warning. How can I
    achieve the same with my flash file?
    Thanks in advance
    Seb

    If you embed the swf in the HTML it will not display that
    warning. The warning is something that IE displays when you open
    the SWF directly.

  • Remote Execute and File Transfer Error

    Whenever we try to do a Remote Execute of File Transfer, we get an 1899
    error. Here's the strange thing, we can RE and FT to desktops that are
    still running the ZfD 4.x client. Seems to be only happening on the latest
    (ZfD 6.5sp2). Any ideas? Also, remote control and remote view still work
    w/o problem.

    Blewis,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

Maybe you are looking for