[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OPP patch and new build.xml file...
Falko Braeutigam wrote:
>
> The OZONE_HOME environment variable is no longer needed. The scripts find out
> automatically. However, the scripts still recognize OZONE_HOME. If you want to
> use it, then it has to be set to the build dir now.
>
I cannot build the newest Ozone version (under Linux):
bash-2.04$ export OZONE_HOME=
bash-2.04$ ./build.sh
OZONE_HOME: .
Buildfile: build.xml
init:
prepare:
DxLib:
BUILD FAILED
/home/mkeuchen/smbcvs/ozone/build.xml:216: javac can't be found.
--- Nested Exception ---
java.lang.ClassNotFoundException: javac
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:286)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:243)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.resolveClassName(CompilerAdapterFactory.java:136)
at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:122)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:450)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 1 second
What is wrong here?
What has changed?
By the way, bin/ant still searches for some jar file in the "bin"
directory.
Setting OZONE_HOME to the build dir doesn't work, either:
bash-2.04$ export OZONE_HOME=./build
bash-2.04$ ./build.sh
./build.sh: ./build/bin/ozoneEnv: No such file or directory
Michael Keuchen