CHMOD and "."

2010-12-13 Thread Garrett Smith
I want Ant to change permissions on a directory, recursively. I have: Yet the result does not include the "domunit" directory itself (see below). How can I change this to set the permission on "." to 755? tomomi:domunit garrett$ pwd /Users/garrett/workspace/ape

Re: AUTO: Mary Milne is out of the office (returning 19/10/2010)

2010-10-12 Thread Garrett Smith
On 10/11/10, Mary Milne wrote: Damned broken date formats (this one comes from my GMAIL, which thinks "ISO 8601" is for foreigners. Idiots. Here's another one: > > I am out of the office until 19/10/2010. > Really? Why are you mentioning it to me?

How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread Garrett Smith
I am using to create a destfile. I would like to provide a comment at the top of the destfile that contains a list of the files specified in the filelist's |files| attribute. I saw replaceregexp, but I don't want to replace a token, unless there is a token for "beginning of file." How can I add

Re: Tony Mao is out of the office.

2009-03-16 Thread Garrett Smith
On Mon, Mar 16, 2009 at 1:07 AM, wrote: > > I will be out of the office starting  03/16/2009 and will not return until > 03/17/2009. > Tony Mao, It is a bit of an annoyance and would be best if you could remove yourself from the list. You may have contributed something useful, but I have not se

Re: replaceregexp

2008-12-04 Thread Garrett Smith
On Tue, Dec 2, 2008 at 9:04 PM, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On 2008-12-02, Garrett Smith <[EMAIL PROTECTED]> wrote: >> Why does replaceregexp designed to not take a FileList? > > It is the other way around. replaceregexp like most any task in Ant >

replaceregexp

2008-12-02 Thread Garrett Smith
I want to use task replaceregexp to strip whitespace from selected jsp's. The problem is that I want a FileList but replaceregexp only takes a FileSet. Why does replaceregexp designed to not take a FileList? Is there another element that does? Garrett ---

Re: substring

2008-07-08 Thread Garrett Smith
On Tue, Jul 8, 2008 at 12:51 PM, Anthony Muller <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to do a substring operation with Ant? > Not exactly. But it is possible to do a string/token replacement -- not exactly what you asked, but it can get the job done. This is done using a FilterCha

Re: How to use keepoing the directory structure?

2008-04-11 Thread Garrett Smith
did you define - destiny - ? what about a basedir? On Fri, Apr 11, 2008 at 11:35 AM, icet <[EMAIL PROTECTED]> wrote: > > This is my target > > > > >

Build Webapp that runs off file:///

2008-03-26 Thread Garrett Smith
Hey, I have an uncommon problem for the JSP Java guys here: Problem: The user wants to download a zip archive of the website that can run off file:/// protocol. The website requires navigation. Managing the navigation should normally be done with server-side code (JSP). Solution 1: hand code all

Re: exclude a loaded class from the classpath

2008-03-02 Thread Garrett Smith
On Sun, Mar 2, 2008 at 6:00 AM, supareno <[EMAIL PROTECTED]> wrote: > hello everyone, > > i'm facing to a BIG problem at my office... > i work for a company with strange practices. i have to make a build file > for an old project... > the problem is: > (jar names are not the real one) > > > 1

filterchain - apply to a subset of a filelist?

2008-03-02 Thread Garrett Smith
I already solved the problem, I'd like a code review, please. Goal: build a set of files into one, removing a token from all but the first. Problem: Each file has namespace('APE.anim') or namespace(APE.anim") (double or single quotes) I need only one APE.namespace in the built file. Solution:

Re: Who's Using YUI Compressor with ANT?

2008-02-26 Thread Garrett Smith
On Sun, Feb 24, 2008 at 10:37 PM, <[EMAIL PROTECTED]> wrote: > If you add a >taskname="yui" > to your task, you'll get better log statements ... > (I prefer having the executed command in the log - not just "exec" or > "apply".) > Ok, Good to know. Now I wan to add a build id/version to t

Re: How to display the classpath that Ant is using to launch the java task?

2008-02-26 Thread Garrett Smith
On Tue, Feb 26, 2008 at 6:38 PM, Fred Janon <[EMAIL PROTECTED]> wrote: > Is there anything to display the classpath that Ant is using to launch > a java task besides the verbose and debug ant options that don't > display it? > This might not be the answer to what you want to do, but... Ant shoul

Re: Who's Using YUI Compressor with ANT?

2008-02-23 Thread Garrett Smith
On Sat, Feb 23, 2008 at 9:44 AM, Yannick Haudry <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2008 at 10:06 PM, Garrett Smith <[EMAIL PROTECTED]> wrote: > > On 2/22/08, Yannick Haudry <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > Ad

Re: Who's Using YUI Compressor with ANT?

2008-02-22 Thread Garrett Smith
is? Garrett > Yannick > > > > On Thu, Feb 21, 2008 at 10:47 PM, Garrett Smith <[EMAIL PROTECTED]> wrote: > > YUI Compressor does a pretty good job at minifying the JS. > > > > I like the idea of building multiple files and doing batch operations. >

Who's Using YUI Compressor with ANT?

2008-02-21 Thread Garrett Smith
YUI Compressor does a pretty good job at minifying the JS. I like the idea of building multiple files and doing batch operations. I want to combine a.js b.js c.js to abc-min.js >From windows cmd: C:\Users\ape\ant>.\bin\ant -buildfile=..\build.xml js.minify Buildfile: ..\build.xml js.minify: B