Hi all.
I try install Hyperion on a FC6 box.
I follow step by step the installation instruction. All go well (only little bit hard find all the necessary product), but when i arrive at the gui installation i have an error in compile with ant. This is what i read:
[root@salamx open-xchange-gui]# ant -Dlib.dir=/opt/open-xchange/lib/ -lib /opt/open-xchange/lib deploy
Buildfile: build.xml
all_with_clean:
clean:
[delete] Deleting directory /oxhyp_fc6_inst/open-xchange-gui/build
[delete] Deleting 3 files from /oxhyp_fc6_inst/open-xchange-gui
css:
[xslt] Processing /oxhyp_fc6_inst/open-xchange-gui/style.xml to /oxhyp_fc6_inst/open-xchange-gui/build/border.css
[xslt] Loading stylesheet /oxhyp_fc6_inst/open-xchange-gui/css.xsl
[xslt] oxhyp_fc6_inst/open-xchange-gui/css.xsl:20: Warning! Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
html:
build page:
[xslt] Processing /oxhyp_fc6_inst/open-xchange-gui/html/index.xml to /oxhyp_fc6_inst/open-xchange-gui/index.html
[xslt] Loading stylesheet /oxhyp_fc6_inst/open-xchange-gui/build.xsl
BUILD FAILED
/oxhyp_fc6_inst/open-xchange-gui/build.xml:514: The following error occurred while executing this line:
/oxhyp_fc6_inst/open-xchange-gui/build.xml:269: The following error occurred while executing this line:
/oxhyp_fc6_inst/open-xchange-gui/build.xml:56: Could not create task or type of type: replaceregexp.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'replaceregexp'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 1 second
[root@salamx open-xchange-gui]#
if i can say, in accord with the installation instruction, i check if i've the ant-optional package:
[root@salamx open-xchange-gui]# rpm -q ant
ant-1.6.5-2jpp.2
[root@salamx open-xchange-gui]# ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.6.5 compiled on August 30 2006
-------------------------------------------
Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks : 1.6.5
optional tasks : not available
-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
Like you can see, in "optional tasks" there is write not available.
Is this the problem?
If yes, where i can find ant-optional for Fedora Core 6? I can't find with yum, and i can't find any RPM in the network.
Thank you all,
regards,
Mauro.
I try install Hyperion on a FC6 box.
I follow step by step the installation instruction. All go well (only little bit hard find all the necessary product), but when i arrive at the gui installation i have an error in compile with ant. This is what i read:
[root@salamx open-xchange-gui]# ant -Dlib.dir=/opt/open-xchange/lib/ -lib /opt/open-xchange/lib deploy
Buildfile: build.xml
all_with_clean:
clean:
[delete] Deleting directory /oxhyp_fc6_inst/open-xchange-gui/build
[delete] Deleting 3 files from /oxhyp_fc6_inst/open-xchange-gui
css:
[xslt] Processing /oxhyp_fc6_inst/open-xchange-gui/style.xml to /oxhyp_fc6_inst/open-xchange-gui/build/border.css
[xslt] Loading stylesheet /oxhyp_fc6_inst/open-xchange-gui/css.xsl
[xslt] oxhyp_fc6_inst/open-xchange-gui/css.xsl:20: Warning! Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
html:
build page:
[xslt] Processing /oxhyp_fc6_inst/open-xchange-gui/html/index.xml to /oxhyp_fc6_inst/open-xchange-gui/index.html
[xslt] Loading stylesheet /oxhyp_fc6_inst/open-xchange-gui/build.xsl
BUILD FAILED
/oxhyp_fc6_inst/open-xchange-gui/build.xml:514: The following error occurred while executing this line:
/oxhyp_fc6_inst/open-xchange-gui/build.xml:269: The following error occurred while executing this line:
/oxhyp_fc6_inst/open-xchange-gui/build.xml:56: Could not create task or type of type: replaceregexp.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'replaceregexp'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 1 second
[root@salamx open-xchange-gui]#
if i can say, in accord with the installation instruction, i check if i've the ant-optional package:
[root@salamx open-xchange-gui]# rpm -q ant
ant-1.6.5-2jpp.2
[root@salamx open-xchange-gui]# ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.6.5 compiled on August 30 2006
-------------------------------------------
Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks : 1.6.5
optional tasks : not available
-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
Like you can see, in "optional tasks" there is write not available.
Is this the problem?
If yes, where i can find ant-optional for Fedora Core 6? I can't find with yum, and i can't find any RPM in the network.
Thank you all,
regards,
Mauro.
Comment