1) If the problem has existed for ages why haven't I ever seen it before? 2) The Php block is disabled by default. 3) I don't see anything remarkable about PhpGenerator.java, but then I have no idea what the qdox parser is trying to do to it. It is dying on the end of file. 4) Telling folks that the default build doesn't work is not a long term solution.
Am I the first person to encounter this? I've noticed a slew of commits over the last several days so I find it hard to believe noone else has tried to make the current SVN build. Ralph David Crossley said: > Antonio Gallardo wrote: >> Workaround: disable doc generation in local.build.properties. >> >> Posible cause: >> AFAIK, recently David is in process to integrate a new forrest version >> in >> Cocoon and this could be the problem cause. ;-) > > No, not that. In fact, Forrest is now completely separated from the > build in both trunk and branch. > > This problem with PhpGenerator has been around for ages. > Either disable the Php block or do the workaround Antonio > suggests, or try to find what on earth that error message means. > > --David > >> > [snip] >> > Building component docs from blocks. >> > >> > BUILD FAILED >> > /home/rago2483/cocoon/head/BRANCH_2_1_X/tools/targets/docs-build.xml:56: >> > com.thoughtworks.qdox.parser.ParseException: syntax error @[181,1] in >> > file:/home/rago2483/cocoon/head/BRANCH_2_1_X/src/blocks/php/java/org/apache/cocoon/generation/PhpGenerator.java >
