Not filtering during copy when used (was RE: Making copy NEVER overwrite)

2005-03-27 Thread David Resnick
-v and -debug both say that the file is being copied. >From verbose output: [copy] auto2.vcp added as auto2.vcp.bak doesn't exist. [copy] Copying 1 file to D:\proj [copy] Copying D:\proj\auto2.vcp to D:\proj\auto2.vcp.bak [copy] Copying 1 file to D:\proj [copy] Copying D:

RE: replaceregexp on multiple lines

2005-03-27 Thread David Resnick
You need to look into the documentation of the regexp package you have Ant setup to use (the default is java.util.regex in JDK 1.4; you can find docs for it here: http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html). The quantifier you used, '*', is characterized as a greedy quant

Forcing the classpath

2005-03-27 Thread Steve McIntosh
I am attempting to find a way to force the contents of the classpath passed to javac. To put that another way, I would like to remove the ability for a user on my network to pass any classpath to javac other than the one I (the administrator) specify. Ideally, a user could write a build.xml which c