Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 10534 invoked from network); 2 Feb 2007 13:29:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 13:29:39 -0000 Received: (qmail 61422 invoked by uid 500); 2 Feb 2007 13:29:37 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 61374 invoked by uid 500); 2 Feb 2007 13:29:36 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 61363 invoked by uid 99); 2 Feb 2007 13:29:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 05:29:36 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of compuin5y313@compuserve.de designates 62.52.27.101 as permitted sender) Received: from [62.52.27.101] (HELO demdwug7.mediaways.net) (62.52.27.101) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Feb 2007 05:29:26 -0800 Received: (qmail 3356 invoked by uid 4219); 2 Feb 2007 13:29:04 -0000 Received: from desws072.mediaways.net (HELO compuserve.de) (62.52.27.28) by demdwug7.mediaways.net with SMTP; 2 Feb 2007 13:29:04 -0000 From: To: user@ant.apache.org Message-ID: <4026dd402e4e.402e4e4026dd@compuserve.de> Date: Fri, 02 Feb 2007 14:29:04 +0100 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: de Subject: Fwd: Re: how to add a library path in build.xml? X-Accept-Language: de Content-Type: multipart/mixed; boundary="--3cef1a0665495e2e" X-Virus-Checked: Checked by ClamAV on apache.org ----3cef1a0665495e2e Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: To: "Tomcat Users List" Message-ID: <3ffb11404616.4046163ffb11@compuserve.de> Date: Fri, 02 Feb 2007 13:35:29 +0100 X-Mailer: Netscape Webmail MIME-Version: 1.0 Content-Language: de Subject: Re: how to add a library path in build.xml? X-Accept-Language: de Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I specify the -Djava=2Elibrary=2Epath as follows=3A =3Ctarget name=3D=22runtest=22 depends=3D=22compile=22=3E =3Cecho message=3D=22Loading libraries1=3A =24=7Bjava=2Elibrary=2Epath=7D= =22/=3E = =3Cjava classname=3D=22its=2Eprolog=2ETest=22=3E =3Csysproperty key=3D=22java=2Elibrary=2Epath=22 value=3D=22/opt/pkg/pl/lib/pl-5=2E6=2E6/lib/i686-linux=22/=3E = = =3C/java=3E =3Cecho message=3D=22Loading libraries2=3A =24=7Bjava=2Elibrary=2Epath=7D= =22/=3E and in the clasas its=2Eprolog=2ETest I have this line System=2Eout=2Eprintln(System=2EgetProperty(=22java=2Elibrary=2Epath=22))= =3B which prints out the following java=2Elibrary=2Epath value=3A =2E/opt/pkg/pl/lib/pl-5=2E6=2E6/lib/i686-linux That means the path I specified in build=2Exml associates to my current directory=3F Is something wrong with this path=3F = =3Csysproperty key=3D=22java=2Elibrary=2Epath=22 value=3D=22/opt/pkg/pl/lib/pl-5=2E6=2E6/lib/i686-linux=22/=3E = after the Test class has been run=2C the line =3Cecho message=3D=22Loadin= g libraries2=3A =24=7Bjava=2Elibrary=2Epath=7D=22/=3E prints out the normal java=2Elibrary=2Epath value=3A /usr/lib/j2sdk1=2E5-sun/jre/lib/i386/client=3A/usr/lib/j2sdk1=2E5-sun/jre= /lib/i386=3A/usr/lib/j2sdk1=2E5-sun/jre/=2E=2E/lib/i386 Why is it so=3F Thanks = Gop ----- Originalnachricht ----- Von=3A David Delbecq =3Cdelbd=40oma=2Ebe=3E Datum=3A Freitag=2C 2=2E Februar 2007 1=3A09 pm Betreff=3A Re=3A how to add a library path in build=2Exml=3F =3E For execution classpath=3A =3E http=3A =3E = =3E For compilation classpath=3A =3E http=3A =3E = =3E En l=27instant pr=E9cis du 02/02/07 12=3A43=2C compuin5y313=40compuse= rve=2Ede =3E s=27exprimait en ces termes=3A =3E =3E Dear all=2C =3E =3E =3E =3E I want to run an application which requires a special native = =3E libray as =3E =3E the following error shows=3A = =3E =3E =3E =3E There was 1 error=3A =3E =3E =5Bjava=5D 1) = =3E testQuery(its=2Eprolog=2ETest)java=2Elang=2EUnsatisfiedLinkError=3A=3E= no jpl = =3E in java=2Elibrary=2Epath =3E =3E =5Bjava=5D at = =3E java=2Elang=2EClassLoader=2EloadLibrary(ClassLoader=2Ejava=3A1682)=3E= = =3E =5Bjava=5D at java=2Elang=2ERuntime=2EloadLibrary0(Runtime=2Ejava= =3A822) =3E =3E =5Bjava=5D at java=2Elang=2ESystem=2EloadLibrary(System=2E= java=3A992) =3E =3E = =3E =3E =3E =3E This line tells me what my current library=2Epath is=3A = =3E =3E /usr/lib/j2sdk1=2E5-sun/jre/lib/i386/client=3A/usr/lib/j2sdk1=2E5= - =3E sun/jre/lib/i386=3A/usr/lib/j2sdk1=2E5-sun/jre/=2E=2E/lib/i386 =3E =3E =3E =3E I would like to add a new library path to the current one=2E How = =3E can I =3E =3E specify that in build=2Exml=3F =3E =3E =3E =3E Thank you in advance =3E =3E =3E =3E Gop =3E =3E =3E =3E =3E =3E =3E =3E -----------------------------------------------------------------= - =3E --- =3E =3E To start a new topic=2C e-mail=3A users=40tomcat=2Eapache=2Eorg =3E =3E To unsubscribe=2C e-mail=3A users-unsubscribe=40tomcat=2Eapache=2E= org =3E =3E For additional commands=2C e-mail=3A users-help=40tomcat=2Eapache= =2Eorg =3E =3E =3E =3E = =3E = =3E = =3E -------------------------------------------------------------------- =3E - =3E To start a new topic=2C e-mail=3A users=40tomcat=2Eapache=2Eorg =3E To unsubscribe=2C e-mail=3A users-unsubscribe=40tomcat=2Eapache=2Eorg= =3E For additional commands=2C e-mail=3A users-help=40tomcat=2Eapache=2Eo= rg =3E = =3E ----3cef1a0665495e2e Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ----3cef1a0665495e2e--