[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] issue # 777

From: <Greg.Huber_at_ricoh.co.uk>
Date: Tue, 5 Aug 2008 14:24:20 +0100

Mark,

Thanks for the reply. I was looking at the ref manual about ignoring
unversioned items. If I add the property on the /lib it does not show the
items in the synchronized view, but then when right click commit, it
brings up the box for the comment where it then selects the items. I have
just dumped by repo to remove all the jars so was not sure what it would
do if these were left selected (did not want to do it again as its the
second time already!).

If I get time I will create a test to see what it does.

Cheers Greg

"Mark Phippard" <markphip_at_gmail.com>
05/08/2008 14:12
Please respond to
users_at_subclipse.tigris.org

To
users_at_subclipse.tigris.org
cc
Greg.Huber_at_ricoh.co.uk
Subject
Re: [Subclipse-users] issue # 777

On Tue, Aug 5, 2008 at 4:48 AM, <Greg.Huber_at_ricoh.co.uk> wrote:

> As of this patch I now keep committing items that I intentionally do not
> want to include in subversion. I keep forgetting to deselect the check
> box! Show unversioned files.
>
> Please could someone point me in the right direction on how I can set an
svn
> ignore property on the repository, so I can exclude files types from a
> folder.
>
> eg. have a folder /lib and want to exclude all *.jar from this folder,
(I
> want the lib folder to be versioned, but not the contents).

There is no reason that fix should have made things worse. If
anything it should have been better. Does it not remember the setting
of the checkbox value? Are you doing your commit from the Synchronize
view or Team menu? In the Synchronize view we intentionally ignore
any previous setting.

There are a lot of ways to ignore stuff. You should be able to
right-click on the file and do Team > Add to svn:ignore. This will
create/update a property named svn:ignore on the lib folder. If you
enter a value of *.jar, then all JAR files in that folder will be
ignored. You have to commit the property change. It is a folder
setting only, no other way to do it.

Eclipse also has preferences, Team > Ignored Resources. You can enter
patterns in there to have files ignored. The svn:ignore property is
generally a better way to do it since it will be honored by all SVN
clients.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Share our environment commitment - conserve resources and contribute to the reduction of CO2 emissions by not printing the email unless absolutely necessary to do so. 
Any opinions expressed are those of the author, not Ricoh UK Ltd. This communication does not constitute either offer or acceptance of any contractually binding agreement. Such offer or acceptance must be communicated in writing. It is the responsibility of the recipient to ensure this email and attachments are free from computer viruses before use and the sender accepts no responsibility or liability for any such computer viruses. 
Ricoh UK Ltd. may monitor the content of emails sent and received via its network for the purpose of ensuring compliance with its policies and procedures. This communication contains information, which may be confidential or privileged. The information is intended solely for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this communication in error, please notify the sender immediately by return email with a copy to  postmaster_at_ricoh.co.uk . Please contact us on +44 (0) 208 261 4000 if you need assistance. 
Registered in England No: 1505381 
VAT No: GB 354 2816 54  --=_alternative 004965608025749C_Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<br><font size=2 face="sans-serif">Mark,</font><br><br><font size=2 face="sans-serif">Thanks for the reply. &nbsp;I was looking
at the ref manual about ignoring unversioned items. &nbsp;If I add the
property on the /lib it does not show the items in the synchronized view,
but then when right click commit, &nbsp;it brings up the box for the comment
where it then selects the items. &nbsp;I have just dumped by repo to remove
all the jars so was not sure what it would do if these were left selected
(did not want to do it again as its the second time already!).</font><br><br><font size=2 face="sans-serif">If I get time I will create a test to
see what it does. &nbsp; &nbsp;</font><br><br><font size=2 face="sans-serif"><br>Cheers Greg<br><br></font><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>&quot;Mark Phippard&quot;
&lt;markphip_at_gmail.com&gt;</b> </font><p><font size=1 face="sans-serif">05/08/2008 14:12</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>users_at_subclipse.tigris.org</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">users_at_subclipse.tigris.org</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><font size=1 face="sans-serif">Greg.Huber_at_ricoh.co.uk</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Re: [Subclipse-users] issue # 777</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><br><font size=2><tt>On Tue, Aug 5, 2008 at 4:48 AM, &nbsp;&lt;Greg.Huber_at_ricoh.co.uk&gt;
wrote:<br><br>&gt; As of this patch I now keep committing items that I intentionally
do not<br>&gt; want to include in subversion. &nbsp; I keep forgetting to deselect
the check<br>&gt; box! Show unversioned files.<br>&gt;<br>&gt; Please could someone point me in the right direction on how I can
set an svn<br>&gt; ignore property on the repository, so I can exclude files types from
a<br>&gt; folder.<br>&gt;<br>&gt; eg. have a folder /lib and want to exclude all *.jar from this folder,
(I<br>&gt; want the lib folder to be versioned, but not the contents).<br><br>There is no reason that fix should have made things worse. &nbsp;If<br>anything it should have been better. &nbsp;Does it not remember the setting<br>of the checkbox value? &nbsp;Are you doing your commit from the Synchronize<br>view or Team menu? &nbsp;In the Synchronize view we intentionally ignore<br>any previous setting.<br><br>There are a lot of ways to ignore stuff. &nbsp;You should be able to<br>right-click on the file and do Team &gt; Add to svn:ignore. &nbsp;This
will<br>create/update a property named svn:ignore on the lib folder. &nbsp;If you<br>enter a value of *.jar, then all JAR files in that folder will be<br>ignored. &nbsp;You have to commit the property change. &nbsp;It is a folder<br>setting only, no other way to do it.<br><br>Eclipse also has preferences, Team &gt; Ignored Resources. &nbsp;You can
enter<br>patterns in there to have files ignored. &nbsp;The svn:ignore property
is<br>generally a better way to do it since it will be honored by all SVN<br>clients.<br><br>-- <br>Thanks<br><br>Mark Phippard<br>http://markphip.blogspot.com/<br><br>---------------------------------------------------------------------<br>To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org<br>For additional commands, e-mail: users-help@subclipse.tigris.org<br><br></tt></font><br><font face="sans-serif"><BR><p align="left"><font face="Arial" size="1"><font color="#006600" face="Arial" size="1"><b>Share our environment commitment - conserve resources and contribute to the reduction of CO2 emissions by not printing the email unless absolutely necessary to do so.</b></font><BR><BR>Any opinions expressed are those of the author, not Ricoh UK Ltd. This communication does not constitute either offer or acceptance of any contractually binding agreement. Such offer or acceptance must be communicated in writing. It is the responsibility of the recipient to ensure this email and attachments are free from computer viruses before use and the sender accepts no responsibility or liability for any such computer viruses.<BR><BR>Ricoh UK Ltd. may monitor the content of emails sent and received via its network for the purpose of ensuring compliance with its policies and procedures. This communication contains information, which may be confidential or privileged. The information is intended solely for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this communication in error, please notify the sender immediately by return email with a copy to <a  href="mailto:postmaster@ricoh.co.uk">postmaster@ricoh.co.uk</a>. Please contact us on +44 (0) 208 261 4000 if you need assistance.<BR><BR>Registered in England No: 1505381<BR>VAT No: GB 354 2816 54 </font></p></font>
Received on 2008-08-05 15:23:01 CEST

This is an archived mail posted to the Subclipse Users mailing list.