The snippet looks odd. Here we use single-line comments for our $Log tags in PVCS. Could that be part of your problem?
-Matt --- [EMAIL PROTECTED] wrote: > Hi, > > I am dealing with Java files. The problem is that > our version management > software adds to files automatically some > information including path. > And because some path can include "\u" sequence > which prevents compilation > and JavaDoc I would like to get rid of the line. > The line is already > part of the comments and it can be easily identified > since it always > starts with the same prefix. > > br, > > Jakub > > ----------- here is an snippet with example > --------------- > > * > * <pre> > * $Log: > P:\proj\pvcs65prj\Delta\archives\Platform\SystemInterface\xml-prl\src\test\net\deio\sysint\util\T_Conversions.java-arc > > $ > * > * Rev 1.0 09 Sep 2002 11:21:02 ValentaJ > * Initial revision. > * </pre> > > > > > > > Matt Benson <[EMAIL PROTECTED]> > 09/12/2002 10:39 PM > Please respond to "Ant Users List" > > > To: Ant Users List > <[EMAIL PROTECTED]> > cc: > Subject: Re: Excluding lines from > files? > > > What kinds of files are they? If, for example, they > were Java files or some other kind of file with the > concept of a comment, you might be able to use the > replaceregexp task and comment out whole lines > containing the given string. > > -Matt > > --- [EMAIL PROTECTED] wrote: > > Hi all, > > I would like to ask if it is possible to convince > > Ant to exclude some > > lines from files (during copying or so). > > I was looking at several FilterReaders, but I > > haven't found any solution. > > > > I need to be able to exclude all lines which > contain > > given string. I was > > bit trying the regexp filter, but I didn;t manage > to > > do it. > > > > any help appreciated > > > > br, > > > > Jakub > > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
