Closed GoogleCodeExporter closed 9 years ago
I take the liberty to up this problem as I also encounter it. It is too bad
that we can't use variables as it is really useful. Is there a solution to fix
this ?
Original comment by gui.char...@gmail.com
on 30 May 2011 at 9:51
It looks like wpkg does not support variables for the revision field yet, so
wpkgExpress won't either.
Original comment by msc...@gmail.com
on 30 May 2011 at 10:45
But that's not true. WPKG support variables in revision since version 1.1.2
See this page: http://wpkg.org/Packages.xml
Original comment by beckerma...@googlemail.com
on 30 May 2011 at 4:43
[deleted comment]
I see the example, but according to the latest packages.xsd from svn:
<xsd:attribute name="revision" use="optional">
<xsd:annotation>
<xsd:documentation>
Revision of the package. in the format of
"\d+(\.\d+)*" which means actually integer digits
separated by periods (x.y.z) with any number of
integer values. A pure integer value is valid too.
Optional. Defaults to 0.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="\d+(\.\d+)*"></xsd:pattern>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
If variables are indeed permitted in the revision attribute, then the wpkg
author(s) need to update packages.xsd to reflect this, otherwise they need to
edit their documentation to remove the revision variable example.
Original comment by msc...@gmail.com
on 30 May 2011 at 4:53
Original issue reported on code.google.com by
beckerma...@googlemail.com
on 23 Apr 2011 at 9:05