A few hours from the deadline for submitting my app, my project is now ready to rock and …. I am stuck :(
From here [developer.blackberry.com] I trying to creat a package, I copy the file.bar and bar-descriptor.xml to host…./bin directory, for simplicity, and got an error:
joao@joao-EasyNote-TM86:~/bbndk/host_10_0_9_404/linux/x86/usr/bin$ ./blackberry-nativepackager -package MathGraphica.bar bar-descriptor.xml
Error: Invalid asset path "MathGraphica"
here’s my bar-descriptor.xml:
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<qnx >
<id>ID</id>
<name>MathGraphica</name>
<versionNumber>1.0.0</versionNumber>
<description>Advanced scientific calculator with 3D graphs</description>
<initialWindow>
<systemChrome>none</systemChrome>
<transparent>false</transparent>
<autoOrients>true</autoOrients>
<aspectRatio>landscape</aspectRatio>
</initialWindow>
<publisher>Joao de Deus</publisher>
<copyright>COPYRIGHT 2013</copyright>
<env value="app/native/imports" var="QML_IMPORT_PATH"/>
<env value="app/native/plugins:/usr/lib/qt4/plugins" var="QT_PLUGIN_PATH"/>
<env value="app/native/lib:/usr/lib/qt4/lib/" var="LD_LIBRARY_PATH"/>
<arg>-style</arg>
<arg>qnxlight</arg>
<action system="true">run_native</action>
<!-- PROJECTPATH should point to the project binary, path can be relative -->
<asset type="Qnx/Elf" path="MathGraphica" entry="true">PROJECTNAME</asset>
<asset path="/home/joao/qtBlackBerryProjects/MathGraphicaOpenGL/images/calculadora.png">calculadora.png</asset>
<icon>
<image>calculadora.png</image>
</icon>
</qnx>
Calling for help to some nice souls here in forum before I turn panic mode on :)
↧