tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: src/jakarta-tomcat-connectors/util/build.xml bug with IBM jdk 1.4
Date Sat, 27 Dec 2003 22:53:17 GMT
You should report this as a bug and attach the patch you provided here to 
the bug, otherwise it may get lost in the shuffle.

http://issues.apache.org/bugzilla/

Jake

At 11:33 PM 12/27/2003 +0100, you wrote:
>In data Sat, 27 Dec 2003 19:24:33 +0100
>Gianluca Toso scrisse:
>
> > Problem build tomcat 5.0.16 with IBMJava2-SDK 1.4.1 on intel.
> > "ant" from src abort on src/jakarta-tomcat-connectors/util/build.xml, so I
> > have tried ant from this dir:
>[...]
>
> > /usr/local/src/jakarta-tomcat-5.0.16-src/src/jakarta-tomcat-connectors/ut
> > il/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:105:
> > cannot resolve symbol
> >     [javac] symbol  : class Sun
> >     [javac] location: package provider
> >     [javac]             Security.addProvider (new
> > sun.security.provider.Sun());
>
> > It try to compile JSSE for jdk < 1.4 (JSSE13*) with jdk 1.4 too.
> > I have added:
> >             <exclude name="**/util/net/jsse/JSSE13*" if="jdk1.4.present"
> >             />
> > after:
> >             <exclude name="**/util/net/jsse/JSSE14*"
> >             unless="jdk1.4.present"
> > />
>
>I don't understand why, but it seems to include the support for JDK < 1.4
>even if compiled with JDK 1.4.x
>So I have restored build.xml and modified JSSE13SocketFactory.java in order
>to work with the JDK of IBM.
>
>One of the reasons to compile sources would have to be to be able to choose
>which features to include/to exclude and to obtain optimized "binaries" for
>own system?
>IMHO would be useful one first phase style autoconf or at least one
>explanation on how to make this with ant and the several one
>build.properties.
>What of it you say?  I'm in mistake?
>
>--
>Gianluca Toso
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message