Re: uncopy -- custom task supporting mapper

2005-11-17 Thread Brian Kuhn
I just realized I can achieve this using the selector... I'd still like to know if anyone knows of a resource that explains how to support mappers in a custom task. Thanks, Brian On 11/17/05, Brian Kuhn <[EMAIL PROTECTED]> wrote: > > Deleting the files created d

Re: uncopy -- custom task supporting mapper

2005-11-17 Thread Brian Kuhn
OTECTED]> > >Sent: Wednesday, November 16, 2005 2:50 pm > >To: "Ant Users List" > >Subject: Re: uncopy -- custom task supporting mapper > > > >--- Brian Kuhn <[EMAIL PROTECTED]> wrote: > >[SNIP] > >> I'm currently usin

uncopy -- custom task supporting mapper

2005-11-16 Thread Brian Kuhn
Hi all, I'm currently using the copy task to copy a fileset from one directory to another. I'd like to somehow reverse (undo) this operation in my clean target. My first thought is something like this: I've never created a custom task that supports mapper. Does anyone know of a resource

specify xerces basedir?

2005-11-08 Thread Brian Kuhn
Hi all, I need to run some targets on a legacy build script. I'm running them from a new build script in another directory using the 'ant' task. Unfortunately, the legacy script uses XML entity includes and I'm getting FileNotFoundExceptions when I run the targets. It seems like my xml parser (I'v

Re: turn off logging for just one task

2005-10-13 Thread Brian Kuhn
g(str, Project.MSG_VERBOSE); } } On 10/13/05, Brian Kuhn <[EMAIL PROTECTED]> wrote: > > Is there a way to stop a task from logging? I have the following macrodef > that uses the groovy ant task. Groovy spits out the message "[groovy] > statements executed successfully" and provides no

turn off logging for just one task

2005-10-13 Thread Brian Kuhn
Is there a way to stop a task from logging? I have the following macrodef that uses the groovy ant task. Groovy spits out the message "[groovy] statements executed successfully" and provides no way to turn it off. Is there a way I can override its ability to log? Thanks, Brian if ('@{abo

Re: look up property value inside custom condition...

2005-10-13 Thread Brian Kuhn
the project. One way to do > this would be to extend oata.taskdefs.condition.ConditionBase > > -- > Jeffrey E. Care ([EMAIL PROTECTED]) > WebSphere v7 Release Engineer > WebSphere Build Tooling Lead (Project Mantis) > > > Brian Kuhn <[EMAIL PROTECTED]> wrote on 10/

look up property value inside custom condition...

2005-10-13 Thread Brian Kuhn
Hi all, I'm writing a custom condition that needs to get the value of a property in the project. How do I get a reference to the project from a condition? In a custom task, I would call this.getProject().getProperty("foo"). Since condition is an interface, I have no such option. Thanks, Brian

Fwd: SCP...done...BUILD SUCCESSFUL....no local file created

2005-08-08 Thread Brian Kuhn
Has anyone gotten the SCP task to work correctly? I need to copy a single file from a server to my local machine using SSH. Does anyone have a working example? Thanks, Brian -- Forwarded message -- From: Brian Kuhn <[EMAIL PROTECTED]> Date: Aug 4, 2005 5:34 PM S

SCP...done...BUILD SUCCESSFUL....no local file created

2005-08-04 Thread Brian Kuhn
Hi all, I'm using the following snippet to SCP a file from a remote machine to my local machine. The output looks fine (although I can't get it to be more verbose, no matter what I try). However, I don't get a local copy of the file even though it says "done" and BUILD SUCCESSFUL. Any ideas. I

Re: Spawning a java call in a new command shell

2005-05-19 Thread Brian Kuhn
I think this is more of a windows than an ant question; Does anyone know if it's possible to create a new window when spawning a cmd command? For instance, I'd like to have the following exec task create a new cmd window so I can see the results. This is an example: Thanks, Brian

Re: cvs task behind a firewall

2004-12-20 Thread Brian Kuhn
I'm pretty sure you cannot get the cvs command line to use a proxy. I'm sure the Ant cvs task could be reworked to use CvsGrab too though. I'll have to look into that... On Tue, 21 Dec 2004 10:49:48 +1100, Conor MacNeill <[EMAIL PROTECTED]> wrote: > > Brian Kuhn wro

cvs task behind a firewall

2004-12-20 Thread Brian Kuhn
ecause it's not possible. Can I get Maven to use CvsGrab instead? Thanks, Brian Kuhn ps - Sorry this is a little off topic. I'm trying to avoid subscribing to Maven's mailing list... Here's my command line: maven scm:checkout-project -Dmaven.scm.