tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject How should we handle the Java files for native?
Date Wed, 16 Sep 2009 16:53:01 GMT
On 16.09.2009 17:24, Mladen Turk wrote:
> On 16/09/09 16:18, Mark Thomas wrote:
>> rjung@apache.org wrote:
>>> Author: rjung
>>> Date: Wed Sep 16 13:24:54 2009
>>> New Revision: 815768
>>>
>>> URL: http://svn.apache.org/viewvc?rev=815768&view=rev
>>> Log:
>>> Sync java parts of tcnative with C part.
>>
>> Do we need the java part here any more? 5.5.x, 6.0.x and trunk all have
>> their own copies.
>>
> 
> Yes, we need the java part as well, at least for
> the tomcat-native-xxx.src. Not sure how Apache Mina
> folks build their suff with tomcat native but I
> suppose by using the source archive.
> 
> However we can modify the dist script to
> pull the java part from the 6.0.x branch so it doesn't
> have to be duplicated.

Hmmm, how are users support to build? Until recently we were using a
build.xml. If we don't include the sources, ant would need to retrieve
them either via svn (for that you need an additional ant library), or
by downloading a tomcat src distribution.

So I guess the latter is the suggested way of doing it.

Furthermore, there were three directories with Java classes for jni:
java, test and examples. Only java made it into the TC 6 sources. The
other two dirs are gone. They are still available in the TC 4.1 and 5.5
sources though.

If we want to get every Java related file for jni from Tomcat, we would
need to add the test and examples files back.

build.xml and build.properties.default might make more sense in native
itself.

Comments?

Regards,

Rainer

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


Mime
View raw message