ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [GUMP] Build Failure - krysalis-cents-site
Date Thu, 09 Jan 2003 22:47:43 GMT

Nick Chalko wrote:
 > junit fails, if there is no <test> node in module.xml
 >
 > Nicola,  did we ever get the jxpath patch in?

Nope.

The [PATCH] is here
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=4177

Can someone apply it or comment on it please? :-)

Since there is a possible similar issue to the XmlProperty task about
being lenient... I'm starting to think that this should have
lenient="true" as default, which is more similar to the normal property
behaviour, no?

_Nick_: I'll start on the VIPROM for this so that we can get it more easily.
_For all_: VIPROM is a virtual project object model. Basically a
PropertyHelper for Ant that makes me access easily proprerties in a Gump
   descriptor, and in the future in the merged multiproject descriptor.

[...]

This is what happens now when jxpath: doesn't find what was asked:

 >> BUILD FAILED
 >> java.util.NoSuchElementException
 >>     at
 >> org.apache.commons.jxpath.ri.EvalContext.next(EvalContext.java:168)
 >>     at
 >> 
org.apache.commons.jxpath.ri.compiler.Expression$ValueIterator.next(Expression.java:268) 

 >>
 >>     at
 >> 
org.apache.tools.ant.taskdefs.optional.JXPath$JXPathPropertyHelper.getPropertyHook(JXPath.java:136)


 >>
 >>     at
 >> 
org.apache.tools.ant.PropertyHelper.getPropertyHook(PropertyHelper.java:197) 

 >>
 >>     at
 >> 
org.krysalis.ant.taskdefs.CentPropertyTask$CentPropertyHelper.getPropertyHook(CentPropertyTask.java:57)


 >>
 >>     at
 >> 
org.apache.tools.ant.PropertyHelper.getPropertyHook(PropertyHelper.java:197) 

 >>
 >>     at
 >> org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:443)
 >>     at
 >> 
org.apache.tools.ant.PropertyHelper.replaceProperties(PropertyHelper.java:289) 

 >>
 >>     at org.apache.tools.ant.Project.replaceProperties(Project.java:486)
 >>     at
 >> 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:310) 

 >>
 >>     at
 >> 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:266) 

 >>
 >>     at
 >> 
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:143)
 >>
 >>     at org.apache.tools.ant.Task.perform(Task.java:347)
 >>     at org.apache.tools.ant.Target.execute(Target.java:309)
 >>     at
 >> 
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:122)
 >>     at
 >> 
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:120)
 >>
 >>     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:353)
 >>     at
 >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:185)
 >>     at org.apache.tools.ant.Task.perform(Task.java:348)
 >>     at org.apache.tools.ant.Target.execute(Target.java:309)
 >>     at org.apache.tools.ant.Target.performTasks(Target.java:336)
 >>     at org.apache.tools.ant.Project.executeTarget(Project.java:1244)
 >>     at org.apache.tools.ant.Project.executeTargets(Project.java:1188)
 >>     at org.apache.tools.ant.Main.runBuild(Main.java:614)
 >>     at org.apache.tools.ant.Main.start(Main.java:197)
 >>     at org.apache.tools.ant.Main.main(Main.java:235)


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message