On 11-12-17 12:03, ratatouille wrote:
Hello!
Martijn Brinkers <martijn(a)ciphermail.com> schrieb am 10.12.17 um 15:53:55 Uhr:
> # ant --execdebug
> exec "/usr/lib/jvm/java/bin/java" -classpath
"/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/lib/jvm/java/lib/tools.jar"
-Dant.home="/usr/share/ant" -Dant.library.dir="/usr/share/ant/lib"
org.apache.tools.ant.launch.Launcher -cp ""
> Buildfile: build.xml does not exist!
> Build failed
The installation script runs ant with sudo under
the user djigzo.
What is the output of
sudo -u djigzo ant
Found this one out:
# ant -f /usr/local/tomcat/webapps/docs/appdev/sample/build.xml
Buildfile: /usr/local/tomcat/webapps/docs/appdev/sample/build.xml
Trying to override old definition of datatype resources
prepare:
compile:
[javac] /usr/local/tomcat/webapps/docs/appdev/sample/build.xml:297: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
BUILD SUCCESSFUL
Total time: 0 seconds
# sudo -u djigzo ant -f /usr/share/djigzo/build.xml
Buildfile: /usr/share/djigzo/build.xml
create-symlinks:
[delete] Deleting directory /usr/share/djigzo/james-2.3.1/apps/james/SAR-INF/lib
[mkdir] Created dir: /usr/share/djigzo/james-2.3.1/apps/james/SAR-INF/lib
create-symlink:
[echo] /usr/share/djigzo/lib/FastInfoset-1.2.2.jar
[symlink] ln: die symbolische Verknüpfung
„james-2.3.1/apps/james/SAR-INF/lib/FastInfoset-1.2.2.jar“ konnte nicht angelegt werden:
Datei oder Verzeichnis nicht gefunden
BUILD FAILED
/usr/share/djigzo/build.xml:74: The following error occurred while executing this line:
/usr/share/djigzo/build.xml:98: ln failed with return code 1
Weird.
Does the file /usr/share/djigzo/lib/FastInfoset-1.2.2.jar exist?
If so what is the file permissions/owner?
ls -al /usr/share/djigzo/lib/FastInfoset-1.2.2.jar
Kind regards,
Martijn Brinkers
--
CipherMail email encryption
Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.
https://www.ciphermail.com
Twitter:
http://twitter.com/CipherMail