<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>mylyn-builds-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/maillist.html</link>
		<description>mylyn-builds-dev</description>
		<language>en-us</language>
		<pubDate>Thu, 05 Apr 2012 04:15:21 GMT</pubDate>
		<lastBuildDate>Thu, 05 Apr 2012 04:15:21 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>mylyn-builds-dev</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/maillist.html</link>
		</image>
 

	<item>
		<title>[mylyn-builds-dev] Project meta data is out of date for mylyn.builds</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00048.html</link>
		<description>Steffen, Projects are required to keep meta data up to date using the MyFoundation Portal (http://portal.eclipse.org/). The following problems were found with this project's meta-data: * The date for release &amp;quot;0.9&amp;quot; is in the past, but the release is not mar...</description>
		<content:encoded><![CDATA[<pre>Steffen,
Projects are required to keep meta data up to date using the MyFoundation
Portal (<a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>).  The following problems were found
with this project's meta-data:

* The date for release &quot;0.9&quot; is in the past, but the release is not marked
as completed. If it is completed, it should be marked as completed; if it
has been postponed, it should be given a new target date.


</pre>]]></content:encoded>
		<pubDate>Thu, 05 Apr 2012 04:00:10 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00048.html</guid>
		<author>emo@xxxxxxx (portal on behalf of emo)</author>
	</item>


	<item>
		<title>Re: [mylyn-builds-dev] Question about configuration caches and extending buildplans</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00047.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre>The builds model is intended as a common abstraction and not likely
going to support storing any object. If you absolutely need to persist
your domain objects which I would not recommend you could take a look
at the GSon library. It's very easy to marshal objects into JSON which
can be persisted in a string attribute which should be supported by
the changes for this bug:

 355436: enhance BuildPlan and Build class to hold additional data
 <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355436">https://bugs.eclipse.org/bugs/show_bug.cgi?id=355436</a>


Steffen


On Thu, Aug 25, 2011 at 10:11 PM, Kiu Leung &lt;kleung@xxxxxxxxxx&gt; wrote:
&gt; Hi all,
&gt;
&gt; I am building a connector for Red Hat's build system koji and have a need
&gt; of storing koji's data model into a subclass of build plan. &#xA0;According to
&gt; my previous mailing list conversations, I am aware that the emf framework
&gt; will increase the difficulty of doing so. &#xA0;I wonder would it be related to
&gt; serializing/deserializing the objects? &#xA0;If that's the case, is it possible
&gt; for me to actually store koji's data model (which is declared serializable)
&gt; into the configuration cache and convert it to a subclass of buildplan during
&gt; runtime through BuildServerBehavior's getConfiguration()?
&gt;
&gt; Looking forward to read your reply, thank you very much!
&gt;
&gt; Best regards,
&gt;
&gt; Ken Leung
&gt; _______________________________________________
&gt; mylyn-builds-dev mailing list
&gt; mylyn-builds-dev@xxxxxxxxxxx
&gt; <a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a>
&gt;



-- 
Steffen Pingel
Committer, <a  href="http://eclipse.org/mylyn">http://eclipse.org/mylyn</a>
Senior Developer, <a  href="http://tasktop.com">http://tasktop.com</a>

</pre>]]></content:encoded>
		<pubDate>Sun, 28 Aug 2011 19:17:11 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00047.html</guid>
		<author>steffen.pingel@xxxxxxx (Steffen Pingel)</author>
	</item>


	<item>
		<title>[mylyn-builds-dev] Question about configuration caches and	extending buildplans</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00046.html</link>
		<description>Hi all, I am building a connector for Red Hat's build system koji and have a need of storing koji's data model into a subclass of build plan. According to my previous mailing list conversations, I am aware that the emf framework will increase the difficult...</description>
		<content:encoded><![CDATA[<pre>Hi all,

I am building a connector for Red Hat's build system koji and have a need
of storing koji's data model into a subclass of build plan.  According to
my previous mailing list conversations, I am aware that the emf framework
will increase the difficulty of doing so.  I wonder would it be related to
serializing/deserializing the objects?  If that's the case, is it possible
for me to actually store koji's data model (which is declared serializable)
into the configuration cache and convert it to a subclass of buildplan during
runtime through BuildServerBehavior's getConfiguration()?

Looking forward to read your reply, thank you very much!

Best regards,

Ken Leung

</pre>]]></content:encoded>
		<pubDate>Thu, 25 Aug 2011 20:11:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00046.html</guid>
		<author>kleung@xxxxxxx (Kiu Leung)</author>
	</item>
	<item>
		<title>Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00045.html</link>
		<description> Hi all, I am now implementing the getPlans() method of the ServerBehavior class for the koji connector. At a first glance, I noticed that the method takes a list of plan IDs. This raises the question about, when a new server is created and the refresh but...</description>
		<content:encoded><![CDATA[<pre>Mr. Pingel:

Thank you very much for your explanation!

Ken Leung

----- Original Message -----
From: &quot;Steffen Pingel&quot; &lt;steffen.pingel@xxxxxxxxxxx&gt;
To: mylyn-builds-dev@xxxxxxxxxxx
Sent: Thursday, August 25, 2011 9:33:32 AM
Subject: Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation


HudsonUrl is class specific to the connector Hudson that is responsible for constructing URLs for API calls. You are right that all plans (Hudson jobs) are queried when the list of ids is null. As a first step I would implement refreshConfiguration() in your connector as such that it returns a populated configuration object with all available plans on the server. 



Steffen 


On Thu, Aug 25, 2011 at 3:22 PM, Kiu Leung &lt; kleung@xxxxxxxxxx &gt; wrote: 


Mr. Pingel: 

Thank you very much for your answer, I haven't been able to fully understand the refreshConfiguration() method as I 
am not quite sure about the behaviour of the match() method in HudsonUrl if the list is null. 

So I guess when it comes to the toURL(), it will simply skip the id list and query everything out of hudson? 

Ken Leung 




----- Original Message ----- 
From: &quot;Steffen Pingel&quot; &lt; steffen.pingel@xxxxxxxxxxx &gt; 
To: mylyn-builds-dev@xxxxxxxxxxx 
Sent: Thursday, August 25, 2011 1:57:47 AM 
Subject: Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation 


RefreshSession.refreshPlans() populates the list of plans based on the subscription in the builds model. The subscription is managed in the properties page of the build server. The list of plans presented in the page page is obtained by invokeing BuildServerBehavior.refreshConfiguration() which should return an object with the list of available plans. 


I hope that helps. 


Steffen 



On Wed, Aug 24, 2011 at 7:31 PM, Kiu Leung &lt; kleung@xxxxxxxxxx &gt; wrote: 


Hi all, 

I am now implementing the getPlans() method of the ServerBehavior class for the koji connector. 
At a first glance, I noticed that the method takes a list of plan IDs. This raises the question 
about, when a new server is created and the refresh button is clicked, what is being sent to the 
getPlans() to query all the available build plans of the server? 

(I did a bit of tracing and it brought me to a RefreshSession class' refreshPlans() method, but tracing 
that method leads to a conclusion of an empty list is passed to the getPlans().) 

I should be grateful for your kind advice and thank you very much! 

Best wishes, 

Ken Leung 
_______________________________________________ 
mylyn-builds-dev mailing list 
mylyn-builds-dev@xxxxxxxxxxx 
<a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a> 




-- 
Steffen Pingel 
Committer, <a  href="http://eclipse.org/mylyn">http://eclipse.org/mylyn</a> 
Senior Developer, <a  href="http://tasktop.com">http://tasktop.com</a> 

_______________________________________________ 
mylyn-builds-dev mailing list 
mylyn-builds-dev@xxxxxxxxxxx 
<a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a> 
_______________________________________________ 
mylyn-builds-dev mailing list 
mylyn-builds-dev@xxxxxxxxxxx 
<a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a> 




-- 
Steffen Pingel 
Committer, <a  href="http://eclipse.org/mylyn">http://eclipse.org/mylyn</a> 
Senior Developer, <a  href="http://tasktop.com">http://tasktop.com</a> 

_______________________________________________
mylyn-builds-dev mailing list
mylyn-builds-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a>

</pre>]]></content:encoded>
		<pubDate>Thu, 25 Aug 2011 18:44:14 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00045.html</guid>
		<author>kleung@xxxxxxx (Kiu Leung)</author>
	</item>
	<item>
		<title>Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00044.html</link>
		<description>HudsonUrl is class specific to the connector Hudson that is responsible for constructing URLs for API calls. You are right that all plans (Hudson jobs) are queried when the list of ids is null.&amp;#xA0;As a first step I would implement refreshConfiguration() in yo...</description>
		<content:encoded><![CDATA[HudsonUrl is class specific to the connector Hudson that is responsible for constructing URLs for API calls. You are right that all plans (Hudson jobs) are queried when the list of ids is null.&#xA0;As a first step I would implement refreshConfiguration() in your connector as such that it returns a populated configuration object with all available plans on the server.<div>
<div><br></div><div>Steffen<br><br><div class="gmail_quote">On Thu, Aug 25, 2011 at 3:22 PM, Kiu Leung <span dir="ltr">&lt;<a href="mailto:kleung@xxxxxxxxxx">kleung@xxxxxxxxxx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Mr. Pingel:<br>
<br>
Thank you very much for your answer, I haven&#39;t been able to fully understand the refreshConfiguration() method as I<br>
am not quite sure about the behaviour of the match() method in HudsonUrl if the list is null.<br>
<br>
So I guess when it comes to the toURL(), it will simply skip the id list and query everything out of hudson?<br>
<br>
Ken Leung<br>
<div><div></div><div class="h5"><br>
----- Original Message -----<br>
From: &quot;Steffen Pingel&quot; &lt;<a href="mailto:steffen.pingel@xxxxxxxxxxx">steffen.pingel@xxxxxxxxxxx</a>&gt;<br>
To: <a href="mailto:mylyn-builds-dev@xxxxxxxxxxx">mylyn-builds-dev@xxxxxxxxxxx</a><br>
Sent: Thursday, August 25, 2011 1:57:47 AM<br>
Subject: Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation<br>
<br>
<br>
RefreshSession.refreshPlans() populates the list of plans based on the subscription in the builds model. The subscription is managed in the properties page of the build server. The list of plans presented in the page page is obtained by invokeing BuildServerBehavior.refreshConfiguration() which should return an object with the list of available plans.<br>

<br>
<br>
I hope that helps.<br>
<br>
<br>
Steffen<br>
<br>
<br>
<br>
On Wed, Aug 24, 2011 at 7:31 PM, Kiu Leung &lt; <a href="mailto:kleung@xxxxxxxxxx">kleung@xxxxxxxxxx</a> &gt; wrote:<br>
<br>
<br>
Hi all,<br>
<br>
I am now implementing the getPlans() method of the ServerBehavior class for the koji connector.<br>
At a first glance, I noticed that the method takes a list of plan IDs. This raises the question<br>
about, when a new server is created and the refresh button is clicked, what is being sent to the<br>
getPlans() to query all the available build plans of the server?<br>
<br>
(I did a bit of tracing and it brought me to a RefreshSession class&#39; refreshPlans() method, but tracing<br>
that method leads to a conclusion of an empty list is passed to the getPlans().)<br>
<br>
I should be grateful for your kind advice and thank you very much!<br>
<br>
Best wishes,<br>
<br>
Ken Leung<br>
_______________________________________________<br>
mylyn-builds-dev mailing list<br>
<a href="mailto:mylyn-builds-dev@xxxxxxxxxxx">mylyn-builds-dev@xxxxxxxxxxx</a><br>
<a href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev" target="_blank">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a><br>
<br>
<br>
<br>
<br>
--<br>
Steffen Pingel<br>
Committer, <a href="http://eclipse.org/mylyn" target="_blank">http://eclipse.org/mylyn</a><br>
Senior Developer, <a href="http://tasktop.com" target="_blank">http://tasktop.com</a><br>
<br>
_______________________________________________<br>
mylyn-builds-dev mailing list<br>
<a href="mailto:mylyn-builds-dev@xxxxxxxxxxx">mylyn-builds-dev@xxxxxxxxxxx</a><br>
<a href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev" target="_blank">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a><br>
_______________________________________________<br>
mylyn-builds-dev mailing list<br>
<a href="mailto:mylyn-builds-dev@xxxxxxxxxxx">mylyn-builds-dev@xxxxxxxxxxx</a><br>
<a href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev" target="_blank">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Steffen Pingel<br>Committer, <a href="http://eclipse.org/mylyn">http://eclipse.org/mylyn</a><br>Senior Developer, <a href="http://tasktop.com">http://tasktop.com</a><br>

</div></div>
]]></content:encoded>
		<pubDate>Thu, 25 Aug 2011 13:33:34 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00044.html</guid>
		<author>steffen.pingel@xxxxxxx (Steffen Pingel)</author>
	</item>
	<item>
		<title>Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00043.html</link>
		<description> Hi all, I am now implementing the getPlans() method of the ServerBehavior class for the koji connector. At a first glance, I noticed that the method takes a list of plan IDs. This raises the question about, when a new server is created and the refresh but...</description>
		<content:encoded><![CDATA[<pre>Mr. Pingel:

Thank you very much for your answer, I haven't been able to fully understand the refreshConfiguration() method as I
am not quite sure about the behaviour of the match() method in HudsonUrl if the list is null.

So I guess when it comes to the toURL(), it will simply skip the id list and query everything out of hudson?

Ken Leung

----- Original Message -----
From: &quot;Steffen Pingel&quot; &lt;steffen.pingel@xxxxxxxxxxx&gt;
To: mylyn-builds-dev@xxxxxxxxxxx
Sent: Thursday, August 25, 2011 1:57:47 AM
Subject: Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation


RefreshSession.refreshPlans() populates the list of plans based on the subscription in the builds model. The subscription is managed in the properties page of the build server. The list of plans presented in the page page is obtained by invokeing BuildServerBehavior.refreshConfiguration() which should return an object with the list of available plans. 


I hope that helps. 


Steffen 



On Wed, Aug 24, 2011 at 7:31 PM, Kiu Leung &lt; kleung@xxxxxxxxxx &gt; wrote: 


Hi all, 

I am now implementing the getPlans() method of the ServerBehavior class for the koji connector. 
At a first glance, I noticed that the method takes a list of plan IDs. This raises the question 
about, when a new server is created and the refresh button is clicked, what is being sent to the 
getPlans() to query all the available build plans of the server? 

(I did a bit of tracing and it brought me to a RefreshSession class' refreshPlans() method, but tracing 
that method leads to a conclusion of an empty list is passed to the getPlans().) 

I should be grateful for your kind advice and thank you very much! 

Best wishes, 

Ken Leung 
_______________________________________________ 
mylyn-builds-dev mailing list 
mylyn-builds-dev@xxxxxxxxxxx 
<a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a> 




-- 
Steffen Pingel 
Committer, <a  href="http://eclipse.org/mylyn">http://eclipse.org/mylyn</a> 
Senior Developer, <a  href="http://tasktop.com">http://tasktop.com</a> 

_______________________________________________
mylyn-builds-dev mailing list
mylyn-builds-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a>

</pre>]]></content:encoded>
		<pubDate>Thu, 25 Aug 2011 13:22:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00043.html</guid>
		<author>kleung@xxxxxxx (Kiu Leung)</author>
	</item>
	<item>
		<title>Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00042.html</link>
		<description>-- Steffen PingelCommitter, http://eclipse.org/mylynSenior Developer, http://tasktop.com </description>
		<content:encoded><![CDATA[RefreshSession.refreshPlans() populates the list of plans based on the subscription in the builds model. The subscription is managed in the properties page of the build server. The list of plans presented in the page page is obtained by invokeing BuildServerBehavior.refreshConfiguration() which should return an object with the list of available plans.<div>
<br></div><div>I hope that helps.</div><div><br></div><div>Steffen</div><div><br><br><div class="gmail_quote">On Wed, Aug 24, 2011 at 7:31 PM, Kiu Leung <span dir="ltr">&lt;<a href="mailto:kleung@xxxxxxxxxx">kleung@xxxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I am now implementing the getPlans() method of the ServerBehavior class for the koji connector.<br>
At a first glance, I noticed that the method takes a list of plan IDs. &#xA0;This raises the question<br>
about, when a new server is created and the refresh button is clicked, what is being sent to the<br>
getPlans() to query all the available build plans of the server?<br>
<br>
(I did a bit of tracing and it brought me to a RefreshSession class&#39; refreshPlans() method, but tracing<br>
that method leads to a conclusion of an empty list is passed to the getPlans().)<br>
<br>
I should be grateful for your kind advice and thank you very much!<br>
<br>
Best wishes,<br>
<br>
Ken Leung<br>
_______________________________________________<br>
mylyn-builds-dev mailing list<br>
<a href="mailto:mylyn-builds-dev@xxxxxxxxxxx">mylyn-builds-dev@xxxxxxxxxxx</a><br>
<a href="http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev" target="_blank">http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steffen Pingel<br>Committer, <a href="http://eclipse.org/mylyn">http://eclipse.org/mylyn</a><br>Senior Developer, <a href="http://tasktop.com">http://tasktop.com</a><br>

</div>
]]></content:encoded>
		<pubDate>Thu, 25 Aug 2011 05:57:47 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00042.html</guid>
		<author>steffen.pingel@xxxxxxx (Steffen Pingel)</author>
	</item>


	<item>
		<title>[mylyn-builds-dev] Question about refreshing plans upon new server	creation</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00041.html</link>
		<description>Hi all, I am now implementing the getPlans() method of the ServerBehavior class for the koji connector. At a first glance, I noticed that the method takes a list of plan IDs. This raises the question about, when a new server is created and the refresh butt...</description>
		<content:encoded><![CDATA[<pre>Hi all,

I am now implementing the getPlans() method of the ServerBehavior class for the koji connector.
At a first glance, I noticed that the method takes a list of plan IDs.  This raises the question
about, when a new server is created and the refresh button is clicked, what is being sent to the
getPlans() to query all the available build plans of the server?

(I did a bit of tracing and it brought me to a RefreshSession class' refreshPlans() method, but tracing
that method leads to a conclusion of an empty list is passed to the getPlans().)

I should be grateful for your kind advice and thank you very much!

Best wishes,

Ken Leung

</pre>]]></content:encoded>
		<pubDate>Wed, 24 Aug 2011 17:31:55 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00041.html</guid>
		<author>kleung@xxxxxxx (Kiu Leung)</author>
	</item>


	<item>
		<title>Re: [mylyn-builds-dev] Question about Repository Location</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00040.html</link>
		<description>Yes, you should be able to construct new servers objects based on a location and add them to the builds model.&amp;#xA0;You might want to take a look at the Hudson auto discovery implementation in HudsonDiscovery and calls to BuildsUi.createServer() for examples ho...</description>
		<content:encoded><![CDATA[<div>Hi Ken,</div><div><br></div><div>the approach that you suggested sounds good.</div><div><br><div class="gmail_quote">On Mon, Aug 22, 2011 at 10:22 PM, Kiu Leung <span dir="ltr">&lt;<a href="mailto:kleung@xxxxxxxxxx" target="_blank">kleung@xxxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[..] &#xA0;I know that the instance of the BuildServer can be<br>
obtained by calling BuildUI.createServer(connector kind), but can I simply fill the server<br>
url into the properties of the RepositoryLocation and set the server as the buildplan&#39;s server?<br></blockquote><div><br></div><div>Yes, you should be able to construct new servers objects based on a location and add them to the builds model.&#xA0;You might want to take a look at the Hudson auto discovery implementation in HudsonDiscovery and calls to BuildsUi.createServer() for examples how to lookup existing servers or add new servers.</div>
<div><br></div><div>The implementation in BuildHistoryPage should give you and idea how to create an operation to obtain an IBuild and open it in the editor.</div><div><br></div><div>Steffen</div></div><div><br></div>-- <br>
Steffen Pingel<br>Committer, <a href="http://eclipse.org/mylyn" target="_blank">http://eclipse.org/mylyn</a><br>Senior Developer, <a href="http://tasktop.com" target="_blank">http://tasktop.com</a><br>

</div>
]]></content:encoded>
		<pubDate>Mon, 22 Aug 2011 22:59:19 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00040.html</guid>
		<author>steffen.pingel@xxxxxxx (Steffen Pingel)</author>
	</item>
	<item>
		<title>[mylyn-builds-dev] Question about Repository Location</title>
		<link>http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00039.html</link>
		<description>Hi all, I have a problem with the repository location as I implement a connector for Red Hat's Koji build server. My seniors are interested in the use case where a build editor will show the detail of the build they just pushed by using Fedora Packager. Th...</description>
		<content:encoded><![CDATA[<pre>Hi all,

I have a problem with the repository location as I implement a connector for Red Hat's Koji
build server.  My seniors are interested in the use case where a build editor will show the detail
of the build they just pushed by using Fedora Packager.  The problem is, at the moment,
I cannot provide the full implementation of the connector, so I must first finish the
implementation of the ServerBehavior and the mapping of BuildPlan and Build for use with
BuildEditor.  On top of that, I think I will need the RepositoryLocation supplied by the
BuildServer to construct the client.  I know that the instance of the BuildServer can be
obtained by calling BuildUI.createServer(connector kind), but can I simply fill the server
url into the properties of the RepositoryLocation and set the server as the buildplan's server?

Looking forward to read your reply, thank you very much!

Yours truly,

Ken Leung

</pre>]]></content:encoded>
		<pubDate>Mon, 22 Aug 2011 20:22:25 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/mylyn-builds-dev/msg00039.html</guid>
		<author>kleung@xxxxxxx (Kiu Leung)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->

