Deploy _and_ version command line?

For deployment on the computer virtual is fairly simple from the command line using the blackberry-airpackager program; But how would one build a BAR package only through the command line? Say that without Flash Builder (after the expiration of the license, I'm on a student budget).

I looked a bit in the Flex SDK documentation but don't know how to connect it with the BlackBerry Tablet OS SDK.  Thanks for any help.

I wrote a tutorial about it, you can see at http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/HOWTO-Compile-and-Debug-without-F... . The last post gives a link to the article based on the tutorial, which is a little updated.

Tags: BlackBerry Developers

Similar Questions

  • Java ME 8 b54: impossible to deploy MidLets on RaPi via command line

    Hello!

    I'm trying to deploy a moped to demo on my Raspberry PI for awhile, always running into the same error.

    Everything works fine via Netbeans (RaPi connected in DeviceManager, deployment through 'Run').

    No matter if I try to install directly from the LPR (installMidlet.sh) or remotely (DeveloperAgent, usertest.sh $ ams-install), I always get the same answer:

    PI@raspberrypi ~/jmee-8-0-ea2-b54/bin $./installMidlet.sh /home/pi/midlets/app1.jar

    argv [1] = runMidlet

    argv [2] = + UseProxy

    argv [3] == VMAgentBufferSize4000

    argv [4] = - 1

    argv [5] = com.sun.midp.scriptutil.CommandLineInstaller

    argv [6] = I

    argv [7] = /home/pi/midlets/app1.jar

    [INFO] [CORE] iso = 0:javanotify_start_java_with_arbitrary_args() > >

    [INFO] [CORE] iso = 0:JavaTask() JAVATASK_EVENT_START_ARBITRARY_ARG > >

    [Java begins. Press Ctrl-C to exit

    INFO] [STORAGE] iso = 0:opening for read only/home/pi/jmee-8-0-ai2-b54/bin /... /appdb/ams_params.txt

    [INFO] [CORE] iso = 0:initialize resource limit

    [INFO] ISO [CORE] = 0:RESOURCES [0] midpCheckResourceLimit (3, 1)

    [INFO] [STORAGE] iso = 0:storage_open allocated file_desc 0

    [INFO] [SECURITY] iso = 1:Loading blacklisted clients file/home/pi/jmee-8-0-ai2-b54/bin /... /appdb/blacklist_clients.txt

    [WARNING] [SECURITY] iso = 1: cannot load the blacklist of client file/home/pi/jmee-8-0-ai2-b54/bin /... /appdb/blacklist_clients.txt

    [INFO] [SECURITY] iso = 1:Loading blacklisted apps file/home/pi/jmee-8-0-ai2-b54/bin /... /appdb/blacklist_apps.txt

    [WARNING] [SECURITY] iso = 1: failed to load the application blacklist file/home/pi/jmee-8-0-ai2-b54/bin /... /appdb/blacklist_apps.txt

    [INFO] [SECURITY] iso = 1:BlacklistServer: listening to queue has started

    The following Setup error: null

    java.lang.NullPointerException

    -com/sun/midp/installer/Installer.rebindSuites (), bci = 1

    -com/sun/midp/installer/Installer.installStep6 (), bci = 417

    -com/sun/midp/installer/Installer.performInstall (), bci = 132

    -com/sun/midp/installer/Installer.install (), bci = 65

    -com/sun/midp/scriptutil/CommandLineInstaller.run (), bci = 231

    -java/lang/Thread.run (), bci = 5

    next suite for run 0 null

    [ERROR] ISO [CORE] = detection of 1:Device service failed: java.io.InterruptedIOException: Socket closed

    [ERROR] [AMS] iso = 0:java_input_forwared: no subscribed channel = 8

    I tried several alternatives for the URL of the file (direct, file:// path, http://), still the same error.

    Can someone explain the difference between the behavior of the command line and NetBeans? I tried on Windows and MAC, no difference.

    Anyone who manages to run an installation without NetBeans?

    Thank you very much

    Andi

    Hey Andi,

    Sorry, it's called problem. To make the things work on this binary install you .jad .jar directly not through the file. (i.e.:./installMidlet.sh /home/pi/midlets/app1.jad). Please note that the MIDlet-Jar-URL in the file .jad should point to .jar, such that he's seen raspberry pi (that is, you can use the local path if you use installMidlet.sh or put the .jar file in the local file system and using an absolute path in the MIDlet-Jar-URL when installing the Agent developer console). Also you can use the hostdownload to install-ams command parameter. In this case the MIDlet-Jar-URL must use host paths because the .jar is downloaded by Developer Agent in this case

    The problem is resolved and you should be able to use .jar installation once next developer version published on OTN

    Kind regards

    Andrey

  • How to get the version of Flash Player via the command line

    I have about 350 remote computers across the country I have to administer via SSH only, I'm looking for a way to the command line determine the version number of Flash Player on a computer.  Simple commands to find it?  Or via Reg Query?

    Thank you

    We provide a number of mechanisms for deployment and update of Flash Player in a managed environment.

    Check out the guide to the system administrator for more details:

    Adobe Flash Player for Flash Player Administration Guide | Adobe Developer Connection

  • version lockbox to the command line client

    Hi, we are the extent of the UnixAgent deploy/creation of script, the agent uses local FglAM, but that the agent requires credentials to be released to customers, is there a way to release the safe area of the command line, possibly using fglcmd. Can you please indicate thanks

    It's one of our developers (thank you Robert C)

    "You need to write a groovy script to do and run the script using fglcmd. I will attach an example of this. Make sure that the script is updated to change ' @EMBEDDED_FGLAM_NAME @ '. You may also need to change the security zone that is out, but the server API documentation should help with that. »

    /*

    * Copyright 2013 Dell Inc.

    * ALL RIGHTS RESERVED.

    *

    * This software is confidential and exclusive information

    * Dell Inc. ("confidential information"). You must not

    * disclose such confidential information and should use it only in

    * compliance with the terms of the license agreement that you have entered

    * in with Dell Inc.

    *

    * DELL INC. MAKES NO REPRESENTATION OR WARRANTY REGARDING

    THE SOFTWARE ADEQUACY, EXPRESS OR IMPLIED,

    * INCLUDING BUT NOT LIMITED TO THE IMPLICIT GUARANTEES

    * MERCHANTABILITY, FITNESS HAS A PARTICULAR PURPOSE, OR

    * ABSENCE OF COUNTERFEIT. DELL ACCEPTS NO LIABILITY FOR ANY

    * DAMAGES SUFFERED BY LICENSEE AS A RESULT OF THE USE, MODIFICATION

    * OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.

    */

    import com.quest.nitro.service.sl.interfaces.credentials.CredentialManagementException;

    import com.quest.nitro.service.sl.interfaces.credentials.InvalidPasswordException;

    Import org.apache.log4j.Logger;

    def EMBEDDED_FGLAM_NAME = ' @EMBEDDED_FGLAM_NAME @ '.

    def LOG = Logger.getLogger ("release-system-lockbox-to-default");

    Log.info ("freeing up the lockbox to named FglAM '" + EMBEDDED_FGLAM_NAME + "'");

    def CMS is server. CredentialManagementService;

    def systemLockbox = cms.getDefaultLockbox ();

    def defaultFglam = cms.listCredentialClients () .find {EMBEDDED_FGLAM_NAME.equals (it.getHostName ())}

    If (defaultFglam == null) {}

    LOG.error ("failed to FglAM with the hostname = '" + EMBEDDED_FGLAM_NAME + "'");

    return;

    }

    try {}

    defaultFglam.assignLockbox (systemLockbox, null);

    }

    {} catch (GUY CredentialManagementException)

    LOG.error ("Plan credential error freeing lockbox", FMC).

    }

    {} catch (InvalidPasswordException Rei)

    LOG.error ("invalid password to release the security zone", ipe);

    }

    Log.info ("done releasing lockbox system default");

  • Deployment of final application with the command line Question

    OK so I have my finished application.

    on a folder in my office called "CODBOUG".

    So I tried different methods to run the application and complete the test on the Simulator with the command line. But it's just too much. So I need your help community!

    I tried:

    BlackBerry-deploy-installApp-package CallofDutyBlackOpsUltimateG

    uide.bar - device 192.168.18.128

    I'm a little lost with the help of the command line, if someone could guide me on the right lane.

    I'm on windows, btw.

    Thank you.

    When you run a command, Windows will search in a series of directories for this program to run. The list of directories is stored in what is called an environment variable. You must add the path to the bin of the sdk at this variable directory (e.g. C:\Program Files (x 86) \Adobe\Adobe Flash Builder Burrito\sdks\blackberry-tablet-sdk-0.9.3\bin).

    You can access the path variable by right-clicking on my computer > properties. Select the Advanced tab and click on approx. Variables.

    Under System Variables, search PATH and edit it. Add the path to the sdk bin directory (make sure that there is a semicolon, that separates the directories).

    Open a command line window in the directory where your .bar file. When you run the command, Windows will look for blackberry - deploy and can be found in the directory that you have added to your PATH variable so to run it.

  • Command line to deploy the project database in offline mode

    Y at - it a there command-line tool that will allow me to deploy database objects that I defined in a project database offline in a target database?

    I want to integrate continues an Oracle DB so I will need to:

    • Compare a target DB with DB objects defined in a project database offline
    • Generate a DIFF of this comparison script
    • Run the DIFF script on the target DB

    My goal is to automate these steps through some sort of command line tool.

    No data is involved. Just DB objects like tables (structure only), types, procedures, etc.

    On the past (2011) they said it was not possible (https://community.oracle.com/message/9840162)

    If this is not possible, is there another continuously integrate Oracle DB of a predefined template? Something like DACPAC for MSSQL, but for Oracle DB?

    Thank you

    Rodrigo

    Sorry, maker of data does not provide a command line interface at this point

  • How to install Adobe Acrobat Reader DC version 15.010.20060 silently through the command line?

    Hi, I downloaded Adobe Acrobat Reader DC version 15.010.20060 exe. I want to install silently from the command line. I run the following command /sAll /msi EULA_ACCEPT = YES/SB install.exe. I can get it to install, but not entirely in silence. Progress bar shows and after finishing he invites an OK button and opens up a new site at the end is there a way to get it to install in completely silent mode through the command line?

    Hello

    Please try the below perimeters, he works for AcroRdrDC1501720050_en_US.exe. I installed completely silent.

    /qn EULA_ACCEPT = YES AgreeToLicense = Yes RebootYesNo = no /sAll

  • deploy a virtual machine for the model stored in EXSI server via the command line

    Hello

    Is it possible to deploy a vm from a template stored in exsi server via the command line?

    The structure is shown in the attached picture. I want to deploy the model under "Templates" folder to a virtual machine "VM" sub-folder by command line of any machine.

    structure.jpg

    Hello

    PowerCLI can help you achieve this goal. Using PowerCLI, you can deploy remote host model.

    Here is an example for the same.

    http://www.harryjohn.org/deploy-multiple-VMs-from-template/

  • How to create the version compressed as a copy of the version of office content.  I tried the + command line Tablet just below the menu bar horizontal, but it creates a blank page and no content from the desktop version

    I tried to create a Table version of the-Tablet command line just below the horizontal menu, but it creates a blank page and no content of the version of office without worrying. I cleared the table and tried several times but no result.

    Just look closely at the opoins:

    Here is no option to copy the content of a page

  • page apex_admin not display for the runtime environment and application deployment using command-line

    Hello

    I installed APEX 4.2.6 EPG on Windows 7 Professional (32 bit) with Intel Core i3 processor.  Oracle XE 11.2 Win-32 DB.

    All the installation steps followed according to the Installation guide for the Apex.  It is a fresh and new installation.

    img1.png

    Install the log shows below -.

    Thank you for the installation of Oracle Application Express.

    Oracle Application Express is installed in the APEX_040200 schema.

    SQL > SELECT DBMS_XDB. GETHTTPPORT FROM DUAL;

    GETHTTPPORT

    -----------

           8082

    I did only the installation of runtime using apxrtins.

    ' Step ' grant of privileges of connection "according to the document was smooth without any problems.

    SQL > ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 scope = both;

    Modified system.

    SQL > ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE = BOTH;

    Modified system.

       

    I played "Creating a workspace manually" and met above question.  For installation of runtime, is this unnecessary step?  Or any other step I'm missing?  Help, please.

    Thank you and best regards,

    -Anand

    Hi Anand,

    anand_gp wrote:

    All the steps I did in my development environment and no problem following the steps.  And there is no question of the problem of the EPG or a bad image of loading because the other workspaces and applications out there are working well.  My question was, when I tried to copy an application via command line in an another 'new space and work with some new application ID', wheather my steps were correct?  If so, then why does not using the URL of the application.  And since it is in full flight development environment, where other workspace / applications work fine, how to connect to the new workspace I created using the command line?  If you look at my steps, I did provide any user name and password associated with this workspace all in creation.  When all this is going very well, so I will try in my new machine that has only run-time environment.

    Thank you

    -Anand

    I think you missed the validation part. You're going to make after the installation of the application as well as the addition of workspace

    commit;

    Hope that solves your problem.

    Kind regards

    Jitendra

  • Deploy the model via command line

    Hi all,

    Is possible the deply a model via command line and set hostname and network?

    Thanks for your help

    PS: Do not forget a gift for the ghetto script repository

    You try to create a model of an existing VM using the CLI or the cloning of a virtual machine from a template?

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Portege Z10T - documentation of command line for tinstallwb.exe (PVAT)

    Does anyone have any documentation on the command line for tinstallwb.exe, or know the switch to enter these?

    I have to do some recording during the installation.

    We are the Z10t assessment and want to install the package Toshiba value added via SCCM during our deployment task sequence. I did the same thing for the Z930 successfully.

    I use the latest version (1.6.0035.6406) of the PVAT.

    After having extracted the contents of tc30573300f.exe, the command I use is 'tinstallwb.exe s - sms. While this works in my wrapper for vbscript, it fails during the actual deployment. If I could start recording, I could see what goes wrong.

    I tried to install just \TVAP\TOSHIBA package.msi before value added, but even if that moved successfully, these sheets never appear when you press the Fn keys.

    Any ideas?

    Unfortunately, this isn t available documentation.
    I also found advice to install the PPV from the command line

    But the package contains other files such as setup.exe or install.exe exe
    Have you tested the installation, the use of these files?

  • The question of command line CAP.

    So I'm all new development of blackberry, but I found an inexhaustible amount of info (from this forum and experienced developers).  I read a lot of posts on the lines of command about the file randomly Googling rapc.exe.  My problem is that my .cod files are too big.  I understand the maximum number of bytes allowed in a .cod file is 64 KB, unfortunately my files have reached 90 KB in size.  I can't delete images and unused classes because they are all very functional and that it.

    I heard the wind of a command line that can be introduced to rapc.exe which will set - slicesize = NNNN and datafull - NNNN = as a solution to my problem.  This seems perhaps too technical for my situation, I'm not using my head today.  The problem is I'm having trouble finding how to add these command lines, or what that means yet.  My blackberry app is that several weeks of deployment AppWorld I love just to test it on my blackberry like point and click does not create the same user as on a touchscreen phone experience.

    I know there are a lot of great developers on this forum, and I understand that there are a lot of excellent programmers.  Can someone help me to conquer the sensation "noob" I'm feeling right now and guide me with a somewhat dummed down from the version of the technical explanation.

    In short, how can I add the command lines above named rapc.exe preferably with output using 3 third party programs or modifying an output by the compuler file.  I want to implement the compiler to ignore the warnings of size for the .cod files, as long as it's not a bad practice.

    Thanks in advance! -Andrew Mason

    Ok.  I was average overhtinking this, I guess it's easy to limit the size of your .cod simply by making the additional source folders.  I made two additional folders res and split my resources evenly among them.  There was a lot of workarounds that appeared to be more work than they were worth.  It's a quick and easy solution.  Thanks for the link, it helped a bunch got my brain moving.

  • CAP of the command line and the 8800

    I have a terrible time this morning trying to release some software for the Blackberry 8800. In our generation, we have been calling the compiler of Cap 4.3.0 of the command line (which I always have loads of doubts) generating a cod file and unzip for OTA deployment. It worked ok for 8830 phones so far. Once we started to try to do the same thing for 8800 phones we hit a major roadblock. We started to experience random errors when loading our application on the device. (The problem is also reproduced in the AT & T 4.2.1 emulator.) Sometimes the application will work but only on a particular plu model Cingular blackberry where as our QA guy has a bit newer model phone. The application will also work if it is compiled using slightly different source code. The source code that causes a failure will run when compiled and loaded on the same device a build running with the other working source code. After attending the recent virtual conference, I learned that the compiler is not backward compatible. In other words, the CAP generated 4.3.0 cod files will not work on devices with an OS older than 4.3.0. My immediate reaction was to return to the version of the CAP to 4.2.0 and try again. I hit another block when I started having:

    WARNING! : no entry point found
    com.mypkg.MyMidlet: WARNING! : no definition not found [INFO] com.rim.resources.MyProjectRIMResources: error! : class: com.mypkg.MyMidlet has no members:

    So, I upped the version 4.2.1 retries and still got the error. Compiler error goes away with the 4.3.0 CAP but I'm not confident to go into production by using this compiler and targeting the older operating system. I use the same exact command line parameters in both cases. (I pass the flag - midelt and MyMidlet has a public ctor). Can someone tell me what has changed between 4.2.0 and 4.3.0. Y at - it another option or another flag that I have to give. Research on the error, suggests that the old compiler assumes a CLDC application instead of a Midlet. Could someone also explain if there is a problem to start the 4.3.0 SignatureTool.jar against the binaries generated by older Cap (if ever make us it work), targeting older OS 4.2.1? I am desperately looking for answers... Thanks in advance!

    This highlights a problem with Java environment.  Please see the link below for more information.

    Support - i/o Error: CreateProcess
    Article number: DB-00081

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/support...

  • Create a command-line script VM install

    I was looking for a way to the creation of vm of the script command line.  Our environment is mostly RedHat 5.4 and esx 4.0.  We wanted to be able to spin off the virtual machine from the command line, and then deploy the operating system with kickstart.  I came across the following script, but still get this error when I try to run it:

    vmodl.fault.InvalidArgument: a specific parameter was not correct.

    Is it still possible to do so or if orders have been deprecated?  Thanks in advance for any help that anyone can provide.  Also, if I placed this question in the wrong place please advise and I will pass it to the appropriate place.

            1. VM creation script #.

    #Script version 1.1

    #Author David E. Hart

    #Date 10-05-06

    #

    #--------+

    1. Goal |

    #------+---------------------------------------------------

    1. This script will create a virtual machine with the following attributes:

    2. Virtual Machine Name = ScriptedVM

    3. Location of the Virtual Machine/VMFS/volumes/storage1/ScriptedVM =

    4. Virtual machine Type = 'Microsoft Windows 2003 Standard '.

    5. Virtual memory allocation Machine = 256 meg

    #

    #----------------------------------------+

    #Custom variable section for editing.

    #--------------------------------------+-------------------

    #NVM is the virtual machine (NVM) name. No spaces allowed in the name

    #NVMDIR is the directory that contains all the files of the virtual machine

    #NVMOS specifies the VM operating system

    #NVMSIZE is the size of the virtual disk to create

    #--------------------------------------------------------------

    ###############################################################

        1. Variable parameters by default - change that to your preferences

    NVM = "ScriptedVM" # name of Virtual Machine

    NVMDIR = "ScriptedVM" # specify only the name of the folder must be created; NOT the

    full path

    NVMOS = "winnetstandard" # Type of operating system for the Virtual Machine

    NVMSIZE = '4g' # Virtual Machine disk size

    VMMEMSIZE = default memory size # "256".

        1. End Variable Declaration

    mkdir/vmfs/volumes/storage1 / $ directory to create NVMDIR #.

    exec 6 > & 1 # Sets up writing to file

    Exec 1 > open the file # /vmfs/volumes/storage1/$NVMDIR/$NVM.vmx

    1. write configuration

    config.version = "" "6" "" ECHO # for ESX 3.x, the value is 8

    virtualHW.version = "" "3" "" ECHO # for ESX 3.x, the value is 4

    echo memsize = "" «$VMMEMSIZE»»»

    echo floppy0.present = "" ' TRUE' "' # VM installation with diskette

    echo displayName = "" "$NVM" "" # name of virtual machine

    echo guestOS = "" «$NVMOS»»»

    ECHO

    echo ide0:0.present = "" «TRUE»»»

    echo ide0:0.deviceType = "" "cdrom-raw»»"

    echo ide: 0.startConnected = "" "false" "" # CDROM active

    echo floppy0.startConnected = "" «FALSE»»»

    echo floppy0.fileName = "" ' / dev/fd0»»»

    echo Ethernet0.present = "" «TRUE»»»

    Ethernet0.networkName = "" "VM" "" echo # default network

    echo Ethernet0.addressType = "" «vpx»»»

    ECHO

    echo scsi0.present = "" «true»»»

    echo scsi0.sharedBus = "" «none»»»

    echo scsi0.virtualDev = "" «free»»»

    echo scsi0:0.present = "" ' true' "' # virtual disk parameters

    echo scsi0:0.fileName = "" "$NVM.vmdk»»»

    echo scsi0:0.deviceType = "" 'scsi-hard drive»»'

    ECHO

    1. Close the file

    Exec 1 > & -.

    1. stdout of the make a copy of FD 6 (reset stdout) and close fd6

    Exec 1 > & 6

    exec 6 > & -.

    1. Change the permissions on the file so it can be run by anyone

    chmod 755 /vmfs/volumes/storage1/$NVMDIR/$NVM.vmx

    #Creates 4 GB virtual disk

    CD/vmfs/volumes/storage1 / $ NVMDIR #change for the directory of the virtual machine

    vmkfstools - c $NVMSIZE $NVM.vmdk - a free

    #Register VM

    VMware-cmd - s register /vmfs/volumes/storage1/$NVMDIR/$NVM.vmx

    >

    In the attachment, you can find a version renewed your script (create - vm.sh), you must set the following variables for your environment:

    NVM="ScriptedVM" # Name of Virtual Machine
    NVMDIR="ScriptedVM" # Specify only the folder name to be created; NOT the
    complete path
    NVMOS="winnetstandard" # Type of OS for Virtual Machine
    NVMSIZE="4g" # Size of Virtual Machine Disk
    VMMEMSIZE="256" # Default Memory Size
    STORAGEDIR="/vmfs/volumes/datastore1"
    

    This script worked in my environment ESX4, but the resulting virtual machine has hardware version 4 (by default for ESX4 7)

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

Maybe you are looking for