You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Adam R. B. Jack" <aj...@trysybase.com> on 2003/09/29 17:59:31 UTC
Gumping centipede
> Which variable in which log?
Looking at this:
http://cvs.apache.org/~bodewig/gump/krysalis-version.html
(Which incidently works on Chalko.com w/ a canned Ant from a few weeks ago)
http://gump.chalko.com/krysalis-version.html
I see:
Buildfile: centibuild.xml
[centipede] Initializing Centipede [org.krysalis.centipede version
1.0.0-beta6-10001]...
which shows centipede is included/run.
It isn't a property but a static variable we test (I forget why we stopped
using a property).
Anyway, some sort of exception must be occuring and not logged (or
something) for that variable not to run.
This is *IMNSHO* quite possible 'cos between that log line and setting the
variable is some reasonably significant stuff, including files, registers
ant property handlers, etc. I'm not sure why an exception is not logged
though.
> If you can tell me what property you expect to get where, I may have a
> chance. I haven't looked at the krysalis builds yet, but when I tried
> to debug a POI problem several weeks ago you simply lost me with your
> multiple nested levels of <ant> and <antcall>.
This time it is me that does not follow, 'cos (1) POI is nothing to do with
me (2) POI gave up on centipede long ago, and uses plain ant.
> I'll try to find some time and run a -debug build of one of the
> failing krysalis projects. Any suggestion which one I should try
> (they basically look like the same failure to me).
Yes please. Krysalis-version please, 'cos we see that runs on chalko.com w/
older ant.
regards,
Adam
Re: Gumping centipede
Posted by Nick Chalko <ni...@chalko.com>.
Nicola Ken Barozzi wrote:
> Nick Chalko wrote:
>
> ...
>
>> BUILD FAILED
>> C:\krysalis\krysalis-template\smoketest\build.xml:9: import requires
>> support in ProjectHelper
>
>
> Seems like Eclipse is using it's own Ant. 1.5.4 doesn't indeed have
> support for import in ProjectHelper.
>
Perhaps.
I did some funky stuff and forced the imported file onto the importstack
and I got further but then had other problems.
I am still playing.
Re: Gumping centipede
Posted by Nicola Ken Barozzi <ni...@apache.org>.
Nick Chalko wrote:
...
> BUILD FAILED
> C:\krysalis\krysalis-template\smoketest\build.xml:9: import requires
> support in ProjectHelper
Seems like Eclipse is using it's own Ant. 1.5.4 doesn't indeed have
support for import in ProjectHelper.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Re: Gumping centipede
Posted by Nick Chalko <ni...@chalko.com>.
Stefan Bodewig wrote:
>I've updated the logs with last night's build (ant-contrib-tests has
>been hanging and I had to terminate it manually in case you're curious
>about the build times).
>
>See also <http://cvs.apache.org/~bodewig/gump/krysalis-version-debug.log>
>for a manual invocation with
>
>./build.sh krysalis-version dist-gump -debug -logfile /tmp/krysalis-version-debug.log
>
>
I am trying to replicate the problem in eclise (so I can step through
the code) but I get this
[centipede] set 'core.antlib.dir' to
'c:/tools/ant/tools/antlibs/core-0.0.1-dev.antlib'
[centipede] import file :
//c:/tools/ant/tools/antlibs/core-0.0.1-dev.antlib/xbuild.xml
BUILD FAILED
C:\krysalis\krysalis-template\smoketest\build.xml:9: import requires
support in ProjectHelper
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:131)
at
org.krysalis.centipede.ant.ImportAntLibTask.execute(ImportAntLibTask.java:219)
at
org.krysalis.centipede.ant.CentipedeTask.importCoreXbuild(CentipedeTask.java:84)
at
org.krysalis.centipede.ant.CentipedeTask.execute(CentipedeTask.java:63)
at
org.apache.tools.ant.UnknownElement2.execute(UnknownElement2.java:205)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at
org.apache.tools.ant.helper.ProjectHelperImpl2.parse(ProjectHelperImpl2.java:148)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:126)
at org.apache.tools.ant.Main.runBuild(Main.java:653)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.Main.start(Main.java:184)
at org.apache.tools.ant.Main.main(Main.java:267)
Total time: 1 minute 52 seconds
Still looking
Re: Gumping centipede
Posted by Nick Chalko <ni...@chalko.com>.
I confirmed this on my laptop at home last night using 9/28 CVS of ant
from the command line (not gump)
I will start debugging it tonihgt.
Stefan Bodewig wrote:
>I've updated the logs with last night's build (ant-contrib-tests has
>been hanging and I had to terminate it manually in case you're curious
>about the build times).
>
>See also <http://cvs.apache.org/~bodewig/gump/krysalis-version-debug.log>
>for a manual invocation with
>
>./build.sh krysalis-version dist-gump -debug -logfile /tmp/krysalis-version-debug.log
>
>and an empty CLASSPATH (using JDK 1.4.2).
>
>When you try to parse this, you should know that
>/home/bodewig/dev/gump is a symlink to /javastuff/gump.
>
>On Mon, 29 Sep 2003, Adam R. B. Jack <aj...@trysybase.com> wrote:
>
>
>
>>It isn't a property but a static variable we test (I forget why we
>>stopped using a property).
>>
>>
>
>Sounds like a potential classloader problem then. If centipede's
>classes get loaded twice via different class loaders, you'll get two
>instances of the same class that don't share the same static
>variables.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: gump-help@jakarta.apache.org
>
>
Re: Gumping centipede
Posted by Stefan Bodewig <bo...@apache.org>.
I've updated the logs with last night's build (ant-contrib-tests has
been hanging and I had to terminate it manually in case you're curious
about the build times).
See also <http://cvs.apache.org/~bodewig/gump/krysalis-version-debug.log>
for a manual invocation with
./build.sh krysalis-version dist-gump -debug -logfile /tmp/krysalis-version-debug.log
and an empty CLASSPATH (using JDK 1.4.2).
When you try to parse this, you should know that
/home/bodewig/dev/gump is a symlink to /javastuff/gump.
On Mon, 29 Sep 2003, Adam R. B. Jack <aj...@trysybase.com> wrote:
> It isn't a property but a static variable we test (I forget why we
> stopped using a property).
Sounds like a potential classloader problem then. If centipede's
classes get loaded twice via different class loaders, you'll get two
instances of the same class that don't share the same static
variables.
> This time it is me that does not follow, 'cos (1) POI is nothing to
> do with me (2) POI gave up on centipede long ago, and uses plain
> ant.
My only exposure to a build using centipede has been when I tried to
debug a problem with POI's builds in Gump some months ago when they
still used centipede. And at that time I found the nested <ant>
invocations incredibly difficult to follow, in particular since a
bunch of <antcall>s could have been depends attributes on targets as
well. Things may have changed since then.
Stefan