Bug#249136: ant fails to compile lenya 1.2rc3

Jakub Stachowski Jakub Stachowski <qbast@go2.pl>, 249136@bugs.debian.org
Sat May 15 04:12:02 2004


Package: ant
Version: 1.6.1-1
Severity: normal
Tags: sid

Compilation of Lenya 1.2RC3 with Cocoon 2.1.4 leads to following error:


webapp:
     [echo] INFO: Copy files from src/webapp to build/lenya/webapp
     [copy] Copying 310 files to /usr/src/cocoon-lenya/build/lenya/webapp
     [echo] INFO: Copy publications from src/webapp/lenya/pubs to build/lenya/webapp/lenya/pubs
 [copyPubs] Copying 167 directories to /usr/src/cocoon-lenya/build/lenya/webapp/lenya/pubs
 [copyPubs] Copying 918 files to /usr/src/cocoon-lenya/build/lenya/webapp/lenya/pubs
     [echo] INFO: Patch cocoon.xconf

BUILD FAILED
java.lang.IllegalArgumentException: No attributes are implemented
        at org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)
        at XConfToolTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

Total time: 57 seconds
java.lang.IllegalArgumentException: No attributes are implemented
        at org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)
        at XConfToolTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
No attributes are implemented


Original verion of ant downloaded from apache.org compiles that just fine.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.4-wolk2.1
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (ignored: LC_ALL set to pl_PL)

Versions of packages ant depends on:
ii  j2re1.4 [java-virtual-machine 1.4.1-6    Blackdown Java(TM) 2 Runtime Envir
ii  libant1.6-java                1.6.1-1    Java based build tool like make
ii  libxerces2-java               2.6.1-1    Validating XML parser for Java wit

-- no debconf information