Re: [buckminster-dev] Plugin dependencies and cspex file [message #22496] |
Mon, 21 July 2008 12:16 |
Eclipse User |
|
|
|
Originally posted by: jcampolongo.cra.com
This is a multi-part message in MIME format.
------_=_NextPart_001_01C8EB4D.18965EA7
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
You learn something new everyday.
=20
I added the following to the buckminster.cspex
=20
<alterGroups>
<!-- Place your Group alterations here -->
<public name=3D"bundle.jars">
<attribute name=3D"bundle.jars" component=3D"OSGi_Dependency"/>
<attribute name=3D"bundle.and.fragments"/>
</public>
</alterGroups>
=20
=20
And now the dependencies are built. It is a bit strange, though, that I
cannot re-order the 'bundle.and.fragments' attribute (I'm assuming that
a Group calls each Action in the order in which it appears within the
element), so that I actually build my dependencies first.
=20
So, to reiterate, Buckminster merely requires a dependency to be present
(as a project, or a jar, etc.), but buckminster won't necessarily build
the dependency, unless it is explicitly told to build it. If a project
is added as a dependency in the manifest.mf file, then Buckminster
assumes that the project isn't present, and thus builds the project into
the dependency.
=20
Thank you,
=20
Joseph Campolongo
Charles River Analytics, Inc.
=20
=20
=20
=20
THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS =
ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL =
AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the =
intended recipient, your use of this message for any purpose is strictly =
prohibited. If you have received this communication in error, please =
delete the message and notify the sender so that we may correct our =
records.
------_=_NextPart_001_01C8EB4D.18965EA7
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<HTML >
<HEAD>
<META http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</HEAD>
<BODY lang=3DEN-US link=3Dblue vlink=3Dpurple>
<DIV>
<DIV>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>You learn something new =
everyday.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I added the following to the =
buckminster.cspex<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=3D2 =
color=3Dnavy face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'><alterGroups></span></font ><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> =
</span></font><font size=3D2 color=3Dmaroon
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:maroon'><!-- Place your Group alterations here =
--></span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=3D2 color=3Dnavy =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'><public</span></font><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><font size=3D2 color=3Dnavy
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:navy'>name=3D</span></font><font size=3D2 color=3Dgreen =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:green'>"bundle.jars"</span></font ><font
size=3D2 color=3Dnavy face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:navy'>></span></font><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=3D2 =
color=3Dnavy face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'><attribute</span></font><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><font size=3D2 color=3Dnavy
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:navy'>name=3D</span></font><font size=3D2 color=3Dgreen =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:green'>"bundle.jars"</span></font ><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><font size=3D2 color=3Dnavy
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:navy'>component=3D</span></font><font size=3D2 color=3Dgreen =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:green'>"OSGi_Dependency"</span ></font><font
size=3D2 color=3Dnavy face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:navy'>/></span></font><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=3D2 =
color=3Dnavy face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'><attribute</span></font><font
size=3D2 color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:black'> </span></font><font size=3D2 color=3Dnavy
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:navy'>name=3D</span></font><font size=3D2 color=3Dgreen =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:green'>"bundle.and.fragments" </span></font><font
size=3D2 color=3Dnavy face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:
"Courier New";color:navy'>/></span></font><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
color=3Dblack face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=3D2 color=3Dnavy =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'></public></span></font><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New";
color:black'> </span></font><font size=3D2 =
color=3Dnavy face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:navy'></alterGroups></span></font ><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>And now the dependencies are built. It is a bit =
strange,
though, that I cannot re-order the ‘bundle.and.fragments’ =
attribute
(I’m assuming that a Group calls each Action in the order in which =
it
appears within the element), so that I actually build my dependencies =
first.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>So, to reiterate, Buckminster merely requires a =
dependency
to be present (as a project, or a jar, etc.), but buckminster =
won’t
necessarily build the dependency, unless it is explicitly told to build =
it. If
a project is added as a dependency in the manifest.mf file, then =
Buckminster assumes
that the project isn’t present, and thus builds the project into =
the
dependency.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thank you,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p >
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Joseph Campolongo</span></font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Charles River Analytics, =
Inc.</span></font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New">
<FONT FACE=3D"Arial" SIZE=3D"1">THIS MESSAGE IS INTENDED FOR THE USE OF =
THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS =
PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE =
LAW. If you are not the intended recipient, your use of this message for =
any purpose is strictly prohibited. If you have received this =
communication in error, please delete the message and notify the sender =
so that we may correct our records.</FONT>
</DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"> </DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"></DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"> </DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"> </DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"></DIV>
</DIV></BODY></HTML>
------_=_NextPart_001_01C8EB4D.18965EA7--
|
|
|
Powered by
FUDForum. Page generated in 0.34670 seconds