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



Reply via email to