Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Gromit Guest

    Default [SOLVED] Strange Error while compiling open-xchange-gui

    Hello,

    I get an error while compiling open-xchange-gui:

    Code:
    /tmp/open-xchange-gui # ant -Dlib.dir=/opt/open-xchange/lib/ -Dhtdoc=/srv/www -v deploy
    Apache Ant version 1.6.2 compiled on September 9 2005
    Buildfile: build.xml
    Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre
    Detected OS: Linux
    parsing buildfile /tmp/open-xchange-gui/build.xml with URI = file:///tmp/open-xchange-gui/build.xml
    Project base dir set to: /tmp/open-xchange-gui
    Override ignored for property htdoc
    Override ignored for property lib.dir
     [property] Loading /tmp/open-xchange-gui/VERSION
     [property] Loading /tmp/open-xchange-gui/PVERSION
    Build sequence for target `deploy' is [all_with_clean, deploy]
    Complete build sequence is [all_with_clean, deploy, build page, js, install, lang, clean, deb, html, css, dist, pot, all, ]
    
    all_with_clean:
    Project base dir set to: /tmp/open-xchange-gui
      [antcall] calling target clean in build file /tmp/open-xchange-gui/build.xml
    parsing buildfile /tmp/open-xchange-gui/build.xml with URI = file:///tmp/open-xchange-gui/build.xml
    Project base dir set to: /tmp/open-xchange-gui
    Override ignored for property htdoc
    Override ignored for property builddir
    Override ignored for property langdir
    Override ignored for property lib.dir
    Override ignored for property saxonjar
    Override ignored for property helplocation
     [property] Loading /tmp/open-xchange-gui/VERSION
    Override ignored for property version
     [property] Loading /tmp/open-xchange-gui/PVERSION
    Override ignored for property pversion
    Override ignored for property project.name
    Override ignored for property pkg.name
    Override ignored for property deb.optargs
    Override ignored for property destdir
    Override ignored for property build.sysclasspath
    Build sequence for target `clean' is [clean]
    Complete build sequence is [clean, build page, js, install, all_with_clean, lang, deploy, deb, html, css, dist, pot, all, ]
      [antcall] Entering /tmp/open-xchange-gui/build.xml...
    Build sequence for target `clean' is [clean]
    Complete build sequence is [clean, build page, js, install, all_with_clean, lang, deploy, deb, html, css, dist, pot, all, ]
    
    clean:
    Property ${doc} has not been set
       [delete] Deleting directory /tmp/open-xchange-gui/build
       [delete] Deleting /tmp/open-xchange-gui/build/border.css
       [delete] Deleting /tmp/open-xchange-gui/build/ox.de_DE.po
       [delete] Deleting directory /tmp/open-xchange-gui/build
    
    
    [...]

    So far so good, but:

    Code:
       [concat] Concating file /tmp/open-xchange-gui/js/menu/menu2.js
       [concat] Concating file /tmp/open-xchange-gui/js/core.js
       [concat] Concating file /tmp/open-xchange-gui/js/sidepanel/sidepanel.js
       [concat] Concating file /tmp/open-xchange-gui/js/sidepanel/foldercommon.js
       [concat] Concating file /tmp/open-xchange-gui/js/sidepanel/folder_cache.js
       [concat] Concating file /tmp/open-xchange-gui/js/sidepanel/folder_tree_impl.js
       [concat] Concating file /tmp/open-xchange-gui/js/sidepanel/foldertree.js
    
    lang:
         [exec] Current OS is Linux
         [exec] Executing 'msgcat' with arguments:
         [exec] '-o'
         [exec] 'build/ox.de_DE.po'
         [exec] 'i18n/de_DE/po/ox.de_DE.po'
         [exec] 'i18n/de_DE/po/errors.de_DE.po'
         [exec]
         [exec] The ' characters around the executable and arguments are
         [exec] not part of the command.
      [antcall] Exiting /tmp/open-xchange-gui/build.xml.
    
    BUILD FAILED
    /tmp/open-xchange-gui/build.xml:498: The following error occurred while executing this line:
    /tmp/open-xchange-gui/build.xml:451: The <copy> type doesn't support the nested "chainedmapper" element.
            at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
            at org.apache.tools.ant.Task.perform(Task.java:364)
            at org.apache.tools.ant.Target.execute(Target.java:341)
            at org.apache.tools.ant.Target.performTasks(Target.java:369)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
            at org.apache.tools.ant.Main.runBuild(Main.java:673)
            at org.apache.tools.ant.Main.startAnt(Main.java:188)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
    Caused by: /tmp/open-xchange-gui/build.xml:451: The <copy> type doesn't support the nested "chainedmapper" element.
            at org.apache.tools.ant.IntrospectionHelper.throwNotSupported(IntrospectionHelper.java:590)
            at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:329)
            at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:182)
            at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
            at org.apache.tools.ant.Task.perform(Task.java:363)
            at org.apache.tools.ant.Target.execute(Target.java:341)
            at org.apache.tools.ant.Target.performTasks(Target.java:369)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
            ... 11 more
    --- Nested Exception ---
    /tmp/open-xchange-gui/build.xml:451: The <copy> type doesn't support the nested "chainedmapper" element.
            at org.apache.tools.ant.IntrospectionHelper.throwNotSupported(IntrospectionHelper.java:590)
            at org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:329)
            at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:182)
            at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:158)
            at org.apache.tools.ant.Task.perform(Task.java:363)
            at org.apache.tools.ant.Target.execute(Target.java:341)
            at org.apache.tools.ant.Target.performTasks(Target.java:369)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
            at org.apache.tools.ant.Task.perform(Task.java:364)
            at org.apache.tools.ant.Target.execute(Target.java:341)
            at org.apache.tools.ant.Target.performTasks(Target.java:369)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
            at org.apache.tools.ant.Main.runBuild(Main.java:673)
            at org.apache.tools.ant.Main.startAnt(Main.java:188)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
    
    Total time: 9 seconds
    I'm on SuSE Linux 10.0 (vserver, 2.6.9-023stab043.1-enterprise #1 SMP). I used the how-to from http://wiki.open-xchange.com.

    Any ideas how to solve this problem?
    Last edited by Gromit; 08-19-2007 at 09:11 PM. Reason: solved

  2. #2
    Gromit Guest

    Default

    Ok, I found the problem. SuSE 10.0 has an old version of ant in its repository. I had to add a JPackage mirror to /etc/apt/sources.list in order to get a new version of ant. (>=1.6.5)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •