Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎06-27-2013
My Device: BB 8250
My Carrier: Vodafone
Accepted Solution

Error while deploying application to simulator:BUILD FAILED StandardInstall does not exist.

I am getting the above error while deploying the blackberry application to simulator. I have
downloaded the Java SDK 1.7,Apache Ant,BlackBerry WebWorks Smartphone SDK(OS 7 or earlier) and
phonegap 2.8.1.I have set JDK and Ant path in the environment variables.

 

The project is build succesfully in the project directory with command 'ant blackberry build'.


D:\ProjectBB>ant blackberry build
Buildfile: D:\ProjectBB\build.xml
blackberry:
build:
generate-cod-name:
[echo] Generated name: __NAME__.cod
clean:
[delete] Deleting directory D:\ProjectBB\build
package-app:
[mkdir] Created dir: D:\ProjectBB\build\widget
[copy] Copying 22 files to D:\ProjectBB\build\widget
[zip] Building zip: D:\ProjectBB\build\__NAME__.zip
build:
[exec] [INFO] Parsing command line options
[exec] [ERROR] Invalid application archive - archive name is not valid
BUILD SUCCESSFUL
Total time: 4 seconds


While deploying it on simulator using 'ant blackberry load-simulator'command in command prompt, it
shows build failed with error message 'StandardInstall does not exist'.


D:\ProjectBB>ant blackberry load-simulator
Buildfile: D:\ProjectBB\build.xml
blackberry:
load-simulator:
generate-cod-name:
[echo] Generated name: __NAME__.cod
clean:
[delete] Deleting directory D:\ProjectBB\build
package-app:
[mkdir] Created dir: D:\ProjectBB\build\widget
[copy] Copying 22 files to D:\ProjectBB\build\widget
[zip] Building zip: D:\ProjectBB\build\__NAME__.zip
build:
[exec] [INFO] Parsing command line options
[exec] [ERROR] Invalid application archive - archive name is not valid
load-simulator:
[echo] Simulator directory=C:\Program Files\Research In Motion\BlackBerry WebWorks SDK
2.3.1.5\simpack\7.0.0.318
[echo] Simulator directory=C:\Program Files\Research In Motion\BlackBerry WebWorks SDK
2.3.1.5\simpack\7.0.0.318
[echo] Simulator executable=C:\Program Files\Research In Motion\BlackBerryWebWorks SDK
2.3.1.5\simpack\7.0.0.318/9930.bat
[echo] Closing all running simulators...
[exec] No sessions currently running.
[exec] Result: 1
[echo] MDS directory=C:\Program Files\Research In Motion\BlackBerry WebWorks SDK 2.3.1.5/mds
BUILD FAILED
D:\ProjectBB\build.xml:51: The following error occurred while executing
this line:
D:\ProjectBB\blackberry.xml:153: D:\ProjectBB\build\StandardInstall does not exist.

Total time: 7 seconds

 

Plz help me to fix this

Thanks in advance

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Error while deploying application to simulator:BUILD FAILED StandardInstall does not exist.

For the BlackBerry Smartphone version of the SDK (i.e. BBOS), please note that you require JDK1.6 and it must also be 32-bit.

Can you please try this change (uninstall previous JDK/JRE versions) and only install JDK1.6 32-bit (it will automatically install the JRE too.)

As well, I'm seeing an issue in the middle of the logs:

[exec] [ERROR] Invalid application archive - archive name is not valid

There appears to be an issue with the ZIP file name:
__NAME__.zip

Can you please try removing the _ symbols from the archive name as well?

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
New Contributor
Posts: 2
Registered: ‎06-27-2013
My Device: BB 8250
My Carrier: Vodafone

Build Error : Executable name has embedded quote, split the arguments

 


Thanks for your reply . It helped , but now I encounter new issue.
the build command is generating the 'Executable name has embedded quote, split the arguments'error message.


In the project.properties file I have set the path -: blackberry.bbwp.dir=C:\\Program Files\\Research In Motion\\BlackBerry WebWorks SDK 2.3.1.5.


D:\ProjectBB>ant blackberry build
Buildfile: D:\ProjectBB\build.xml
blackberry:
build:
generate-cod-name:
[echo] Generated name: BB.cod
clean:
[delete] Deleting directory D:\ProjectBB\build
package-app:
[mkdir] Created dir: D:\ProjectBB\build\widget
[copy] Copying 22 files to D:\ProjectBB\build\widget
[zip] Building zip: D:\ProjectBB\build\BB.zip
build:
[exec] [INFO] Parsing command line options
[exec] [INFO] Parsing bbwp.properties
[exec] [INFO] Validating application archive
[exec] [INFO] Parsing config.xml
[exec] [INFO] Populating application source
[exec] [INFO] Compiling BlackBerry WebWorks application
[exec] [FATAL] Executable name has embedded quote, split the arguments
BUILD SUCCESSFUL
Total time: 20 seconds

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Build Error : Executable name has embedded quote, split the arguments

Hi Dave,

 

If you navigate to the WebWorks SDK folder directly and run the bbwp command (i.e. without ANT scripts); can you please confirm if you see any issues with that approach / the resulting output?


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.