"Gianluca Toso" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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.
>

Well, the reason is that the binary release version of Tomcat shouldn't
depend on SDK version that it was compiled with.  Don't bother with Jacob's
recommendation to submit it to Bugzilla, since I will resolve it as WONTFIX.
It is easy enough to include the JDK 1.3 classes in the build, and they
won't be used in a 1.4 environment.

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to