RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Matt Benson
Looks like your exclude patterns are excluding the subdirectories themselves, rather than the files they contain. Try adding, at minimum, a file separator: > > > > HTH, Matt --- "Karr, David" <[EMAIL PROTECTED]> wrote: > Yes, I've tried it. I see that the documentation > says t

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Karr, David
Ah, I found it. Not surprisingly, I made a couple of mistakes in the exclude patterns. The corrected elements are: > -Original Message- > From: Karr, David > Sent: Tuesday, May 24, 2005 3:22 PM > To: Ant Users List > Subject: RE: Modify all files of a certain name in a

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Karr, David
Yes, I've tried it. I see that the documentation says that should work, but it isn't excluding the patterns I specify for "exclude". The following is my current target (modified a bit): There are 18 subdirs of "EJB". When I run this, it processes all 18,

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Matt Benson
(re Ant pattern spec) --- "Karr, David" <[EMAIL PROTECTED]> wrote: > Uh, the "Foo*" part? >From the manual: '*' matches zero or more characters, '?' matches one character. Tests I run work for me. Have you actually tried it? -Matt __ Do you

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Karr, David
Uh, the "Foo*" part? > -Original Message- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 24, 2005 3:04 PM > To: Ant Users List > Subject: RE: Modify all files of a certain name in a tree > with dirs determined by patterns, using xslt > > > --- "Karr, David" <[EMAIL

Checking out with CVS_RSH=ssh using ant

2005-05-24 Thread Todd Nine
Hi all, I'm trying to execute an ant target that checks out server configuration files and uploads them to all of the nodes in a cluster. I have the upload part working if I pull the configurations down from CVS manually, but I can't seem to get the cvs task to work correctly. Here is my cvs tas

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Matt Benson
--- "Karr, David" <[EMAIL PROTECTED]> wrote: [SNIP] > My next problem is excluding some specific > directories and files. It > looks like the pattern specs I can use aren't as > flexible as I need. > For instance, what I'd like to specify is an > "includes" value of: > .workshop/mqAdaptersWeb/EJB/

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Karr, David
I've managed to resolve some of this. Someone on the xalan-j list pointed out the "xmlcatalog" element, which I had noticed in the manual, but didn't realize what it was for. This resolves the problem of accessing the DTD. My next problem is excluding some specific directories and files. It loo

RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Karr, David
Oh, and I need to do this with Ant v1.5.4. > -Original Message- > From: Karr, David > Sent: Tuesday, May 24, 2005 12:07 PM > To: Ant Users List > Subject: Modify all files of a certain name in a tree with > dirs determined by patterns, using xslt > > > The subject is a generic statemen

Modify all files of a certain name in a tree with dirs determined by patterns, using xslt

2005-05-24 Thread Karr, David
The subject is a generic statement of what I need. I'll be a little more specific in here, but focusing on the generic problem may be more helpful. I have an exploded ear, and in a bunch of EJB modules whose names begin with certain strings, and end with random "don't-care" strings (at least, I d

Re: import Tidy jar, path to jar

2005-05-24 Thread THUFIR HAWAT
I can't pin down why I think this, but I believe there's a mismatch between where the build file says to find Tidy.jar and its actual location. I made changes to the properties file per your comments, and to build.xml, too. [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ ll lib/ total 184 -rw-r

puzzled with installing my own PropertyHelper

2005-05-24 Thread Wolfgang Häfelinger
Hi Antees, I wonder whether someone got his own PropertyHelper installed and what needs exactly to be done? What I'm doing is basically this: 1. I'm deriving my PropertyHandler from `org.apache.tools.ant.PropertyHelper' 2. I wrote a `Init' task to install my propery handler. The execute method lo

RE: Catch-all target?

2005-05-24 Thread Jay Burgess
That's a really good point. A "build.bat" file would simplify it even further: build I was so interested in trying to do it Ant-like, that I didn't consider alternatives. Thanks for the info. Jay | Jay Burgess [Vertical Technology Group] | "Essential Technology Links via RSS" | http://www.v

zipfileset in a path WAS creating a

2005-05-24 Thread Matt Benson
AFAIK current Ant versions should accept a zipfileset in a path; I can't say what their behavior would then be. Probably depends on the context, but if current versions don't do what is needed, 1.7 might. Need more info. -Matt --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello Hanasaki

AW: Catch-all target?

2005-05-24 Thread Jan . Materne
Not "inside" Ant. But you could write a wrapper script converting to -D option :) Jan > -Ursprüngliche Nachricht- > Von: Jay Burgess [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 24. Mai 2005 17:26 > An: user@ant.apache.org > Betreff: Catch-all target? > > Is it possible in Ant to d

Catch-all target?

2005-05-24 Thread Jay Burgess
Is it possible in Ant to define a "catch-all" target, so that if a target is specified on the command line that's not in build.xml, the catch-all target will be called? The reason I'm asking is that I'm trying to make my Ant command line look something like: ant build Since "build" and "" a

Re: import Tidy jar, path to jar

2005-05-24 Thread Mark Lundquist
Hi TH, okay... On May 24, 2005, at 7:58 AM, THUFIR HAWAT wrote: I'm not sure how to approach this error, any pointers would be appreciated. <..snip> [javac] /home/thufir/java/src/atreides/tidyXhtml/Test16.java:9: package org.w3c.tidy does not exist <..snip>

import Tidy jar, path to jar

2005-05-24 Thread THUFIR HAWAT
I'm not sure how to approach this error, any pointers would be appreciated. from the console: [EMAIL PROTECTED] java]$ [EMAIL PROTECTED] java]$ ant Buildfile: build.xml clean: [delete] Deleting directory /home/thufir/java/bin prepare: [mkdir] Created dir: /home/thufir/java/bin compile:

Re: creating a

2005-05-24 Thread Antoine Levy-Lambert
Hello Hanasaki, I wonder whether there is not something like that in Ant 1.7. Matt ? Peter ? Cheers, Antoine > --- Ursprüngliche Nachricht --- > Von: hanasaki <[EMAIL PROTECTED]> > An: Ant Users List > Betreff: Re: creating a Datum: Tue, 24 May 2005 00:47:13 -0500 > > works like a champ!thank

RE: Urgent Help Required: Issue with Suse Linux

2005-05-24 Thread Kapil Bajaj
Hello Sten Thanks a lot for Intresting solution for this issue and it works. You have saved lot of Effort for me. I just made a small change in solution suggested Correct Syntax would be > and this worked otherwise we get Error if we use && as it start assuming it as some entity