RE: Replace Question

2006-12-19 Thread Master, Tariq \(Abbeywood\)
One thing to be aware of is the encoding type of a file. Replace will only perform a replace on one encoding. A default is used if not specified. I had an issue where developers were using different text editors to edit text files and my replace didn't work initially. -Original Messag

RE: How to fail if macro attribute is not set

2006-08-21 Thread Master, Tariq \(Abbeywood\)
't run the above...so there may be some syntax issues...but you want something like the above... Master, Tariq (Abbeywood) wrote: > I would like my macro definition to fail if an attribute is not. > Example: > > > > > > >

How to fail if macro attribute is not set

2006-08-21 Thread Master, Tariq \(Abbeywood\)
I would like my macro definition to fail if an attribute is not. Example: The fail in the above case always fails as the attribute isn't recognised as a property. Unless I'm incorrect. Ideas or potential idea for Ant 1.7+ ? Tariq --

RE: Ear task with update="true" not updating

2006-07-27 Thread Master, Tariq \(Abbeywood\)
Now working. I was pointing to the wrong dir. Then I got the "add the appxml attribute" message. Happy again :) My Bad. -Original Message----- From: Master, Tariq (Abbeywood) [mailto:[EMAIL PROTECTED] Sent: 27 July 2006 14:27 To: Ant Users List Subject: Ear task with update=

Ear task with update="true" not updating

2006-07-27 Thread Master, Tariq \(Abbeywood\)
I have an ear file containing a war file. The war file is 1 meg. My new war file (same filename) is now 3 meg in filesize. I have been attempting to update the ear file using: It is not occuring though (obviously, I'm doing something wrong!). ant -diagnostics r

War task documentation update about winzip

2006-07-26 Thread Master, Tariq \(Abbeywood\)
At the very bottom of the war task page is a remark about winzip not allowing all uppercase directory names. Winzip has an option allowing all uppercase names (which is off by default!). It can be enabled by: Menu "Options" -> "Configuration", "View" property/tab page, then "General" group box h

RE: problem with

2006-07-21 Thread Master, Tariq \(Abbeywood\)
I have done this: Defined my Macro outside of a .This is because it is called from many targets. Within the macro's , I have a (with message!). Works a treat. -Original Message- From: Mayuresh Kshirsagar [mailto:[EMAIL PROTECTED] Sent: 21 July 2006 11:04 To: Ant Users List Subject:

RE: Line *Doesn't* Contain?

2006-07-11 Thread Master, Tariq \(Abbeywood\)
I'm sure I read an example in the ant manual using the element. (having inet access issues so no direct linke - sorry) -Original Message- From: Aaron Davies [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 16:20 To: Ant Users Subject: Line *Doesn't* Contain? How can I do a negative filt

A junit classpath problem on unix (same script/setup works on WinXP)

2006-07-11 Thread Master, Tariq \(Abbeywood\)
Environment: Solaris 9, Ant 1.6.5 ANT_HOME set. JDK: 1.4.2_04-b05 junit.jar and other external libraries in ~/.ant/lib/ When I run my test target, I get: test: Override ignored for property reports.junit.dir [junit] Found /export/home/myuser/.ant/lib/junit.jar [junit] Found /opt/ant/lib

Bug(?) with and attribute forkmode="perBatch" with nested - ant 1.6.5

2006-06-08 Thread Master, Tariq \(Abbeywood\)
My junit task is to run a batch test on all test classes under a test dir. It all works fine if forkmode="perTest" (default). However, if forkmode="perBatch" or forkmode="once", then only one test in the whole batch file list will be run. Interesting. --

RE: calling maven2 files from ant

2006-06-06 Thread Master, Tariq \(Abbeywood\)
file NOT in the exec task params, correct? Once forked, sysout and errout are no longer available to ant I thought. -Original Message- From: Master, Tariq (Abbeywood) [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 10:03 AM To: Ant Users List Subject: RE: calling maven2 fi

RE: calling maven2 files from ant

2006-06-06 Thread Master, Tariq \(Abbeywood\)
alked about in the three postings (and it's similar to what we're doing - a bat file eventually calls a shell script, etc). But it still hangs. Everything is being redirected properly. -Original Message----- From: Master, Tariq (Abbeywood) [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: calling maven2 files from ant

2006-06-06 Thread Master, Tariq \(Abbeywood\)
My email to the Cruise mailing list: -- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Master, Tariq (Abbeywood) Sent: 26 May 2006 18:47 To: [EMAIL PROTECTED] Subject: [Cruisecontrol-user] Hang after build successful due to a forkedcmd.exe window open My cruise (2.4.1) calls my ant (1.

RE: No public execute() in com.mydomain.AllUpperCaseCondition

2006-06-01 Thread Master, Tariq \(Abbeywood\)
Kudos Jan. Thanks you VERY much. I was use taskdef and not typedef. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 01 June 2006 11:09 To: user@ant.apache.org Subject: AW: No public execute() in com.mydomain.AllUpperCaseCondition >I get an error making my

No public execute() in com.mydomain.AllUpperCaseCondition

2006-06-01 Thread Master, Tariq \(Abbeywood\)
I get an error making my own custom condition. I am using the example on: http://ant.apache.org/manual/CoreTypes/custom-programming.html#customcon ditions It looks like AntTypeDefinitions wants it to have an execute() method, though the dev guide states not to (I even checked the other condition s