04-28-2011 05:44 PM
Have you tried leaving the publisher element in blackberry-tablet.xml?
04-28-2011 10:21 PM - last edited on 04-28-2011 10:23 PM
I was in your shoe previously and I totally understand your situation, but finally i went through the hurdle by doing :
1. rebuild the bar in -devmode
2. do the debug token signing thing
3. update your manifest with the information you get from the debug token process (-listManifest or something), like authorID etc etc
4. upload the token (.bar file) to your simulator
5. install the bar file to your simulator (make sure it's packaged with -devMode)
that's what I can remember
04-30-2011 03:31 PM
I feel the pain as well...I've tried all the suggestions which helped resolve the authorId issue but still, when deploying I get the following:
result::failure 500 cannot determine Package-Id
I've left the original value for 'Package-Id' that was in the manifest ('test' prefix) as well as substituting it with the value found in the debug token manifest.
I just don't understand where these values should be coming from. If anyone can provide some insight on what to look for (and edit) in these manifests when deploying, that would be awesome.
11-06-2011 05:15 AM
I figured out the root of the problems, include the following when packaging "-debugToken ${CERT_DIR}/debugFiles/debugToken.bar" I am using ant so here is my target
<target name="package" depends="compile, certificate">
<echo>Packaging Playbook App...</echo>
<exec executable="${BLACKBERRY_PACKAGER}" failonerror="true">
<arg line="-package ${RELEASE_DIR}/${APP_NAME}.${RELEASE_EXTENSION} build/${APP_NAME}-app.xml"/>
<arg line="-devMode" />
<arg line="-debugToken ${CERT_DIR}/debugFiles/debugToken.bar" />
<arg line="-noAirValidation" />
<!-- <arg line="-flexsdk ${FLEX_HOME}" /> -->
<arg value="-C"/>
<arg value="${BUILD_DIR}"/>
<!-- Add folders to be bundled in the AIR file here -->
<arg line="build/${APP_NAME}.swf" />
<arg line="build/${APP_NAME}-bbconfig.xml" />
<arg line="build/levels" />
<arg line="build/assets" />
<!-- <arg line="-publisher ${CERT_ORG_NAME}" /> -->
</exec>
</target>