<?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>platform-cvs-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/maillist.html</link>
		<description>platform-cvs-dev</description>
		<language>en-us</language>
		<pubDate>Wed, 28 Oct 2009 13:31:14 GMT</pubDate>
		<lastBuildDate>Wed, 28 Oct 2009 13:31:14 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>platform-cvs-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/platform-cvs-dev/maillist.html</link>
		</image>
 

	<item>
		<title>Re: [platform-cvs-dev] Bug 76386 show branch name in CVS history</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00537.html</link>
		<description> </description>
		<content:encoded><![CDATA[Great. Will wait for 3.6M5.<div><br><div><br></div><div>--</div><div>Olexiy<br><div><div><div><div><br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 5:28 AM, Tomasz Zarna <span dir="ltr">&lt;<a href="mailto:TomaszZarna@xxxxxxxxxx">TomaszZarna@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 Olexiy,<br>
<br>
I&#39;m sorry for the late response, I&#39;m quite busy on other fronts and somehow<br>
overlooked your message. We do plan to address this issue during 3.6M5. For<br>
more details take a look at<br>
<a href="http://www.eclipse.org/eclipse/platform-team/team3.6/plan.php" target="_blank">http://www.eclipse.org/eclipse/platform-team/team3.6/plan.php</a>. Thanks for<br>
your patches, I can assure you we will get back to them.<br>
<br>
Cheers,<br>
--<br>
Tomasz Zarna<br>
<br>
<br>
<br>
 &#xA0;From: &#xA0; &#xA0; &#xA0; Olexiy Buyanskyy &lt;<a href="mailto:olexiyb@xxxxxxxxx">olexiyb@xxxxxxxxx</a>&gt;<br>
<br>
 &#xA0;To: &#xA0; &#xA0; &#xA0; &#xA0; <a href="mailto:platform-cvs-dev@xxxxxxxxxxx">platform-cvs-dev@xxxxxxxxxxx</a><br>
<br>
 &#xA0;Date: &#xA0; &#xA0; &#xA0; 2009-09-03 05:53<br>
<br>
 &#xA0;Subject: &#xA0; &#xA0;[platform-cvs-dev] Bug 76386 show branch name in CVS history<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
Hi,<br>
<br>
I have submitted patch more then month ago.<br>
Can someone review it?<br>
<br>
--<br>
Olexiy<br>
<br>
</div></div>_______________________________________________<br>
platform-cvs-dev mailing list<br>
<a href="mailto:platform-cvs-dev@xxxxxxxxxxx">platform-cvs-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev</a><br>
<br>
<br>
<br>
_______________________________________________<br>
platform-cvs-dev mailing list<br>
<a href="mailto:platform-cvs-dev@xxxxxxxxxxx">platform-cvs-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev</a><br>
</blockquote></div><br></div></div></div></div></div></div>
]]></content:encoded>
		<pubDate>Wed, 28 Oct 2009 13:21:12 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00537.html</guid>
		<author>olexiyb@xxxxxxx (Olexiy Buyanskyy)</author>
	</item>
	<item>
		<title>[platform-cvs-dev] AUTO: I'm out of the office on a business trip starting 10/26/09 (returning 10/30/2009)</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00536.html</link>
		<description> I am out of the office until 10/30/2009. Please contact Gary Mazo for any technical questions, and Kimi Cousins/Beng Chiu for any management related issues Note: This is an automated response to your message &amp;quot;Re: [platform-cvs-dev] Bug 76386 show branch n...</description>
		<content:encoded><![CDATA[
<p><font size="2">I am out of the office until 10/30/2009.<br>
</font><font size="2"><br>
</font><font size="2">Please contact Gary Mazo for any technical questions, and Kimi Cousins/Beng Chiu for any management related issues<br>
</font><font size="2"><br>
</font><font size="2"><br>
</font><font size="2" color="#808080">Note: This is an automated response to your message  &quot;</font><b><font size="2">Re: [platform-cvs-dev] Bug 76386 show branch name in CVS history&quot;</font></b><font size="2" color="#808080"> sent on </font><b><font size="2">10/28/09 3:28:14</font></b><font size="2" color="#808080">. <br>
</font><font size="2" color="#808080"><br>
</font><font size="2" color="#808080">This is the only notification you will receive while this person is away.</font>]]></content:encoded>
		<pubDate>Wed, 28 Oct 2009 10:04:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00536.html</guid>
		<author>venkatu@xxxxxxx (Venkatuday M Balabhadrapatruni)</author>
	</item>
	<item>
		<title>Re: [platform-cvs-dev] Bug 76386 show branch name in CVS history</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00535.html</link>
		<description>Hi Olexiy, I'm sorry for the late response, I'm quite busy on other fronts and somehow overlooked your message. We do plan to address this issue during 3.6M5. For more details take a look at http://www.eclipse.org/eclipse/platform-team/team3.6/plan.php. Th...</description>
		<content:encoded><![CDATA[<pre>Hi Olexiy,

I'm sorry for the late response, I'm quite busy on other fronts and somehow
overlooked your message. We do plan to address this issue during 3.6M5. For
more details take a look at
<a  href="http://www.eclipse.org/eclipse/platform-team/team3.6/plan.php">http://www.eclipse.org/eclipse/platform-team/team3.6/plan.php</a>. Thanks for
your patches, I can assure you we will get back to them.

Cheers,
--
Tomasz Zarna


                                                                                                                               
  From:       Olexiy Buyanskyy &lt;olexiyb@xxxxxxxxx&gt;                                                                             
                                                                                                                               
  To:         platform-cvs-dev@xxxxxxxxxxx                                                                                     
                                                                                                                               
  Date:       2009-09-03 05:53                                                                                                 
                                                                                                                               
  Subject:    [platform-cvs-dev] Bug 76386 show branch name in CVS history                                                     
                                                                                                                               





Hi,

I have submitted patch more then month ago.
Can someone review it?

--
Olexiy

_______________________________________________
platform-cvs-dev mailing list
platform-cvs-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev">https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev</a>




</pre>]]></content:encoded>
		<pubDate>Wed, 28 Oct 2009 09:29:23 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00535.html</guid>
		<author>TomaszZarna@xxxxxxx (Tomasz Zarna)</author>
	</item>


	<item>
		<title>[platform-cvs-dev] Bug 76386 show branch name in CVS history</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00534.html</link>
		<description>Hi,I have submitted patch more then month ago.Can someone review it?--Olexiy </description>
		<content:encoded><![CDATA[Hi,<div><br><div>I have submitted patch more then month ago.</div><div>Can someone review it?</div><div><br></div><div>--</div><div>Olexiy</div><div><br></div><div><br></div></div>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 03:53:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00534.html</guid>
		<author>olexiyb@xxxxxxx (Olexiy Buyanskyy)</author>
	</item>


	<item>
		<title>Re: [platform-cvs-dev] Uninstall CVS plugin?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00533.html</link>
		<description> Since the CVS feature is included in the Eclipse SDK, it can't be uninstalled. However, you can create a configuration without it by doing the following: 1) Install the &amp;quot;platform runtime binary&amp;quot; from http://download.eclipse.org/eclipse/downloads/ 2) Help ...</description>
		<content:encoded><![CDATA[
<br><font size=2 face="sans-serif">Since the CVS feature is included in
the Eclipse SDK, it can't be uninstalled. However, you can create a configuration
without it by doing the following:</font>
<br>
<br><font size=2 face="sans-serif">1) Install the &quot;platform runtime
binary&quot; from http://download.eclipse.org/eclipse/downloads/</font>
<br><font size=2 face="sans-serif">2) Help &gt; Install New Software</font>
<br><font size=2 face="sans-serif">3) Install &quot;Eclipse Java development
tools&quot;, and whatever other features you want</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Florian Rampp &lt;Florian.Rampp@xxxxxx&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: platform-cvs-dev-bounces@xxxxxxxxxxx</font>
<p><font size=1 face="sans-serif">06/27/2009 05:20 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;Eclipse CVS Integration developers list.&quot; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;platform-cvs-dev@xxxxxxxxxxx&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">platform-cvs-dev@xxxxxxxxxxx</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[platform-cvs-dev] Uninstall CVS plugin?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hello Eclipse CVS team!<br>
<br>
I'm using Eclipse as an IDE for Java development. Due to the limited<br>
speed of my workstation, I try to reduce the memory footprint as<br>
much as possible and therefore try to remove plugins I don't need,<br>
or, at least, try to avoid installing them.<br>
<br>
Since I'm currently only working with Subversion I was wondering how<br>
I can remove the CVS plugin from my Eclipse installation. Somehow,<br>
it doesn't seem to be possible to simply uninstall it in the<br>
&quot;Eclipse Installation Details&quot; Dialog, register &quot;Installed
Software&quot;.<br>
<br>
I'm using &quot;Eclipse IDE for Java Developers&quot;, Eclipse Galileo
under<br>
Linux.<br>
<br>
I know that this is probably off topic on this mailing list, but it<br>
would be nice to be able to precisely specify the Eclipse<br>
configuration to be downloaded.<br>
<br>
I really appreciate your work and would like to thank you for your<br>
efforts for providing an Eclipse CVS client.<br>
<br>
Best regards,<br>
<br>
Florian<br>
_______________________________________________<br>
platform-cvs-dev mailing list<br>
platform-cvs-dev@xxxxxxxxxxx<br>
https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev<br>
</font></tt>
<br>]]></content:encoded>
		<pubDate>Mon, 29 Jun 2009 13:58:56 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00533.html</guid>
		<author>John_Arthorne@xxxxxxx (John Arthorne)</author>
	</item>


	<item>
		<title>[platform-cvs-dev] Uninstall CVS plugin?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00532.html</link>
		<description>Hello Eclipse CVS team! I'm using Eclipse as an IDE for Java development. Due to the limited speed of my workstation, I try to reduce the memory footprint as much as possible and therefore try to remove plugins I don't need, or, at least, try to avoid inst...</description>
		<content:encoded><![CDATA[<pre>Hello Eclipse CVS team!

I'm using Eclipse as an IDE for Java development. Due to the limited
speed of my workstation, I try to reduce the memory footprint as
much as possible and therefore try to remove plugins I don't need,
or, at least, try to avoid installing them.

Since I'm currently only working with Subversion I was wondering how
I can remove the CVS plugin from my Eclipse installation. Somehow,
it doesn't seem to be possible to simply uninstall it in the
&quot;Eclipse Installation Details&quot; Dialog, register &quot;Installed Software&quot;.

I'm using &quot;Eclipse IDE for Java Developers&quot;, Eclipse Galileo under
Linux.

I know that this is probably off topic on this mailing list, but it
would be nice to be able to precisely specify the Eclipse
configuration to be downloaded.

I really appreciate your work and would like to thank you for your
efforts for providing an Eclipse CVS client.

Best regards,

Florian

</pre>]]></content:encoded>
		<pubDate>Sat, 27 Jun 2009 21:20:46 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00532.html</guid>
		<author>Florian.Rampp@xxxxxxx (Florian Rampp)</author>
	</item>


	<item>
		<title>Re: [platform-cvs-dev] CVS LDAP issue</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00531.html</link>
		<description> Raqib, please raise a bug to track this. This mailing list is for use by committers working on day-to-day development. https://bugs.eclipse.org/bugs/enter_bug_wizard.cgi Regards, Pawe&amp;#x142; Raqib_Anwar@xxxxxxxxxx Sent by: platform-cvs-dev-bounces@xxxxxxxxxxx 2...</description>
		<content:encoded><![CDATA[
<br><font size=2 face="sans-serif">Raqib,</font>
<br><font size=2 face="sans-serif">please raise a bug to track this. This
mailing list is for use by committers working on day-to-day development.</font>
<br>
<br><a href=https://bugs.eclipse.org/bugs/enter_bug_wizard.cgi><font size=3 color=blue><u>https://bugs.eclipse.org/bugs/enter_bug_wizard.cgi</u></font></a><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Pawe&#x142;</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Raqib_Anwar@xxxxxxxxxx</b>
</font>
<br><font size=1 face="sans-serif">Sent by: platform-cvs-dev-bounces@xxxxxxxxxxx</font>
<p><font size=1 face="sans-serif">2009-05-14 21:11</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;Eclipse CVS Integration developers list.&quot; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;platform-cvs-dev@xxxxxxxxxxx&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">platform-cvs-dev@xxxxxxxxxxx</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[platform-cvs-dev] CVS LDAP issue</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
<br>
After LDAP implementation CVS client can not be authenticate. Getting the<br>
message &quot;Authentication Error: Incorrect User Name or password&quot;.<br>
Connecting through pserver with correct port information in the<br>
format &nbsp; &nbsp;:pserver:user@cvsservert:port/cvs/repositories/repname
. &nbsp;Host on<br>
AIX5.x CVS ver 1.11. &nbsp;The entry in /etc/inetd.conf &nbsp; /etc/services
are<br>
identical to the nonLDAP AIX server which is working fine. &nbsp;The /etc/group<br>
and /etc/passwd had been exactly like the &nbsp;nonLDAP server. Getting
the same<br>
error from all Eclipse platform ranging 3.0 to 3.4.<br>
<br>
<br>
Thanks.<br>
<br>
Raqib Anwar<br>
<br>
ITG-IDEAS<br>
Integrated Development Environment Architecture and Support<br>
(312) 653-7802<br>
<br>
<br>
<br>
**********<br>
<br>
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee. &nbsp;Unauthorized use, disclosure, distribution or copying
is strictly prohibited and may be unlawful. &nbsp;If you have received
this communication in error, please notify the sender immediately at (312)653-6000
in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; or
(972)766-6900 in Texas.<br>
<br>
**********<br>
<br>
_______________________________________________<br>
platform-cvs-dev mailing list<br>
platform-cvs-dev@xxxxxxxxxxx<br>
https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev<br>
</font></tt>
<br>]]></content:encoded>
		<pubDate>Tue, 19 May 2009 12:30:13 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00531.html</guid>
		<author>Pawel.Pogorzelski@xxxxxxx (Pawel Pogorzelski)</author>
	</item>


	<item>
		<title>[platform-cvs-dev] CVS LDAP issue</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00530.html</link>
		<description> After LDAP implementation CVS client can not be authenticate. Getting the message &amp;quot;Authentication Error: Incorrect User Name or password&amp;quot;. Connecting through pserver with correct port information in the format :pserver:user@cvsservert:port/cvs/repositorie...</description>
		<content:encoded><![CDATA[<pre>

After LDAP implementation CVS client can not be authenticate. Getting the
message &quot;Authentication Error: Incorrect User Name or password&quot;.
Connecting through pserver with correct port information in the
format    :pserver:user@cvsservert:port/cvs/repositories/repname .  Host on
AIX5.x CVS ver 1.11.  The entry in /etc/inetd.conf   /etc/services are
identical to the nonLDAP AIX server which is working fine.  The /etc/group
and /etc/passwd had been exactly like the  nonLDAP server. Getting the same
error from all Eclipse platform ranging 3.0 to 3.4.


Thanks.

Raqib Anwar

ITG-IDEAS
Integrated Development Environment Architecture and Support
(312) 653-7802



**********

The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee.  Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful.  If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; or (972)766-6900 in Texas.

**********


</pre>]]></content:encoded>
		<pubDate>Thu, 14 May 2009 19:11:29 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00530.html</guid>
		<author>Raqib_Anwar@xxxxxxx (Raqib_Anwar)</author>
	</item>


	<item>
		<title>RE: [platform-cvs-dev] How to handle rules ?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00529.html</link>
		<description> </description>
		<content:encoded><![CDATA[


<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2>Thanks for article hint. Good article. Have you done 
something similair in the cvs ? Any code example?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2>br,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=312464314-18032009><FONT face=Arial 
color=#0000ff size=2>//mike</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> platform-cvs-dev-bounces@xxxxxxxxxxx 
[mailto:platform-cvs-dev-bounces@xxxxxxxxxxx] <B>On Behalf Of </B>Michael 
Valenta<BR><B>Sent:</B> den 17 mars 2009 12:30<BR><B>To:</B> Eclipse CVS 
Integration developers list.<BR><B>Subject:</B> Re: [platform-cvs-dev] How to 
handle rules ?<BR></FONT><BR></DIV>
<DIV></DIV>Mike,
<DIV><BR></DIV>
<DIV>The article at&nbsp;<A 
href="http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html">http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html</A> 
describes scheduling rules to a certain degree. If you want to take the easy way 
out, you could probably set the scheduling rule of your job to a MultiRule that 
contains your ClearCase rule and the workspace root 
(ResourcesPlugin.getWorkspace().getRoot()). This will give reduced concurrency 
during the refresh but should work. To get maximum concurrency, you would need 
to determine the subset of projects that the operation is being performed on and 
put those in the multi rule instead of the workspace root.</DIV>
<DIV><BR></DIV>
<DIV>Michael<BR><BR>
<DIV class=gmail_quote>On Tue, Mar 17, 2009 at 3:43 AM, Mikael Petterson <SPAN 
dir=ltr>&lt;<A 
href="mailto:mikael.petterson@xxxxxxxxxxxx">mikael.petterson@xxxxxxxxxxxx</A>&gt;</SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <DIV>
  <P><FONT face=Arial size=2>I have found 2 static classes in my xPlugin 
  class.</FONT> </P>
  <P><FONT face=Arial size=2>They are:</FONT> </P>
  <P><FONT face="Courier New" color=#3f5fbf size=2>/**</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>the</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf 
  size=2>scheduling</FONT><FONT face="Courier New" color=#000000 size=2></FONT> 
  <FONT face="Courier New" color=#3f5fbf size=2>rule</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>for</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf size=2>the</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>whole</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT><U> <FONT face="Courier New" color=#3f5fbf 
  size=2>clearcase</FONT></U><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf 
  size=2>engine</FONT><FONT face="Courier New" color=#000000 size=2></FONT> 
  <FONT face="Courier New" color=#3f5fbf size=2>*/</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>public</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>static</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>final</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  ISchedulingRule</FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_ENGING</FONT></I><FONT face="Courier New" color=#000000 
  size=2> =</FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>new</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  ISchedulingRule() {</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>public</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>boolean</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  contains(ISchedulingRule rule) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>return</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_ENGING</FONT></I><FONT face="Courier New" color=#000000 
  size=2> == rule;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>}</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>public</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>boolean</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  isConflicting(ISchedulingRule rule) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>return</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_ENGING</FONT></I><FONT face="Courier New" color=#000000 
  size=2> == rule;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>}</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  <FONT face="Courier New" color=#000000 size=2>};</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f5fbf size=2>/**</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf size=2>the</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>scheduling</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf size=2>rule</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>for</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf size=2>the</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>refresh</FONT><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#3f5fbf size=2>jobs</FONT><FONT 
  face="Courier New" color=#000000 size=2></FONT> <FONT face="Courier New" 
  color=#3f5fbf size=2>*/</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>public</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>static</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>final</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  ISchedulingRule</FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_REFRESH</FONT></I><FONT face="Courier New" color=#000000 
  size=2> =</FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>new</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  ISchedulingRule() {</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>public</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>boolean</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  contains(ISchedulingRule rule) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>// can contain engine and refresh rules</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>return</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_ENGING</FONT></I><FONT face="Courier New" color=#000000 
  size=2> == rule</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>||</FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_REFRESH</FONT></I><FONT face="Courier New" color=#000000 
  size=2> == rule;</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>}</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>public</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><B> <FONT face="Courier New" color=#7f0055 
  size=2>boolean</FONT></B><FONT face="Courier New" color=#000000 size=2> 
  isConflicting(ISchedulingRule rule) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>// conflict with engine</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>// conflict with refresh</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>// conflict with workspace (fix for 1055293)</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B> <FONT face="Courier New" 
  color=#7f0055 size=2>return</FONT></B><FONT face="Courier New" color=#000000 
  size=2></FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_ENGING</FONT></I><FONT face="Courier New" color=#000000 
  size=2> == rule</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>||</FONT><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_REFRESH</FONT></I><FONT face="Courier New" color=#000000 
  size=2> == rule</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>||</FONT><I> <FONT face="Courier New" color=#000000 
  size=2>getWorkspace</FONT></I><FONT face="Courier New" color=#000000 
  size=2>().getRuleFactory().buildRule() == rule;</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#000000 size=2>}</FONT> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  <FONT face="Courier New" color=#000000 size=2>};</FONT> </P>
  <P><FONT face="Courier New" color=#000000 size=2>I also see that I set 
  the</FONT><I></I><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_REFRESH</FONT></I><FONT face="Courier New" color=#000000 
  size=2></FONT> <FONT face="Courier New" color=#000000 size=2>rule for my Job. 
  I guess that this will be my outer rule.</FONT> <BR><FONT face="Courier New" 
  color=#000000 size=2>Then when I added the following rule in my refresh state 
  method that is run in the job:</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>IResource resource = 
  getStateCache().getResource();</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>ISchedulingRule rule = 
  ClearcasePlugin.getWorkspace()</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>.getRuleFactory().refreshRule(resource);</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>try {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>jobManager.beginRule(rule, monitor);</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f 
  size=2>resource.refreshLocal(IResource.DEPTH_ZERO,&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new SubProgressMonitor(monitor, 
  1));</FONT></P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>} catch (CoreException e) {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>e.printStackTrace();</FONT> </P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>} finally {</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>jobManager.endRule(rule);</FONT> 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
  color=#3f7f5f size=2>}</FONT> </P>
  <P><FONT face=Arial size=2>I get the following error:</FONT> </P>
  <P><FONT face=Arial size=2>!ENTRY org.eclipse.core.resources 4 1 2009-03-05 
  14:14:34.750 !MESSAGE Internal Error !STACK 0</FONT> <BR><FONT face=Arial 
  size=2>java.lang.IllegalArgumentException: Attempted to beginRule: 
  </FONT><BR><FONT face=Arial size=2>F/Drive_U/src/com/quantel/QuentinManager, 
  does not match outer scope rule: </FONT><BR><FONT face=Arial 
  size=2>net.sourceforge.eclipseccase.ClearcasePlugin$2@16cf69a</FONT> </P>
  <P><FONT face=Arial size=2>I guess that the outer scope is 
  the</FONT><I></I><I> <FONT face="Courier New" color=#0000c0 
  size=2>RULE_CLEARCASE_REFRESH</FONT></I><FONT face="Courier New" color=#000000 
  size=2>.</FONT> </P>
  <P><FONT face="Courier New" color=#000000 size=2>Is there anyone that can 
  explain how these rules work?</FONT> </P>
  <P><FONT face="Courier New" color=#000000 size=2>Cheers,</FONT> </P>
  <P><FONT face="Courier New" color=#000000 size=2>//mike</FONT> 
  </P><BR><BR></DIV><BR>_______________________________________________<BR>platform-cvs-dev 
  mailing list<BR><A 
  href="mailto:platform-cvs-dev@xxxxxxxxxxx">platform-cvs-dev@xxxxxxxxxxx</A><BR><A 
  href="https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev" 
  target=_blank>https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV>
]]></content:encoded>
		<pubDate>Wed, 18 Mar 2009 15:17:38 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00529.html</guid>
		<author>mikael.petterson@xxxxxxx (Mikael Petterson)</author>
	</item>


	<item>
		<title>Re: [platform-cvs-dev] How to handle rules ?</title>
		<link>http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00528.html</link>
		<description> </description>
		<content:encoded><![CDATA[Mike,<div><br></div><div>The article at&#xA0;<a href="http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html">http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html</a> describes scheduling rules to a certain degree. If you want to take the easy way out, you could probably set the scheduling rule of your job to a MultiRule that contains your ClearCase rule and the workspace root (ResourcesPlugin.getWorkspace().getRoot()). This will give reduced concurrency during the refresh but should work. To get maximum concurrency, you would need to determine the subset of projects that the operation is being performed on and put those in the multi rule instead of the workspace root.</div>
<div><br></div><div>Michael<br><br><div class="gmail_quote">On Tue, Mar 17, 2009 at 3:43 AM, Mikael Petterson <span dir="ltr">&lt;<a href="mailto:mikael.petterson@xxxxxxxxxxxx">mikael.petterson@xxxxxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">






<div>


<p><font size="2" face="Arial">I have found 2 static classes in my xPlugin class.</font>
</p>

<p><font size="2" face="Arial">They are:</font>
</p>

<p><font color="#3F5FBF" size="2" face="Courier New">/**</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">the</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">scheduling</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">rule</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">for</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">the</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">whole</font><font color="#000000" size="2" face="Courier New"></font><u> <font color="#3F5FBF" size="2" face="Courier New">clearcase</font></u><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">engine</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">*/</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">public</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">static</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">final</font></b><font color="#000000" size="2" face="Courier New"> ISchedulingRule</font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_ENGING</font></i><font color="#000000" size="2" face="Courier New"> =</font><b> <font color="#7F0055" size="2" face="Courier New">new</font></b><font color="#000000" size="2" face="Courier New"> ISchedulingRule() {</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">public</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">boolean</font></b><font color="#000000" size="2" face="Courier New"> contains(ISchedulingRule rule) {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">return</font></b><font color="#000000" size="2" face="Courier New"></font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_ENGING</font></i><font color="#000000" size="2" face="Courier New"> == rule;</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">}</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">public</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">boolean</font></b><font color="#000000" size="2" face="Courier New"> isConflicting(ISchedulingRule rule) {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">return</font></b><font color="#000000" size="2" face="Courier New"></font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_ENGING</font></i><font color="#000000" size="2" face="Courier New"> == rule;</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">}</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">};</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F5FBF" size="2" face="Courier New">/**</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">the</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">scheduling</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">rule</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">for</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">the</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">refresh</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">jobs</font><font color="#000000" size="2" face="Courier New"></font> <font color="#3F5FBF" size="2" face="Courier New">*/</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">public</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">static</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">final</font></b><font color="#000000" size="2" face="Courier New"> ISchedulingRule</font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_REFRESH</font></i><font color="#000000" size="2" face="Courier New"> =</font><b> <font color="#7F0055" size="2" face="Courier New">new</font></b><font color="#000000" size="2" face="Courier New"> ISchedulingRule() {</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">public</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">boolean</font></b><font color="#000000" size="2" face="Courier New"> contains(ISchedulingRule rule) {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">// can contain engine and refresh rules</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">return</font></b><font color="#000000" size="2" face="Courier New"></font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_ENGING</font></i><font color="#000000" size="2" face="Courier New"> == rule</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">||</font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_REFRESH</font></i><font color="#000000" size="2" face="Courier New"> == rule;</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">}</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">public</font></b><font color="#000000" size="2" face="Courier New"></font><b> <font color="#7F0055" size="2" face="Courier New">boolean</font></b><font color="#000000" size="2" face="Courier New"> isConflicting(ISchedulingRule rule) {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">// conflict with engine</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">// conflict with refresh</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">// conflict with workspace (fix for 1055293)</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;<b> <font color="#7F0055" size="2" face="Courier New">return</font></b><font color="#000000" size="2" face="Courier New"></font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_ENGING</font></i><font color="#000000" size="2" face="Courier New"> == rule</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">||</font><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_REFRESH</font></i><font color="#000000" size="2" face="Courier New"> == rule</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">||</font><i> <font color="#000000" size="2" face="Courier New">getWorkspace</font></i><font color="#000000" size="2" face="Courier New">().getRuleFactory().buildRule() == rule;</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">}</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#000000" size="2" face="Courier New">};</font>
</p>

<p><font color="#000000" size="2" face="Courier New">I also see that I set the</font><i></i><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_REFRESH</font></i><font color="#000000" size="2" face="Courier New"></font> <font color="#000000" size="2" face="Courier New">rule for my Job. I guess that this will be my outer rule.</font>

<br><font color="#000000" size="2" face="Courier New">Then when I added the following rule in my refresh state method that is run in the job:</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">IResource resource = getStateCache().getResource();</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">ISchedulingRule rule = ClearcasePlugin.getWorkspace()</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">.getRuleFactory().refreshRule(resource);</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">try {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">jobManager.beginRule(rule, monitor);</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">resource.refreshLocal(IResource.DEPTH_ZERO,&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; new SubProgressMonitor(monitor, 1));</font></p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">} catch (CoreException e) {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">e.printStackTrace();</font>
</p>

<p>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">} finally {</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">jobManager.endRule(rule);</font>

<br>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <font color="#3F7F5F" size="2" face="Courier New">}</font>
</p>

<p><font size="2" face="Arial">I get the following error:</font>
</p>

<p><font size="2" face="Arial">!ENTRY org.eclipse.core.resources 4 1 2009-03-05 14:14:34.750 !MESSAGE Internal Error !STACK 0</font>

<br><font size="2" face="Arial">java.lang.IllegalArgumentException: Attempted to beginRule: </font>

<br><font size="2" face="Arial">F/Drive_U/src/com/quantel/QuentinManager, does not match outer scope rule: </font>

<br><font size="2" face="Arial">net.sourceforge.eclipseccase.ClearcasePlugin$2@16cf69a</font>
</p>

<p><font size="2" face="Arial">I guess that the outer scope is the</font><i></i><i> <font color="#0000C0" size="2" face="Courier New">RULE_CLEARCASE_REFRESH</font></i><font color="#000000" size="2" face="Courier New">.</font>
</p>

<p><font color="#000000" size="2" face="Courier New">Is there anyone that can explain how these rules work?</font>
</p>

<p><font color="#000000" size="2" face="Courier New">Cheers,</font>
</p>

<p><font color="#000000" size="2" face="Courier New">//mike</font>
</p>
<br>
<br>

</div>
<br>_______________________________________________<br>
platform-cvs-dev mailing list<br>
<a href="mailto:platform-cvs-dev@xxxxxxxxxxx">platform-cvs-dev@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/platform-cvs-dev</a><br>
<br></blockquote></div><br></div>
]]></content:encoded>
		<pubDate>Tue, 17 Mar 2009 11:29:59 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/platform-cvs-dev/msg00528.html</guid>
		<author>eclipsemfv@xxxxxxx (Michael Valenta)</author>
	</item>

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