Hi
I have an ANT script that looks something like this:
.
I get a "Duplicated project name in import" that says the project name of the
project in bar is redefined in another file that bar imports(
I can't remember off the top of my head about -q, but the default level is
INFO which would give you ERROR, WARNING & INFO. The -v flag gives you
that plus VERBOSE, while -d gives you everything.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (
normal mode ==> shows INFO and above (ERR and WARN)
-v adds VERBOSE
-d adds DEBUG
-q logs only ERR and WARN (I think. I used it seldomly)
one "best practice" is to be silent if the task does nothing, when
everything's up to date for example.
When it does something, log at the default level (INFO
Are there any "best practices" for which logging levels to use from
custom ant tasks ?
The 5 levels: MSG_ERR, MSG_WARN, MSG_INFO, MSG_VERBOSE and MSG_DEBUG are
self explanatory, but I'm not certain which levels appear when ? I'm
asking which levels are visible depending on options supplied to ant
(
Lawrie Gallardo wrote:
Steve Loughran wrote:
As and when I complete the second edition of Java development with
Ant (yes, I am behind schedule), there will be some sample stuff
that does it more simply. I havent written the target to zip up all
the source tree to provide an example, but I
> When i run the ant junit task i get the following error :
Have you looked at the FAQ entry about Junit? See
http://ant.apache.org/faq.html#delegating-classloader
Have you placed your junit jar file (not the Ant one, Junit itself) in
the ant\lib directory?
Jon
Clearswift monitors, controls a
Ashley Williams wrote:
Hi,
I have a fragment of ant xml and would like to create a task or target
from it in my java code. For example here is the xml text:
When i run the ant junit task i get the following error :
C:\myproject\mytest>ant mytests
Buildfile: build.xml
mytests:
BUILD FAILED
C:\myproject\mytest\build.xml:207: Could not create task or type of type: junit.
Ant could not find the task or a class this task relies upon.
This is common a