From owner-freebsd-java Tue May 22 4:34: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 9722437B42C for ; Tue, 22 May 2001 04:34:05 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 22 May 2001 13:34:04 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9BF6@l04.research.kpn.com> From: "Koster, K.J." To: 'FreeBSD Java mailing list' Subject: Linux JDK path problems (with workaround) Date: Tue, 22 May 2001 13:34:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear All, When I use Ant (from the ports) I get the problem that Ant is unable to = open the build file. From the output it is clear that there is something = with the path. This is with Linux JDK 1.3.0 and Linux JDK 1.2.2. Of course, our native port works fine. :-) % touch build.xml % ant Buildfile: build.xml BUILD FAILED java.io.FileNotFoundException: i=C9/build.xml (No such file or = directory) ^^- note this --- Nested Exception --- java.io.FileNotFoundException: i=C9/build.xml (No such file or = directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:64) ...etc. The workaround is to execute a "cd `pwd`" before invoking ant. Don't = ask me why this works. Thus, I run "cd `pwd`; ant" and it works fine. I can only seem to reproduce the problem on NFS mount points. Executing = "ant -debug" reveals that there is a problem with the path properties to the = JDK when it is executed on NFS mount points. Are there known problems between FreeBSD NFS and our Linuxulator? Kees Jan =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message