junit task def

2001-04-12 Thread Nathan Coast
Hi, I'm using the optionaly JUnit task from within a build script to run tests as part of the build process. The problem is that various system properties need setting for the code to execute successfully. Normally these would be set using the -D option. Is it possible to set these

path structures in different build files

2001-12-03 Thread Nathan Coast
Hi, I have a path structure that I have defined in one build file, this build file then calls a second build file. If I try to refer to the path structure I defined in the first file from the second file I get an error: Reference webapp.classpath not found. file 1 contains: path

manifest class path

2001-12-06 Thread Nathan Coast
Hi, the jar task seems to be messing up the classpath entry in my manifest file (splits it onto two lines as below). Class-Path: lib/fop.zip lib/commons-collections.zip lib/commons-digest er.zip lib/commons-beanutils.zip lib/core.zip anyone else seeing this problem? is there a workaround?

visual source safe

2001-12-10 Thread Nathan Coast
hi, quick question, has anyone managed to do a 'get' from vss using labels? I keep getting 'version not found' when I exec vss from ant (I also get the error from the cmd line). I'm begining to suspect vss doesn't work. wouldn't be the first bug in a microsoft product :) get works fine as

RE: visual source safe

2001-12-10 Thread Nathan Coast
:04 Nathan Coast wrote: hi, quick question, has anyone managed to do a 'get' from vss using labels? I keep getting 'version not found' when I exec vss from ant (I also get the error from the cmd line). I'm begining to suspect vss doesn't work. wouldn't be the first bug in a microsoft

RE: visual source safe

2001-12-10 Thread Nathan Coast
. Thanks again -Original Message- From: Oleg Alexeyev [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 8:08 PM To: Ant Users List Subject: RE: visual source safe -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 11

RE: visual source safe

2001-12-10 Thread Nathan Coast
) off topic for the ant-user group. Thanks Nathan -Original Message- From: Oleg Alexeyev [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 8:23 PM To: Ant Users List Subject: RE: visual source safe -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED

property problems

2001-12-11 Thread Nathan Coast
Hi, I have a scenario where in the process of building a component, sub-components are built. In doing so, a generic build file is used to build the top level component. This generic build file calls the sub-component build files. these files in turn can call the generic build file (with

RE: property problems

2001-12-12 Thread Nathan Coast
thanks - inheritall=false is exactly what I needed. for my info, once a property is set, is it possible to change its value? if yes are there any restrictions e.g. not within the same target etc. Thanks again Nathan -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]

java task exit(1) but build successful

2002-01-29 Thread Nathan Coast
Hi, I have java tasks that exit with System.exit(1); I would expect the overall build to fail as the failonerror=true flag is set. However the Build Successful message is displayed. ant 1.4.1 on Win 2k pro Cheers Nathan

RE: java task exit(1) but build successful

2002-01-29 Thread Nathan Coast
please ignore me, I'm having difficulty telling the difference between failonerror=true and failonerror=false. and its only tuesday - I may as well give up for the week now! -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: 29 January 2002 12:21 To: Ant Users List

starting new processes without ant blocking

2002-02-07 Thread Nathan Coast
Hi, I've followed numerous threads on this subject in mail archive but to no avail. Is there any way to spawn a background process from ant (e.g. Notepad) without ant waiting for the notepad window to close? Thanks Nathan **

RE: starting new processes without ant blocking

2002-02-07 Thread Nathan Coast
on a w2k or nt system you could try using 'start notepad' or even 'start somefile.ext' in which case start will open the file 'somefile.ext' with the program associated with the extension '.ext' on your computer in the background. -- knut -Original Message- From: Nathan Coast

RE: starting new processes without ant blocking

2002-02-07 Thread Nathan Coast
ant blocking Nathan Coast wrote: We've tried this but ant still waits for the notepad window to close before proceeding. To the best of my knowledge, Ant still doesn't have a fire and forget form of exec. However, I've been out of the game for a LONG time. Care to submit

RE: starting new processes without ant blocking

2002-02-07 Thread Nathan Coast
me his patch yesterday, I'm trying to build it now... -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 10:03 AM To: 'Ant Users List' Subject: RE: starting new processes without ant blocking I'm looking at extending the Jave task

building tasks from other tasks

2002-04-24 Thread Nathan Coast
Hi, I'm working on a taskdef which consists of a number of existing tasks and some new code. I could make a new taskdef just for the new code and achieve the 'macro' task by a combination of tasks in build.xml. However, I'd prefer to create a taskdef that performs the whole task. Is it

how to fail a task

2002-04-26 Thread Nathan Coast
Hi, I'm working on a number of custom tasks. In certain situations I want the tasks to fail causing the whole build to fail. What is the correct way to do this? Throw a build exception? or is there some method to call that sets the build status to failed? thanks Nathan -- To unsubscribe,

nested tasks

2002-04-26 Thread Nathan Coast
Hi, Is it possible to nest one task within another? If yes, are there any good docs / examples of this? What I'm trying to achieve: 1) using a custom cvs task, I get my filesystem in synch with any modifications from in the cvs repository. 2) check the code still builds, tests run

weblogic deployment task

2002-04-30 Thread Nathan Coast
Hi, Has anyone developed a weblogic deployment task? At the moment I achieve hot deployment by calling the java executable directly: java classname=weblogic.deploy fork=yes failonerror=true sysproperty key=weblogic.home value=${weblogic.home}/ sysproperty

tasks / tag mapping

2002-04-30 Thread Nathan Coast
Hi, where are the standard (and optional) ant tasks defined? Presumably there is some config file equivalent for the taskdef directive responsible for establishing the mappings between classes and tag names. Or, does ant simply interrogate ant.jar and optional.jar for all Task classes and

exec / arg problems

2002-07-29 Thread Nathan Coast
Hi, the following exec doesn't work exec executable=D:\java\jwsdp-1_0\bin\xrpcc.bat arg line=-server / arg line=-classpath quot;D:\projects\coffeebreak-common\target\coffeebreak-common-1.0.jar;target\classesquot;/ arg line=-d target\classes / arg

Re: exec / arg problems

2002-07-29 Thread Nathan Coast
Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 3:17 PM To: [EMAIL PROTECTED] Subject: exec / arg problems Hi, the following exec doesn't work exec executable=D:\java\jwsdp-1_0\bin\xrpcc.bat arg line=-server / arg line=-classpath

Re: exec / arg problems

2002-07-29 Thread Nathan Coast
I belive the problem is something to do with there being multiple parts to the classpath argument. Tibor Strausz wrote: exec dir=. executable=cmd failonerror=yes arg line=/C net start iisadmin/ /exec tibi -Original Message- From: Nathan Coast [mailto:[EMAIL

quotes in args for exec

2002-07-29 Thread Nathan Coast
Hi, I need to get quotes in arguments to an exec command. In order for the command to work, the -classpath argument needs to be in quotes. Don't ask me why, it just does :) this is what I have in my build.xml exec executable=D:\java\jwsdp-1_0\bin\xrpcc.bat arg line=-server

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
quot; is also a valid syntax, so this leads me to suspect the first point instead. Cheers -Geoff -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: 29 July 2002 04:57 PM To: Ant Users List Subject: quotes in args for exec Hi, I need to get quotes

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
2nd you can use line='blah' if you want to (i.e. single quotes for XML and embedding normal quotes in them), though as far as I know quot; is also a valid syntax, so this whatever I seem to put in the arg tag for quotes, they seem to dissapear before constructing the command :( -- To

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
unfortunately the same problem arises. If I want to execute the java cmd com.sun.jwsdp.launcher.XRPCCExecutable directly I still need to pass arguments using the arg elements containing quotes. And the arg elements seems to strip out quotes :( Jeremy Kuhnash wrote: To get yourself rolling

Re: quotes in args for exec

2002-07-29 Thread Nathan Coast
\test.bat hello world [exec] arg1 is #hello world# -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: 29 July 2002 05:51 PM To: Ant Users List Subject: Re: quotes in args for exec Hi, thanks, yes I had seen your first comment and I can confirm

Re: quotes in args for exec

2002-07-30 Thread Nathan Coast
# -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: 29 July 2002 05:51 PM To: Ant Users List Subject: Re: quotes in args for exec Hi, thanks, yes I had seen your first comment and I can confirm that the mix of both relative and absolute paths is correct. my

Re: quotes in args for exec

2002-07-30 Thread Nathan Coast
Hi, I tried this but no difference. quotes only seem to be passed within arg elements if your arg contains a space. Check the post I just made in the same thread. thanks Nathan Stefan Bodewig wrote: On Mon, 29 Jul 2002, Nathan Coast [EMAIL PROTECTED] wrote: arg line=-classpath

Re: quotes in args for exec

2002-07-30 Thread Nathan Coast
... or you use the value attribute instead of line - which I did in my response. oops should've read your response more thoroughly. yes it works. thanks Nathan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]