Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Get bogus error messages using ant verbose, debug modes

pkrish

2010-02-05


Author LoginPost Reply

Hi All,

I am trying to execute a build file in verbose and debug modes. I am getting
messages of the type,

Property "component.key" has not been set

even though in target "private-init" of the build file, I am setting the
value of variable, component.key.

I am attaching my build file
http://old.nabble.com/file/p27476452/test-build.xml test-build.xml

I am calling the build file from the command line in my local environment as
follows:
The build file uses a .properties file which maps to the properties in the
build file.

ant -v -f ic-build.xml -Dprovisioning.plan=/tmp/ic_latest.properties
-Dplan.override=/tmp/override.properties
-Dframework.lib.dir=$ADE_VIEW_ROOT/faprov/dist/provisioning/framework/lib
-Dconfigframework.lib.dir=$ADE_VIEW_ROOT/faprov/dist/provisioning/configframework/lib
install


My question is that, is this behavior of printing out wrong error messages
expected when you call ant in verbose/debug mode?

Please let me know.

Thanks,
Prasanna

--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.