Centipede & multiple projects

"Adam Jack" <[email protected]>
Newsgroups gmane.comp.krysalis.user
Message-ID <032501c3029c$a1b5b620$bb1ce641@wdn086>
I am attempting to build multiple projects in one module.xml via centipede,
by using a separate centibiuld.xml per project. In the xxxx-centibuild.xml I
have <project name="xxxx" which corresponds to a <project name="xxxx" in the
module.xml.

1) Do folks think this approach stands a chance? [I was hoping to then use
Gump to launch various centipedes.]
2) Is this a good "long term" solution for centipede? Is this something
centipede ought work towards? [If so, I'll ask some more questions, if not I
won't bother.]

Of course (or I wouldn't be writing) it isn't working for me:

cent -f ant-centibuild.xml
	...
	      Project Name krysalis-ruper-ant
	...
                =====================================
                   building  krysalis-ruper				<--- Why? First in
module.xml?
                =====================================
	...
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(Expressi
on.java:268)
        at
org.apache.tools.ant.taskdefs.optional.JXPath$JXPathPropertyHelper.getProper
tyHook(JXPath
.java:136)
        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:28
9)
        at org.apache.tools.ant.Project.replaceProperties(Project.java:561)
        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:144)
        at org.apache.tools.ant.Task.perform(Task.java:387)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:128)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:119)
        at org.apache.tools.ant.Main.runBuild(Main.java:597)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:245)

Total time: 5 seconds

regards,

Adam
--
<http://www.try.sybase.com>
Experience Sybase Technology ...



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.