Re: Using shell command in ANT script

2010-11-24 Thread Tim Visher
On Wed, Nov 24, 2010 at 4:48 AM, wrote: > I want to use the following shell command in my build.xml file > > ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt > > is there any way I can use the above mentioned command. Read up on [Exec](http://ant.apache.org/manual/Tasks/exec.html). -

Re: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Tim Visher
On Mon, Apr 12, 2010 at 1:02 AM, wrote: > '.' in Ant is the dir where the build.xml is. > I tried "ant -find" from deep inside a project structure and "ant -f ..." from > outside and both resolve to the same path. /me blushes. The problem was in a groovy script I'd written. I'd used `.` inste

`ant -find build.xml` and compile/recompile

2010-04-10 Thread Tim Visher
Hello Everyone, With `basedir="."`, how is `ant -find` supposed to work? With it set to `/absolute/path/to/build.xml`, how is the build script supposed to be box independent? We use ant to build our system and I would like to be able to use `ant -find` to allow myself (and Emacs) to build the sy

Re: 'clean' target specifying all files 'except' a given fileset

2008-06-16 Thread Tim Visher
Thanks for the tips everyone. I've 'fixed' the build file and now have all artifacts of ant sent to the build directory. On Mon, Jun 16, 2008 at 12:11 PM, Vallon, Justin <[EMAIL PROTECTED]> wrote: > Let me second that, with a further example: I would be "frustrated" if > an "ant clean" deleted m

Re: 'clean' target specifying all files 'except' a given fileset

2008-06-16 Thread Tim Visher
uot;. You > probably want "src/**" and "test/**". A single asterisk means just the > current directory. A double asterisk means all subdirectories too. > > -- > David Weintraub > [EMAIL PROTECTED] > > > On Mon, Jun 16, 2008 at 10:57 AM, Tim Visher <[EMA

Re: 'clean' target specifying all files 'except' a given fileset

2008-06-16 Thread Tim Visher
tents: On Mon, Jun 16, 2008 at 10:46 AM, Tim Visher <[EMAIL PROTECTED]> wrote: > Hey Everyone, > > I'm trying to develop a clean target that essentially deletes > everything but a given set of files, rather than explicitl

'clean' target specifying all files 'except' a given fileset

2008-06-16 Thread Tim Visher
Hey Everyone, I'm trying to develop a clean target that essentially deletes everything but a given set of files, rather than explicitly specifying everything to delete. This seems like a slightly more elegant solution than the alternative, but I'm having very little success at the moment. I've i

Re: JUnit task

2008-06-12 Thread Tim Visher
, Steve? On Thu, Jun 12, 2008 at 9:49 AM, Tim Visher <[EMAIL PROTECTED]> wrote: > @Steve: I'm not too sure I understand what you're talking about. The > junit task that ant 1.7 comes with works with junit 4. All of the > tests I have written are 'pure' junit 4

Re: JUnit task

2008-06-12 Thread Tim Visher
ot too long from now. Still hoping some one knows some site that I can't finde... On Thu, Jun 12, 2008 at 6:38 AM, Steve Loughran <[EMAIL PROTECTED]> wrote: > Tim Visher wrote: >> >> Thanks, I actually had done that query already and couldn't come up >> with anyth

Re: JUnit task

2008-06-11 Thread Tim Visher
Thanks, I actually had done that query already and couldn't come up with anything particularly good. Most of it is outdated (JUnit 3, Ant 1.3, 1.5, etc.) and I don't really have time to translate them with almost 0 knowledge of ant. I was hoping for a little bit more focussed help. However, ther

Setting a universal classpath

2008-06-10 Thread Tim Visher
Hey all, I'm working on allowing all of my dependencies to be managed in SCM and one small issue that I've run into now is that I can't figure out how to set my classpath universally for a particular build file. I'm sure there's a way to do this. I think the functionality that I'm looking for is

JUnit task

2008-06-10 Thread Tim Visher
Hello everyone, I'm struggling to understand the junit task. I was wondering if anyone knew of a good tutorial or article that is current (junit 4, ant 1.7) that is perhaps slightly better than the junit page in the manual. Thanks! -- In Christ, Timmy V. http://burningones.com/ http://five.

Re: Storing all libs in SCM?

2008-06-03 Thread Tim Visher
specific translation for you. But I'd stick with relative paths, as > Ant will not translate something like C: from Windows into / on UNIX. > > Cheers, > Gabor > > On Tue, Jun 3, 2008 at 10:32 AM, Tim Visher <[EMAIL PROTECTED]> wrote: >> Also, terribly sorry for

Re: Storing all libs in SCM?

2008-06-03 Thread Tim Visher
AR in your build. Developers can easily see what > defects are in a particular JAR. What that JAR supports, and what > could happen if they want to upgrade that JAR file. > > Since JAR files are binary, you don't really gain anything by simply > updating the JAR file with the

Re: Storing all libs in SCM?

2008-06-03 Thread Tim Visher
e what > defects are in a particular JAR. What that JAR supports, and what > could happen if they want to upgrade that JAR file. > > Since JAR files are binary, you don't really gain anything by simply > updating the JAR file with the latest revision. You can't do a diff >

Storing all libs in SCM?

2008-06-02 Thread Tim Visher
Hello Everyone, I've been working on setting up an automated build environment using Ant for a few days while I try to move towards the Continuous Integration benchmark and I've run into a major snag that I can't seem to get past. I've been doing a lot of reading about Agile Processes and Continu