Skip to main content



      Home
Home » Archived » Buckminster » Adding extra dependency jars to update site
Adding extra dependency jars to update site [message #381628] Thu, 11 December 2008 14:08 Go to next message
Eclipse UserFriend
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/
Re: Adding extra dependency jars to update site [message #381631 is a reply to message #381628] Fri, 12 December 2008 04:11 Go to previous message
Eclipse UserFriend
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/
>
>
>
>
Previous Topic:Building war from ant
Next Topic:[Announce] Model Driven PDE Builds - a fresh perspective
Goto Forum:
  


Current Time: Sun Jul 06 19:52:02 EDT 2025

Powered by FUDForum. Page generated in 0.03850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top