Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » Re: [buckminster-dev] Plugin dependencies and cspex file
Re: [buckminster-dev] Plugin dependencies and cspex file [message #22380] Mon, 21 July 2008 15:19 Go to next message
Eclipse UserFriend
Originally posted by: jcampolongo.cra.com

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8EB45.21D6B0BD
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Just to re-iterate, the 'View CSpec' action give me a cspec file that
has the following block in it:

=20

<cs:dependencies>

<cs:dependency name=3D"OSGi_Dependency"
componentType=3D"osgi.bundle" versionDesignator=3D"1.0.0"
versionType=3D"OSGi"/>

</cs:dependencies>

=20

Then, running the project with debug turned on, I don't see anything
having to do with dependencies at all. It is all very strange. Note
also that if I keep the buckminster.cspex file and add the dependency to
the manifest.mf, I still don't get the dependency being built. Only if
I have the dependency in the manifest file and the buckminster.cspex
file doesn't exist does it get built.

=20

I'm guessing that I'm doing something wrong somewhere, but it is opaque
enough to stymie me.

=20

Actions to perform (in order)

com.cra.project:osgi.bundle$1.0.1#OSGi#target.fragments

com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build

com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar

[start com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]

target.arch=3Dx86

PROJECT_Runtime=3Dc:\Project_metronome

buckminster.component=3Dcom.cra.project

workspace.root=3DC:/Documents and Settings/jcampolongo/workspace

=20
buckminster.temp=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra=
=2E
project_1.0.1-osgi.bundle/temp

buckminster.home=3DC:\dev\Project\trunk\Metronome-Project\

=20
buckminster.output=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buck minster/com.c=
r
a.project_1.0.1-osgi.bundle/build

localhost=3Djcampolongo-dt1

buckminster.component.type=3Dosgi.bundle

buckminster.version.type=3DOSGi

buckminster.version=3D1.0.1

target.nl=3Den_US

target.ws=3Dwin32

eclipse.home=3DC:\eclipse

target.os=3Dwin32

target.location=3DC:\dev\Project\trunk\target_platform

[end com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]

Action com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar using 'up to
date' policy COUNT: Rebuild needed: File count(0) < expected(1)

[start com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]

Product alias =3D action.output

Product base =3D ${buckminster.output}\jar\

target.arch=3Dx86

PROJECT_Runtime=3Dc:\Project_metronome

buckminster.component=3Dcom.cra.project

workspace.root=3DC:/Documents and Settings/jcampolongo/workspace

=20
buckminster.temp=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra=
=2E
project_1.0.1-osgi.bundle/temp

buckminster.home=3DC:\dev\Project\trunk\Metronome-Project\

=20
buckminster.output=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buck minster/com.c=
r
a.project_1.0.1-osgi.bundle/build

localhost=3Djcampolongo-dt1

buckminster.component.type=3Dosgi.bundle

buckminster.version.type=3DOSGi

buckminster.version=3D1.0.1

target.nl=3Den_US

target.ws=3Dwin32

eclipse.home=3DC:\eclipse

target.os=3Dwin32

target.location=3DC:\dev\Project\trunk\target_platform

[end com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]

=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_01C8EB45.21D6B0BD
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'>Just to re-iterate, the &#8216;View CSpec&#8217; =
action give
me a cspec file that has the following block in =
it:<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>&nbsp;</o:p></span></font></p >

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; =
&lt;cs:dependencies&gt;<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'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; =
&lt;cs:dependency
name=3D&quot;OSGi_Dependency&quot; =
componentType=3D&quot;osgi.bundle&quot;
versionDesignator=3D&quot;1.0.0&quot; =
versionType=3D&quot;OSGi&quot;/&gt;<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'>&nbsp;&nbsp;&nbsp; =
&lt;/cs:dependencies&gt;<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>&nbsp;</o:p></span></font></p >

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Then, running the project with debug turned on, I =
don&#8217;t
see anything having to do with dependencies at all.&nbsp; It is all very
strange.&nbsp; Note also that if I keep the buckminster.cspex file and =
add the
dependency to the manifest.mf, I still don&#8217;t get the dependency =
being
built.&nbsp; Only if I have the dependency in the manifest file and the =
buckminster.cspex
file doesn&#8217;t exist does it get built.<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>&nbsp;</o:p></span></font></p >

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m guessing that I&#8217;m doing something =
wrong
somewhere, but it is opaque enough to stymie =
me.<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>&nbsp;</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'>Actions to perform (in order)</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'>&nbsp; =
com.cra.project:osgi.bundle$1.0.1#OSGi#target.fragments</span ></font><fon=
t
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'>&nbsp; =
com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build</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'>&nbsp; =
com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar</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'>[start =
com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]</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'>&nbsp; target.arch=3Dx86</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'>&nbsp; =
PROJECT_Runtime=3Dc:\Project_metronome</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'>&nbsp; =
buckminster.component=3Dcom.cra.project</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'>&nbsp; workspace.root=3DC:/Documents and
Settings/jcampolongo/workspace</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'>&nbsp; =
buckminster.temp=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra=
..project_1.0.1-osgi.bundle/temp</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'>&nbsp; =
buckminster.home=3DC:\dev\Project\trunk\Metronome-Project\</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'>&nbsp;
buckminster.output=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buck minster/com.c=
ra.project_1.0.1-osgi.bundle/build</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'>&nbsp; localhost=3Djcampolongo-dt1</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'>&nbsp; =
buckminster.component.type=3Dosgi.bundle</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'>&nbsp; buckminster.version.type=3DOSGi</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'>&nbsp; buckminster.version=3D1.0.1</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'>&nbsp; target.nl=3Den_US</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'>&nbsp; target.ws=3Dwin32</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'>&nbsp; eclipse.home=3DC:\eclipse</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'>&nbsp; target.os=3Dwin32</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'>&nbsp; =
target.location=3DC:\dev\Project\trunk\target_platform</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'>[end =
com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]</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'>Action com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar =
using 'up
to date' policy COUNT: Rebuild needed: File count(0) &lt; =
expected(1)</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'>[start =
com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]</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'>&nbsp; Product alias =3D action.output</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'>&nbsp; Product base =3D =
${buckminster.output}\jar\</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'>&nbsp; target.arch=3Dx86</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'>&nbsp; =
PROJECT_Runtime=3Dc:\Project_metronome</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'>&nbsp; =
buckminster.component=3Dcom.cra.project</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'>&nbsp; workspace.root=3DC:/Documents and
Settings/jcampolongo/workspace</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'>&nbsp;
buckminster.temp=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra=
..project_1.0.1-osgi.bundle/temp</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'>&nbsp; =
buckminster.home=3DC:\dev\Project\trunk\Metronome-Project\</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'>&nbsp;
buckminster.output=3DC:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buck minster/com.c=
ra.project_1.0.1-osgi.bundle/build</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'>&nbsp; localhost=3Djcampolongo-dt1</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'>&nbsp; =
buckminster.component.type=3Dosgi.bundle</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'>&nbsp; buckminster.version.type=3DOSGi</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'>&nbsp; buckminster.version=3D1.0.1</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'>&nbsp; target.nl=3Den_US</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'>&nbsp; target.ws=3Dwin32</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'>&nbsp; eclipse.home=3DC:\eclipse</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'>&nbsp; target.os=3Dwin32</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'>&nbsp; =
target.location=3DC:\dev\Project\trunk\target_platform</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'>[end =
com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]</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>&nbsp;</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>&nbsp;</o:p></span></font></p>

</div>

</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</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">&nbsp;</DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"></DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New">&nbsp;</DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New">&nbsp;</DIV>
<DIV STYLE=3D"FONT-SIZE: 9pt; FONT-FAMILY: Courier New"></DIV>
</DIV></BODY></HTML>

------_=_NextPart_001_01C8EB45.21D6B0BD--
Re: [buckminster-dev] Plugin dependencies and cspex file [message #22406 is a reply to message #22380] Mon, 21 July 2008 15:35 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Joseph,
I think that what you see is all due to actions and their prerequisites.
You build some action that has prerequisites on other actions in other
bundles. If you examine those prerequisites more carefully, you will see
that the bundle where you add the cspex automatically adds them when you
add the dependency to the manifest.mf.

If you just add the dependency manually without adding any prerequisites
to an action that you execute, well, then it's required that the
component exists (i.e. resolution will work) but there's no reason for
it to be built. The actions that you execute have no action prerequisite
chain that ever reaches the bundle in question.

You can add this of course, by altering some of the groups or actions
that exists in the generated cspec.

I think the best way to really understand what's going on is to take a
look at the generated XML of a bundle cspec and pay specific attention
to the prerequisites and groups.

Regards,
Thomas Hallgren


Joseph Campolongo wrote:
> Just to re-iterate, the ‘View CSpec’ action give me a cspec file that
> has the following block in it:
>
>
>
> <cs:dependencies>
>
> <cs:dependency name="OSGi_Dependency"
> componentType="osgi.bundle" versionDesignator="1.0.0" versionType="OSGi"/>
>
> </cs:dependencies>
>
>
>
> Then, running the project with debug turned on, I don’t see anything
> having to do with dependencies at all. It is all very strange. Note
> also that if I keep the buckminster.cspex file and add the dependency to
> the manifest.mf, I still don’t get the dependency being built. Only if
> I have the dependency in the manifest file and the buckminster.cspex
> file doesn’t exist does it get built.
>
>
>
> I’m guessing that I’m doing something wrong somewhere, but it is opaque
> enough to stymie me.
>
>
>
> Actions to perform (in order)
>
> com.cra.project:osgi.bundle$1.0.1#OSGi#target.fragments
>
> com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build
>
> com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar
>
> [start com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]
>
> target.arch=x86
>
> PROJECT_Runtime=c:\Project_metronome
>
> buckminster.component=com.cra.project
>
> workspace.root=C:/Documents and Settings/jcampolongo/workspace
>
>
> buckminster.temp=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmins ter/com.cra.project_1.0.1-osgi.bundle/temp
>
> buckminster.home=C:\dev\Project\trunk\Metronome-Project\
>
>
> buckminster.output=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra.project_1.0.1-osgi.bundle/build
>
> localhost=jcampolongo-dt1
>
> buckminster.component.type=osgi.bundle
>
> buckminster.version.type=OSGi
>
> buckminster.version=1.0.1
>
> target.nl=en_US
>
> target.ws=win32
>
> eclipse.home=C:\eclipse
>
> target.os=win32
>
> target.location=C:\dev\Project\trunk\target_platform
>
> [end com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]
>
> Action com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar using 'up to
> date' policy COUNT: Rebuild needed: File count(0) < expected(1)
>
> [start com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]
>
> Product alias = action.output
>
> Product base = ${buckminster.output}\jar\
>
> target.arch=x86
>
> PROJECT_Runtime=c:\Project_metronome
>
> buckminster.component=com.cra.project
>
> workspace.root=C:/Documents and Settings/jcampolongo/workspace
>
>
> buckminster.temp=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmins ter/com.cra.project_1.0.1-osgi.bundle/temp
>
> buckminster.home=C:\dev\Project\trunk\Metronome-Project\
>
>
> buckminster.output=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra.project_1.0.1-osgi.bundle/build
>
> localhost=jcampolongo-dt1
>
> buckminster.component.type=osgi.bundle
>
> buckminster.version.type=OSGi
>
> buckminster.version=1.0.1
>
> target.nl=en_US
>
> target.ws=win32
>
> eclipse.home=C:\eclipse
>
> target.os=win32
>
> target.location=C:\dev\Project\trunk\target_platform
>
> [end com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]
>
>
>
> Joseph Campolongo
>
> Charles River Analytics, Inc.
>
>
>
>
>
>
>
> 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.
>
>
>
Re: [buckminster-dev] Plugin dependencies and cspex file [message #22449 is a reply to message #22380] Mon, 21 July 2008 15:35 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Joseph,
I think that what you see is all due to actions and their prerequisites.
You build some action that has prerequisites on other actions in other
bundles. If you examine those prerequisites more carefully, you will see
that the bundle where you add the cspex automatically adds them when you
add the dependency to the manifest.mf.

If you just add the dependency manually without adding any prerequisites
to an action that you execute, well, then it's required that the
component exists (i.e. resolution will work) but there's no reason for
it to be built. The actions that you execute have no action prerequisite
chain that ever reaches the bundle in question.

You can add this of course, by altering some of the groups or actions
that exists in the generated cspec.

I think the best way to really understand what's going on is to take a
look at the generated XML of a bundle cspec and pay specific attention
to the prerequisites and groups.

Regards,
Thomas Hallgren


Joseph Campolongo wrote:
> Just to re-iterate, the ‘View CSpec’ action give me a cspec file that
> has the following block in it:
>
>
>
> <cs:dependencies>
>
> <cs:dependency name="OSGi_Dependency"
> componentType="osgi.bundle" versionDesignator="1.0.0" versionType="OSGi"/>
>
> </cs:dependencies>
>
>
>
> Then, running the project with debug turned on, I don’t see anything
> having to do with dependencies at all. It is all very strange. Note
> also that if I keep the buckminster.cspex file and add the dependency to
> the manifest.mf, I still don’t get the dependency being built. Only if
> I have the dependency in the manifest file and the buckminster.cspex
> file doesn’t exist does it get built.
>
>
>
> I’m guessing that I’m doing something wrong somewhere, but it is opaque
> enough to stymie me.
>
>
>
> Actions to perform (in order)
>
> com.cra.project:osgi.bundle$1.0.1#OSGi#target.fragments
>
> com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build
>
> com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar
>
> [start com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]
>
> target.arch=x86
>
> PROJECT_Runtime=c:\Project_metronome
>
> buckminster.component=com.cra.project
>
> workspace.root=C:/Documents and Settings/jcampolongo/workspace
>
>
> buckminster.temp=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmins ter/com.cra.project_1.0.1-osgi.bundle/temp
>
> buckminster.home=C:\dev\Project\trunk\Metronome-Project\
>
>
> buckminster.output=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra.project_1.0.1-osgi.bundle/build
>
> localhost=jcampolongo-dt1
>
> buckminster.component.type=osgi.bundle
>
> buckminster.version.type=OSGi
>
> buckminster.version=1.0.1
>
> target.nl=en_US
>
> target.ws=win32
>
> eclipse.home=C:\eclipse
>
> target.os=win32
>
> target.location=C:\dev\Project\trunk\target_platform
>
> [end com.cra.project:osgi.bundle$1.0.1#OSGi#eclipse.build]
>
> Action com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar using 'up to
> date' policy COUNT: Rebuild needed: File count(0) < expected(1)
>
> [start com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]
>
> Product alias = action.output
>
> Product base = ${buckminster.output}\jar\
>
> target.arch=x86
>
> PROJECT_Runtime=c:\Project_metronome
>
> buckminster.component=com.cra.project
>
> workspace.root=C:/Documents and Settings/jcampolongo/workspace
>
>
> buckminster.temp=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmins ter/com.cra.project_1.0.1-osgi.bundle/temp
>
> buckminster.home=C:\dev\Project\trunk\Metronome-Project\
>
>
> buckminster.output=C:/DOCUME~1/JCAMPO~1/LOCALS~1/Temp/buckmi nster/com.cra.project_1.0.1-osgi.bundle/build
>
> localhost=jcampolongo-dt1
>
> buckminster.component.type=osgi.bundle
>
> buckminster.version.type=OSGi
>
> buckminster.version=1.0.1
>
> target.nl=en_US
>
> target.ws=win32
>
> eclipse.home=C:\eclipse
>
> target.os=win32
>
> target.location=C:\dev\Project\trunk\target_platform
>
> [end com.cra.project:osgi.bundle$1.0.1#OSGi#bundle.jar]
>
>
>
> Joseph Campolongo
>
> Charles River Analytics, Inc.
>
>
>
>
>
>
>
> 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.
>
>
>
Previous Topic:Re: [buckminster-dev] Plugin dependencies and cspex file
Next Topic:Re: [buckminster-dev] Plugin dependencies and cspex file
Goto Forum:
  


Current Time: Fri Dec 27 00:38:05 GMT 2024

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

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

Back to the top