Here is what happens when building NAV 3.2.2 on FreeBSD v7.x via the "ports" collection: --------------------------------------------------- Building Logger ... (cd Logger && /usr/local/bin/ant ) && touch Logger Buildfile: build.xml
init: [mkdir] Created dir: /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/build
compile: [javac] Compiling 1 source file to /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/build [javac] /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:33: package no.ntnu.nav.ConfigParser does not exist [javac] import no.ntnu.nav.ConfigParser.*; [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:34: cannot find symbol [javac] symbol : class Path [javac] location: package no.ntnu.nav [javac] import no.ntnu.nav.Path; [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:69: cannot find symbol [javac] symbol : variable Path [javac] location: class no.ntnu.nav.logger.Log [javac] private static final String navConfigFile = (Path.sysconfdir + "/nav.conf").replace('/', File.separatorChar); [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:88: cannot find symbol [javac] symbol : class ConfigParser [javac] location: class no.ntnu.nav.logger.Log [javac] ConfigParser navCp; [javac] ^ [javac] /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/src/no/ntnu/nav/logger/Log.java:90: cannot find symbol [javac] symbol : class ConfigParser [javac] location: class no.ntnu.nav.logger.Log [javac] navCp = new ConfigParser(navConfigFile); [javac] ^ [javac] 5 errors
BUILD FAILED /usr/ports/net-mgmt/nav/work/nav-3.2.2/src/Logger/build.xml:30: Compile failed; see the compiler error output for details.
Total time: 3 seconds gmake[1]: *** [Logger] Error 1 gmake[1]: Leaving directory `/usr/ports/net-mgmt/nav/work/nav-3.2.2/src' gmake: *** [all] Error 1 *** Error code 2
--------------------------------------------------------- BTW - How would one normally get the compiler error output? I can include the output with some insight on how one normally get's the output. --------------------------------------------------------- Java:
java version "1.5.0_14-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-p8- root_19_apr_2008_00_01) Java HotSpot(TM) Client VM (build 1.5.0_14-p8-root_19_apr_2008_00_01, mixed mode)
Lines ~30 in build.xml:
<target name="compile" depends="init" description="compile the source " > <!-- Compile the java code from ${src} into ${build} --> <javac srcdir="${src}" destdir="${build}" source="1.4" target="1.4" debug="${debug}"/> </target>