Page 1 of 1

u3 - invalid manifest file

Posted: Wed Jan 17, 2007 11:50 pm
by malte
Hi,

I just tried to make a u3 compliant app. After downloading the selftest app. from u3 I try to validate the u3p file created by rev.
The self validation fails at step pi3.
element content failed type check:0<=0
Schematron validation
In pattern upgrade:
options should have an "upgrade" element if the u3 launchpad upgrade process is to be used in the future.
in pattern short description:
Considder adding a shorDescription child to the 'application' element. The shortDescription field allows you to set up a Launchpad info tooltip for versions of the U3 Launchpad that have support for tooltips.
In pattern string-length(.)<1:
there is no string present for the vendor element.
Do I need to change the manifest file in the u3p folder manually?

All the best,

Malte

Posted: Fri Jan 19, 2007 4:22 pm
by malte
Just talked to Claudio of U3. I think I share my findings and keep this as a reminder to myself:

There is a change of the manifest file required. It is important to change the <options> element

Code: Select all

<options>
<!-- Defines the minimal (estimated) space required for the
application. -->
<minFreeSpace>number of MBs required</minFreeSpace>
<upgrade appData="add" deviceExec="overwrite"/>
</options>
The formula to calculate the number of MBs is:

U3P File Size + Uncompressed Size of DEVICE and DATA folder + 12% overhead.


All the best,

Malte

Posted: Sat Jan 20, 2007 5:47 pm
by Mark
Thanks for the update, Malte. Did you add this bug to QC (Quality Control, not sure what to call it yet)?

Mark

Posted: Sat Jan 20, 2007 6:07 pm
by malte
Hi Mark,

no, not yet. I am unsure if this is a bug or a missing feature. Seems one needs to calculate the approx size of the .u3p file before one can add the information to the manifest.u3i file, but as one is able to add stuff to the Data folder I am not sure if Rev is always able to calculate the right size. However, everything would be better than 0 I think and at least it should be documented somehow.

All the best,

Malte

Posted: Mon Feb 05, 2007 10:43 am
by mvanhoudt
Hi Malte,

The Standalone builder should include the MinFreeSpace element in the manifest. If it is missing or indeed incorrectly calculated then this is a bug, although we may need to assume a certain flexibility when doing this calculation.