On Thu, Oct 29, 2009 at 10:20 AM, Modestas Vainius <modes...@vainius.eu> wrote:
> Hello,
>
> On ketvirtadienis 29 Spalis 2009 10:29:15 Mathieu Malaterre wrote:
>> FindJNI.cmake stopped working for me at some point (during transition
>> of *official* cmake 2.6.4 -> *official* cmake 2.8rc4), this means it
>> affect your patched cmake 2.6.4 on debian.
>>
>> if you want to reproduce on debian:
>>
>> $ apt-get install gcj-4.4-jdk openjdk-6-jdk
>> $ cat CMakeLists.txt
>> FIND_PACKAGE(JNI REQUIRED)
>> $ cmake .
>> $ grep JAVA_INCLUD *
>> CMakeCache.txt:JAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java-1.5.0-gcj-4.4/inclu
>> de
>>  CMakeCache.txt:JAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java-6-openjdk/include
>>
>> This is now producing a mixture of gcj and openjdk, which is not a
>> desired behavior.
>> Thanks for fixing this. If you need more info please let me know.
>
> I'm so tired of this java mess... Apparently, you have a particular interest
> in this jvm stuff, why do not you just post a patch?

I did ! But you decided my patch was not as good (*), so you decided
to write yours. I am not going to fix your code.

If you are not going to fix your code, please revert to official cmake
2.6.4/FindJNI.cmake. VTK on debian is using my patch(*) and is working
ok so far.

Thank you,
-- 
Mathieu
(*)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544674
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to