Date: Tue, 22 May 2001 13:34:02 +0100 From: "Koster, K.J." <K.J.Koster@kpn.com> To: 'FreeBSD Java mailing list' <freebsd-java@freebsd.org> Subject: Linux JDK path problems (with workaround) Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9BF6@l04.research.kpn.com>
next in thread | raw e-mail | index | archive | help
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É/build.xml (No such file or directory)
^^- note this
--- Nested Exception ---
java.io.FileNotFoundException: iÉ/build.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(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
================================================
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E452205FD9BF6>
