[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-07-02 Thread David Graf
** Changed in: zorba Status: Confirmed = Incomplete ** Changed in: zorba Assignee: Chris Hillery (ceejatec) = David Graf (davidagraf) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba.

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-07-02 Thread Chris Hillery
FYI - Incomplete means that the bug report itself is incomplete (ie, the reporter needs to provide more information), not that the work is incomplete. Moving back to Confirmed. Thanks for working on this. ** Changed in: zorba Status: Incomplete = Confirmed -- You received this bug

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-14 Thread David Graf
Hey Chris I made merge proposals. I implemented everything in cmake. Because it is less lines of code :-). I am wondering if the same should be done here: swig/java/CMakeLists.txt What do you think? -- You received this bug notification because you are a member of Zorba Coders, which is the

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-14 Thread Chris Hillery
If it makes sense in the modules, it probably makes sense in Zorba core as well, I think, yes. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hello Chris You can close this bug. We don't have this problem anymore. The java modules are working properly on Ubuntu 12.04 since a while. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread Chris Hillery
Not sure how to mark this - don't know if we actually fixed it or not (although we probably did). But, I'll just go with Invalid. ** Changed in: zorba Status: New = Invalid -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba.

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hello Chris, Unfortunately, telling you to close the bug was a bad idea. This morning, I found an additional issue. When compiling zorba or sausalito on a clean ubuntu 12.04, I get this: -- --- Module: util-jvm--- -- Looking for JNI -- Looking for Java -- Building Zorba without util-jvm

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread Chris Hillery
In order: 0) It certainly makes sense to consolidate on a single FindJNI.cmake, if in fact we need our own at all. The right place for it is in util-jvm. It will be necessary to ensure that other modules use that version as well, probably by extending the util-jvm use file to extend

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hey Chris (Also - what was the reason you changed JAVA_AWT_INCLUDE_DIRECTORIES to JAVA_AWT_INCLUDE_PATH? That doesn't seem to make sense.) That's a typo. Thanks for telling me. 2) I don't like these changes, although I'm not sure of the alternative. IMHO the existing FindJNI code with all of

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hey Chris After reading your last comments, I decided to bypass the problem differently. Without changing FindJNI.cmake. I generate the JAVA_HOME variable with a bash script and set it before searching the JNI stuff. Here is the code: 1 === modified file

Re: [Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread Chris Hillery
I like your solution too. Could you propose that for merging into the main util-jvm module? One minor suggestion: generate-java-home.sh should start with a #!/bin/sh shebang line, I think. One question: is $(which java)/../.. always JAVA_HOME? Could it be different if you only have the JRE

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-12 Thread Dana Florescu
** Changed in: zorba Importance: Undecided = High -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490 Title: on ubuntu 12.04, Java and/or JNI not found Status in Zorba - The XQuery