I run a Java task from my ant script. That task does some various
Logger.global.log(Level.INFO, "message") calls.
The problem is that these are registered as warnings in my ant log. Is there
something that can be done about this?
I use Ant 1.7.0 and JDK 1.6
--
View this message in context:
htt
Hello all.
What's the best way to create an empty patternset (that is, a pattern
set that will result in no inclusions)?
Why on earth would I want such a thing? I have two common tasks
(compile and deploy) that are repeated for several applications.
Because of this repetition, I've created two
On 5/14/07, Jay Dickon Glanville <[EMAIL PROTECTED]> wrote:
What's the best way to create an empty patternset (that is, a pattern
set that will result in no inclusions)?
Any pattern with a non-sensible-enough name will do. I tend to use one
that documents what I'm doing. For example, in your ca
Hello again,
I have a situation where many java files are being created from a
single xml file. I don't want this to be done if the java files are
up to date.
Therefore, I'm trying to use the task to generate a
property only if java file creation is necessary. The problem I'm
having is that a
Hi there,
I am using the "FTP" task in ANT to update a group of files at a remote site,
but sometimes, some files at the remote site are read-only, and my ANT will
fail because of that. Is that any way I can do a chmod of these read-only
files.
thanks a lot
Chun
---
how about sshexec?
http://ant.apache.org/manual/OptionalTasks/sshexec.html
On 5/14/07, Chun Ji <[EMAIL PROTECTED]> wrote:
Hi there,
I am using the "FTP" task in ANT to update a group of files at a remote
site, but sometimes, some files at the remote site are read-only, and my ANT
will fail bec
Another newbee question:
I need to detect if an application is installed (cross platform). I do not
have direct access to the applications (tool) path as it's installation path
is found as part of my PATH variable.
I would like to try to run it with failonerror set to false and look for the
progr
Thank you for the tips. But it does not work for this case. I am getting a
"Connection refused" exceptions. Anything else you could think about ?
Chun
-Original Message-
From: Mark Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, May 14, 2007 2:19 PM
To: Ant Users List
Subject: Re:
assuming you can ssh to the host, sshexec should work for you. There is a
bit of effort involved in getting the required libraries that ant does not
ship. I assume you got all the pieces. As it has worked for me, that's the
only solution I could point to. good luck.
On 5/14/07, Chun Ji <[EMAIL PR
Take a look at the task:
http://ant.apache.org/manual/CoreTasks/exec.html
In addition to the failifexecutionfails = false (to suppress the build failure)
you may want to set the following attributes: resultproperty, errorproperty,
outputproperty. Hopefully, something meaningful, unique and co
10 matches
Mail list logo