tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: How should we handle the Java files for native?
Date Wed, 16 Sep 2009 22:49:10 GMT
On 16.09.2009 20:58, Mladen Turk wrote:
> On 16/09/09 18:53, Rainer Jung wrote:
>> 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?
>>
> 
> Sure, we should bring back java/examples and java/test
> The sources do not overlap with Tomcat sources.
> build.xml and properties should be brought back as well.
> They are usable for standalone builds.
> 
> However we should probably create two source packages
> one with jni code only and one with jni + java (eg. src-all)
> for third-party users outside tomcat.
> 
> OTOH one can easily get those files directly from tomcat source.
> But then again, which tomcat src matches which tomcat-native
> src mess would arise.
> So IMO having two source packages should make less trouble.

examples, test and build.* are back and hopefully somewhat improved.

I added "ant download" to native trunk, which retrieves the TC 6 sources
for the version defined in build.properties(.default).

"ant compile" then copies over the needed package.

One can also fake the downloaded Tomcat sources by setting tomcat.src to
the source directory (e.g. when the TC release including Java changes
waits for the native release including native changes, so there's no
correct Tomcat source download yet available).

I didn't yet add the two distributions option to the jnirelease.sh.

I also added two proposals to clean up the TC 5.5 jni copy to the TC 5.5
status file.

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