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

Re: What am I doing wrong?

From: Yaakov Chaikin <yaakov.chaikin_at_gmail.com>
Date: 2006-02-13 18:32:10 CET

Perhaps, I should just get something simple to work first:

Here is what I am doing command line:
************************
Yaakov Chaikin@YAAKOV ~/courses/Course-JSP
$ svn status -u code
? code\03-Setup
? code\20-deployDemo
? code\testapp
? code\03-Server-Setup
? code\07-Request-Headers
? code\18-EL
? code\26-Advanced-Tags
? code\13-JSP-Scripting-Elements
? code\05-EchoServer
? code\24-Events
? code\23-Filters
? code\09-Response-Headers
? code\06-Form-Data
? code\05-WebClient
? code\.metadata ***** It's here to begin with! ****
? code\25-Basic-Tags
? code\testApp1
? code\11-Session-Tracking
? code\27-JSTL
? code\08-Status-Codes
? code\15-File-Inclusion
? code\14-JSP-Page-Directive
? code\app-blank
? code\01-Intro
? code\10-Cookies
? code\17-MVC
? code\19-shareTest1
? code\19-shareTest2
? code\000-Test
? code\16-JavaBeans
A 0 code
Status against revision: 7

Yaakov Chaikin@YAAKOV ~/courses/Course-JSP
$ svn propset svn:ignore */.metadata .
property 'svn:ignore' set on '.'

Yaakov Chaikin@YAAKOV ~/courses/Course-JSP
$ svn status -u code
? code\03-Setup
? code\20-deployDemo
? code\testapp
? code\03-Server-Setup
? code\07-Request-Headers
? code\18-EL
? code\26-Advanced-Tags
? code\13-JSP-Scripting-Elements
? code\05-EchoServer
? code\24-Events
? code\23-Filters
? code\09-Response-Headers
? code\06-Form-Data
? code\05-WebClient
? code\.metadata *** STILL HERE! ***
? code\25-Basic-Tags
? code\testApp1
? code\11-Session-Tracking
? code\27-JSTL
? code\08-Status-Codes
? code\15-File-Inclusion
? code\14-JSP-Page-Directive
? code\app-blank
? code\01-Intro
? code\10-Cookies
? code\17-MVC
? code\19-shareTest1
? code\19-shareTest2
? code\000-Test
? code\16-JavaBeans
A 0 code
Status against revision: 7

Yaakov Chaikin@YAAKOV ~/courses/Course-JSP
$ svn propset svn:ignore .metadata code
property 'svn:ignore' set on 'code' **** ONLY WHEN I DO THIS, IT WORKS! ***

Yaakov Chaikin@YAAKOV ~/courses/Course-JSP
$ svn status -u code
? code\03-Setup
? code\20-deployDemo
? code\testapp
? code\03-Server-Setup
? code\07-Request-Headers
? code\18-EL
? code\26-Advanced-Tags
? code\13-JSP-Scripting-Elements
? code\05-EchoServer
? code\24-Events
? code\23-Filters
? code\09-Response-Headers
? code\06-Form-Data
? code\05-WebClient
? code\25-Basic-Tags
? code\testApp1
? code\11-Session-Tracking
? code\27-JSTL
? code\08-Status-Codes
? code\15-File-Inclusion
? code\14-JSP-Page-Directive
? code\app-blank
? code\01-Intro
? code\10-Cookies
? code\17-MVC
? code\19-shareTest1
? code\19-shareTest2
? code\000-Test
? code\16-JavaBeans
A 0 code
Status against revision: 7 **** No ".metadata" directory listed
anymore! ****

Yaakov Chaikin@YAAKOV ~/courses/Course-JSP
$
************************

What why is it only working when svn:ignore is set directly on the
"code" directory? In reality, I will have to do something similar to
this to get all the .class files not to be included. The problem is
that my ".class" files are in the same folder tree as my ".java"
files, so I can't just exclude some "classes" directory because I
would be throwing out the ".java" files as well. Taking ".class" files
to a separate directory than ".java" files is NOT an option (yes,
there IS a good reason for this.)

I figure if can get ".metadata" to be excluded through the top level
directory's svn:ignore, I would be able to figure out how to do the
same for the ".class" files.

Thanks,
Yaakov.

On 2/13/06, Kevin Greiner <greinerk@gmail.com> wrote:
>
> On 2/13/06, Yaakov Chaikin <yaakov.chaikin@gmail.com> wrote:
> > Thanks... That worked...
> >
> > Is it possible to set an svn:ignore property on a directory and have
> > it propogate to subdirectories?
>
> http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.special.ignore
>

--
Yaakov
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 13 18:37:11 2006

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