Date: Tue, 22 May 2001 21:20:13 +0200 From: Ernst de Haan <ernst@jollem.com> To: "Koster, K.J." <K.J.Koster@kpn.com> Cc: "'FreeBSD Java mailing list'" <freebsd-java@FreeBSD.ORG> Subject: Re: Linux JDK path problems (with workaround) Message-ID: <20010522212013.A14725@c187104187.telekabel.chello.nl> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9BF6@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, May 22, 2001 at 01:34:02PM %2B0100 References: <59063B5B4D98D311BC0D0001FA7E452205FD9BF6@l04.research.kpn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey Kees Jan and all, I had this problem about a year ago. I traced the problem back to the fact that the system property user.home contained garbage. This is *probably* a Linuxulator problem, since I've had the same problem with different Linux JDK's. It's in my experience a weird problem that doesn't expose itself all the time. Ernst Koster, K.J. wrote: > 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 > -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ 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?20010522212013.A14725>