[wpkg-users] Package with empty revision number

Antony Awaida antony at apporto.co
Fri Sep 12 01:34:37 CEST 2014


Hi Rainer:

As an alternative idea:

What if we create a script that sleeps for x minutes and then edits wpkg.xml

WPKG will call the above script and run it in the background and hopefully
wpkg.js will be done before the script deletes wpkg.xml.

Thanks,
Antony

On Thu, Sep 11, 2014 at 1:12 PM, Rainer Meier <r.meier at wpkg.org> wrote:

> Hi Antony,
>
> On 11.09.2014 20:05, Antony Awaida wrote:
>
>> Hi everyone:
>>
>> I mistakenly created a package of shockwave using an empty revision
>> number.
>>
>> At the bottom is the debug log from WPKG.js
>>
>> The problem is how do I fix this error? If I create a new revision that
>> fixes
>> the revision number, WPKG. js will still fail since it is unable to
>> compare to
>> an empty version.
>>
>
> Actually I think this might be a bug. According to WSDL specification I
> think revision is optional but should default to some number if not set. I
> will have a look at the code.
>
> Moreover the code to compare empty string against version number should
> perhaps behave differently and provide empty string to be lower version
> than any other version number.
>
> Meanwhile deleting wpkg.xml via pre-execution script might work.
>
> br,
> Rainer
>



-- 
Antony Awaida
CEO
Apporto (Previously BizAppCenter)
Cell 415 999 4547
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20140911/1f8e904c/attachment-0003.html>


More information about the wpkg-users mailing list