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
'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:
>
>
>
>
>
>
>
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
--
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=
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
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
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:
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
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
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.
--
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
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,
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.
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
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
15 matches
Mail list logo