From owner-freebsd-java Sun Jan 13 21: 9:48 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 5835137B41D for ; Sun, 13 Jan 2002 21:09:44 -0800 (PST) Received: from nc.rr.com ([24.25.11.14]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sun, 13 Jan 2002 23:12:26 -0500 Message-ID: <3C425AAA.392FDE8B@nc.rr.com> Date: Sun, 13 Jan 2002 23:12:27 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.5-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Compiling latest Jakarta 4.0.1 fails with 'not found in import' ... References: <20020113234528.I17183-100000@earth.hub.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 I think your problem is the jsse.home is set using a dash and the actual path is without the dash. jsse.home should be ${base.path}/jsse1.0.2 Just going by what you wrote... see if that is it. later MeM # ----- Java Secure Sockets Extension (JSSE), version 1.0.2 or later ----- jsse.home=${base.path}/jsse-1.0.2 jsse.lib=${jsse.home}/lib jcert.jar=${jsse.lib}/jcert.jar jnet.jar=${jsse.lib}/jnet.jar jsse.jar=${jsse.lib}/jsse.jar reilly2001# ls -lt /usr/local/jsse1.0.2/lib/ total 476 -rw-r--r-- 1 root wheel 463471 Aug 1 2000 jsse.jar -rw-r--r-- 1 root wheel 7637 Aug 1 2000 jcert.jar -rw-r--r-- 1 root wheel 3098 Aug 1 2000 jnet.jar "Marc G. Fournier" wrote: > Nice and simple, probably ... I *think* I've followed the instructions > pretty much to the letter, have everything installed from ports that can > be, downloaded the rest ... modifed build.properties for where everything > is, but when I'm doing an 'ant dist', I'm getting: > > build-main: > [javac] Compiling 4 source files to /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/build/server/classes > [javac] Compiling 5 source files to /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/build/server/classes > [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:71: Class javax.net.ServerSocketFactory not found in import. > [javac] import javax.net.ServerSocketFactory; > [javac] ^ > [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:72: Class javax.net.ssl.SSLServerSocket not found in import. > [javac] import javax.net.ssl.SSLServerSocket; > [javac] ^ > [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:73: Class javax.net.ssl.SSLSocket not found in import. > [javac] import javax.net.ssl.SSLSocket; > [javac] ^ > > > There are a total of 36 errors ... > > I can do searches for this stuff using find, and the various packages > appear to be installed: > > reilly2001# find /usr/local -name "*SSLServerSocket*" -print > /usr/local/jsse1.0.2/doc/apidoc/javax/net/ssl/SSLServerSocket.html > /usr/local/jsse1.0.2/doc/apidoc/javax/net/ssl/SSLServerSocketFactory.html > /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java > > And, according to build.properties, I believe things are set right: > > # ----- Java Secure Sockets Extension (JSSE), version 1.0.2 or later ----- > jsse.home=${base.path}/jsse-1.0.2 > jsse.lib=${jsse.home}/lib > jcert.jar=${jsse.lib}/jcert.jar > jnet.jar=${jsse.lib}/jnet.jar > jsse.jar=${jsse.lib}/jsse.jar > > reilly2001# ls -lt /usr/local/jsse1.0.2/lib/ > total 476 > -rw-r--r-- 1 root wheel 463471 Aug 1 2000 jsse.jar > -rw-r--r-- 1 root wheel 7637 Aug 1 2000 jcert.jar > -rw-r--r-- 1 root wheel 3098 Aug 1 2000 jnet.jar > > Yet it can't find it? > > Help? > > Thanks ... > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message