|
Re: Adding extra dependency jars to update site [message #381631 is a reply to message #381628] |
Fri, 12 December 2008 09:11 |
|
Hi Oisin,
The OR operator of the regular expression has the lowest priority of
them all and if I remember correctly, Buckminster will extend the
regular expression with things at the beginning and the end which will
make your OR fail. That's bad in itself and I'll have to look in to
that. Your fix right now is to do change this:
(org\.eclipse\.stp\..*)|(org\.jdom.*)
into this:
(org\.eclipse\.stp\..*|org\.jdom.*)
That will restrict the OR to be applied to your construct only. You can
also use this:
((org\.eclipse\.stp\..*)|(org\.jdom.*))
if you're a fan of parenthesis but in this case it's not needed.
Regards,
Thomas Hallgren
Oisin Hurley wrote:
> I'm trying to construct an update site that contains my org.eclipse.stp.*
> plugins AND the org.jdom plugin from Orbit.
> To do this, I've setup up a feature with a requirement on org.jdom, and
> I've updated the buckminster.cspec to put in the correct pattern
> to ensure that org.jdom gets put into the site (see bundle.jars
> cs:attribute in the snippet below).
> I'm not seeing the jdom plugin be included in the generated site,
> however. I must be missing something - any input appreciated!
>
> All the build code is linked at [0].
>
> <cs:public name="build.site" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId"
> value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.site"/>
> </cs:actorProperties>
> <cs:properties>
> <cs:property key="site.name"
> value="sca-tools.archivedsite"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="bundle.jars" alias="plugins"
> includePattern="(org\.eclipse\.stp\..*)|(org\.jdom.*)"/>
> <cs:attribute name="feature.jars" alias="features"/>
> <cs:attribute name="site.rootFiles" alias="rootFiles"/>
> <cs:attribute name="site.template" alias="template"/>
> </cs:prerequisites>
> <cs:products alias="action.output" base="site/" fileCount="1"
> upToDatePolicy="COUNT"/>
> </cs:public>
>
> [0]
> http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca-tools /org.eclipse.stp.sca//trunk/build/buckminster/
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03869 seconds