Including files/resources using the ADT command line

Hi all,
I'm trying to get file support into my ADT helper tool before I release an update.  I am still having problems.
According to the Adobe docs on the subject, the following commands can be used:
-C "path/to/new/working/directory" [files and folders to include]
-e [files and folders to include] [package directory to add these to]
The following example works fine for me:
// This changes the working directory to my audio resources folder, and then packages the file 'track.mp3' into the root folder of my application package.
-C "C:\\resources\audio" "track.mp3"
Hoiwever using -e option in any way generates an error:
// This copies the file 'sfx.mp3' from the current working directory to the application package subdirectory 'lib'
-e sfx.mp3 lib
This also causes an error:
// Change the working directory to resources/audio and then copy the file called 'sfx.mp3' to the 'lib' subfolder of the application package. Error.
-C "C:\\resources\audio" -e sfx.mp3 lib
The error in both cases is:
File does not exist: sfx.mp3
Any ideas how I can use the -e option?  Does the working directory not come in to it - do i always have to use an absolute path to my file?
Thanks in advance,
Peter

Not sure if it will help in your situation, but I just include files by adding the filepath at the end of my adt command line (no -e or -c). Eg (included files or bolded):
"C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\Users\t.randall\Documents\AIRSDK\AIR_3.0\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore ..\..\Deployment\CareerBox.p12 -storepass pass -provisioning-profile ..\..\Deployment\CareerBox.mobileprovision ..\..\CareerBox.ipa CareerBox_iPhone-app.xml CareerBox_iPhone.swf AppIconsForPublish\Icon29x.png AppIconsForPublish\Icon57x.png AppIconsForPublish\[email protected] AppIconsForPublish\Icon512x.png AppIconsForPublish\Icon48x.png AppIconsForPublish\Icon72x.png Default.png [email protected] Default-Landscape~ipad.png Data\Cards.xml Data\CareerCards.xml

Similar Messages

  • How to compile an .air app from the ADT command line?

    Hi,
    I would like to compile an .air app from the ADT command line.
    Does anybody have an example?
    I don't know how to add the AIR SDK path and a folder to it.
    Is there a generator for the command line availabble?
    Thanks

    Correction: it seems that Applescripts and some similar scripts can be called from the command line using "osascript scriptname". I don't speak automator but you might like to try it. osascript seems to come with severe limitations though, for instance it doesn't allow user interaction such as dialogue boxes.

  • How to use the telnet command line in Labview

    Hi, someone can help me, I need to use a Telnet session in Labview but without using the http protocol, in this application I can only access the Telnet session using command line, here is an example of how I can access:
    From my computer, click on Start, then Run and then type in CMD.
    In the command line enter “telnet 192.168.0.1 5454” (without the quote marks) to bring up a blank DOS screen with a blinking cursor.
    Type “AT” and press the ENTER key, you should receive an “OK” response.
    Type in capital letters “AT+CMAR=1234” (without the quote marks)

    I had a similar situation and here is what I did...
    In MAX (Measurement and Automation eXplorer)
    Select Devices and Interfaces
    Select VISA TCP/IP Resources
    Create a new resource
    Select Manual Entry of Raw Socket
    Enter the IP address and port (23 is the standard telnet port)
    Give it a name. (VISA Ailas)
    Now this "Device" will show up in the VISA drop down just like any other VISA device.
    Use the VISA read and write just like you were communicating through a com port.
    Since Telnet does not have a stop bit like serial, make sure you enable the termination character.
    On your VISA reads set the number of characters to a big number, then VISA will read until it gets the termination character.
    See my attached snippet of my Telnet read vi
    Message Edited by RTSLVU on 06-16-2010 01:49 PM
    Message Edited by RTSLVU on 06-16-2010 01:50 PM
    Attachments:
    telnet.png ‏40 KB
    max1.png ‏33 KB
    max2.png ‏31 KB

  • I can't open rtf files created using the 'touch' command in Terminal

    I don't know much about CLI but I like to play with my tech. When I create an RTF file using
    touch foo.rtf
    it creates the file but when I try and open it, it just says "The document “foo.rtf” could not be opened."
    What's the deal?

    Answered Here on StackOverflow:
    As you've likely discovered, touching a nonexistent file will create a zero-byte file with the name you specify. (touch is also used to update the modification time on an existing file. Seeman touch for further details.)
    The problem you're running into is that though a completely empty file is valid HTML, text, or Markdown, it is not valid RTF—this is true of many file formats, actually, which are structured in a particular way and require some data to be present be valid.
    Based on my experimentation, the bare minimum RTF file appears to be
    {\rtf1}
    If you'd like to create a blank RTF file from the shell, try this:
    echo '{\rtf1}' >Foo.rtf
    Note the above will overwrite Foo.rtf if it exists.
    Thank you user Zigg

  • Photoshop cs6 could not save as .psd because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file

    Have three users with CS6 Design Standard having problem saving files to a network share. All three are running Windows 7 SP1. CS 6 has all current updates applied. Have searched google for solution but all suggestions so far have not solved problem.
    Have confirmed that windows explorer preview pane is not enabled/turned off. Other users on the network have no problems saving file to shared folder. Users can save to desktop and then copy and paste or drag and drop to the share!

    Further Google searching found this bit of information....and it fixed our problem!
    Rather than deleting the files I renamed them as follows Adobe Photoshop CS6 Prefs_old & Adobe Photoshop X64 CS6 Prefs_old
    To fix and prevent this error from happening, the user will navigate to:
    C:\Users\[USERNAME]\AppData\Roaming\Adobe\Adobe Photoshop CS6\Adobe Photoshop CS6 Settings
    Depending on what version of photoshop is causing the error to appear you will delete the following file:
    Adobe Photoshop CS6 Prefs.psp (for 32bit version)
    Adobe Photoshop X64 CS6 Prefs.psp (for 64bit version)

  • Generating XML Using the XSU Command Line  : connection error

    I've been trying run the sample provided by the XSU doc to extract data from a table and present it in XML format. By I've been getting this connection error.
    My DB version : Oracle9i Enterprise Edition Release 9.2.0.1.0
    C:\>java OracleXML getXML -user "scott/tiger" "select * from emp"
    Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
    at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:397)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at OracleXML.getConnection(OracleXML.java:1214)
    at OracleXML.To_XML(OracleXML.java:1014)
    at OracleXML.ExecuteGetXML(OracleXML.java:917)

    Hi,
    Check the solution for this problem from
    Re: Oracle Driver classes12.zip  oci8   Error
    You cna even check the link for more information
    http://technet.oracle.com//tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Regards,
    Anupama

  • Creating .swf from .fla file using ADT command line

    Dear Adobe Community and Moderators:
    Is it possible to use the ADT command line to directly compile an .fla file into an .swf file? Context: I have an app created in Flash Pro CS55 (6 months worth of work), but now found Adobe has dropped Flash Pro in favor of Flash Builder or Flex. I have some native extensions I want to use for iOS, but they require Air 3.1 to compile (swf-version=14) i.e. using the MessageUI framework in a static .a library for an Air app. Flash Pro CS55's top end limit seems to be swf-version=13 (Flash 11). Because of heavy investment in time and energy into our Air app in Flash Pro, it's not feasible to convert to Flex by end of week. I tried creating an .swc file, and taking the library.swf from that, but alas, a catch-22, Flash Pro CS55 only compiles to swf-version=13.
    Is there any way to either (a) directly compile my root .swf file (from the .fla file) using a command line (so I can use ADT from Air 3.1 SDK) or (b) some way I can marry a native extension I've found I can use on GitHub which is swf-version=14? Again, my issue is that I have to use Air 3.1 since only it supports iOS5.
    Any thoughts, suggestions, comments are highly appreciated (including if it's not possible to do what I'm trying to do).
    Thank you Adobe community in advance,
    Alex

    I have the exact same question, please respond if you hold the answer to this! mxmlc won't work for me since I have created too many assets within the fla already! Thanks!

  • How can I import eex files into Applications EUL from the unix command line

    How can I import *.eex and *.dis files into an Applications EUL from the unix command line?
    Thanks

    Hi
    The simple answer is you either have to use the client tool DIS51ADM to import files using the command line (Discoverer Admin is a windows only client tool), or the Java command line which needs a browser.
    In theory if you have a browser running on your Unix box you may be able to use the Java command line to make this work.
    Best wishes
    Michael

  • The -profile command line switch is not passed to the windows 7 jumplist properly.

    I start Firefox with a shortcut like this one: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe -no-remote -profile SomeProfileButNotTheDefaultOne -win7appid SomeUniqueAppId".
    When pinning to the Windows 7 taskbar, the jumplist items "New Tab" and "New Window" ignore the given command line parameter -profile and open a new tab or window with the default profile instead of the given one.
    The program itself handles the parameters correctly; alas, the jumplist entries do not. Is there any way to convince the jumplist to use the given command line parameters as well?

    As I said: "The program itself handles the parameters correctly." -profile (lowercase) itself works fine. Apperently the jumplist ignores ''any'' command line parameter but starts a new process with the "-browser" parameter.

  • How to use ADT command line to build an iOS application including ActionScript native extension file

    Hi All,
    I have ANE files packaged in my iOS application. I can export them to release build through FB no problem.
    But How can I include those ANE files through ADT command line? Can I do like other library files?
    Thanks in advance for any helps.

    I was stupid that did not find the right syntax.
    -extdir extensionsDir will do the trick.

  • We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a

    We are trying to implement a process so that any document that needs to be printed through our Java application will be printed as PDF using Adobe Reader. For which, We created and execute the below command line to call Adobe Reader and print the PDF on a printer."C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /T "\\<Application Server>\Report\<TEST.PDF>" "<Printer Name>". Current Situation: The above command line parameter when executed is working as expected in a User's Workspace. When executed in a command line on the Application Server is working as expected. But, the same is not working while executing it from Deployed environment.Software being used: 1. Adobe 11.0 enterprise version. 2. Webshpere Application Server 8.5.5.2. Please let us know if there is a way to enable trace logs in Adobe Reader to further diagnose this issue.

    This is the Acrobat.com forum.  Your question will have a much better chance being addressed in the Acrobat SDK forum.

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Running class files from the windows command line...

    Hello Everyone,
    My instructor showed us a way to run class files from the windows command line. However every time I try to run the class file from the command line using a command like: java CruiseHelper.class
    I get an error that states "Exception in thread "main" java.lang.NoClassDefFoundError: CruiseHelper/class"

    Hello Everyone,
    My instructor showed us a way to run class files from
    the windows command line. However every time I try
    to run the class file from the command line using a
    command like: java CruiseHelper.class
    I get an error that states "Exception in thread
    "main" java.lang.NoClassDefFoundError:
    CruiseHelper/class"Classes are not file names. You don't have a class named "CruiseHelper.class", that's a file name. The class name is just CruiseHelper (if you have no package statement in it).
    So,
    java -classpath . CruiseHelper

  • Error when importing Sample OBIEE Files using the IMPDP command

    I'm trying to follow the lengthy directions to create the Sample App, and I'm on page 7 of this installation guide:
    http://www.oracle.com/technetwork/middleware/bi-foundation/downloads/sampleapp107-deploymentguide-435786.pdf]description
    I've successfully completed the first 3 bullets on the page and I'm at the step of using the 'impdp' command to import data from the dmp file. The customized command I'm using is as follows:
    impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
    (Note that I'm using my actual password in place of 'password')
    Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
    Why is this not working? I've checked the syntax very carefully.
    Thanks, John

    Whoops I was running this from the SQL Prompt and not the Dos Prompt... Never mind.

  • Saving a pdf file using the print command

    I'm having a problem saving a document to pdf using the print command. I'm using an old version of Adobe. it's Adobe Acrobat 6. it is giving me the following error The instruction at "0x775355b2" referenced memory at "0x775355b2". The memory could not be "read". Could someone please help me resolve this issue. Thank you.

    The OS and release version of the source file's authoring application have a significant impact on use of Acrobat 6.
    For example, Acrobat 8.1 is where Vista support begins.
    With MS Office, Acrobat 6 PDFMaker compatiblility is only for Office 97, 2000, XP, and 2003.
    Be well...

Maybe you are looking for

  • Put all pdf tags to the root directly

    Hello , I am trying to find a way to put all the sub tags into the tags root directly, for example: i have this tag tree 0>ROOT        1>  PART                = SEC                     = <P>        2> SEC               =SEC                     = <H1>

  • How come my books wont sync to my ipod?

    I just bought some new books for my ipod Gen 2 and they wont sync to my ipod... whats going on?

  • Sending .pages doc to iWeb

    i created a document in Pages, my resume actually, that I want to add as a page in iWeb. In Pages, I select from the menu "Send to iWeb." Then, when iWeb opens, I am asked to select a kind of theme page in iWeb. I select just a blank page theme. My .

  • Export/import table with XMLTYPE data_type and fine_grained policy

    Hi friends! I'm trying to export a table with XMLTYPE and faine-grained policy. Source: HP-UX - Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi Target: Linux 2.6.18-238.el5 - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0

  • Does JavaScript do Touch up Text?

    Hi, I'm a newbie in JavaScript. I have a requirement to find a string and replace with another string in a pdf file. I can use Touch up Text tool to update the text. However, as I need to do this "find and replace" action number of times, I thought o