andreas,
Yes I agree the COMPONENT should be optional, but handled in the same
manner as the install command - in fact if the function is to incorporate the
INSTALL command then we must have a way to pass the same options to the INSTALL
command that the INSTALL command supports. Maybe, we ne
On Thursday 20 October 2011 11:59:05 Allen D Byrne wrote:
> I've upgraded my Java project to the latest 2.8.6 release. The only thing
> missing for me is to allow components on the install commands. I just did
> the following:
Hi Allen,
> function(INSTALL_JAR _TARGET_NAME _DESTINATION _COMPONENT)
I've upgraded my Java project to the latest 2.8.6 release. The only thing
missing for me is to allow components on the install commands.
I just did the following:
In UseJava.cmake (same for INSTALL_JNI_SYMLINK):
function(INSTALL_JAR _TARGET_NAME _DESTINATION)
get_property(__FILES
TA
Andreas,
The proposed command at the end of add_jar will give me a classpath variable
with all the required jars and with the target jar:
set(${_TARGET_NAME}_CLASSPATH
".${CMAKE_JAVA_INCLUDE_PATH_FINAL}/${_TARGET_NAME}.jar" PARENT_SCOPE)
NOTE the use of CMAKE_JAVA_INCLUDE_PATH_FINAL and not
On Saturday 05 February 2011 16:04:15 Allen D Byrne wrote:
> Yes! That is where I meant! (dang email doesn't read minds properly:)
there is already ${_TARGET_NAME}_JAR_FILE which is exactly what you want.
> BTW, I have a problem I couldn't fix. When doing an add_jar with source in
> the current
Yes! That is where I meant! (dang email doesn't read minds properly:)
BTW, I have a problem I couldn't fix. When doing an add_jar with source in the
current dir and resource files (image files) in a sub-directory, the resource
files in the jar are at the class base instead of below.
Example;
W
On Wednesday, January 12, 2011 15:32:08 you wrote:
> Andreas,
> Thanks for providing these files! I have finally been able to progress on
> converting our java product to cmake. I have one suggestion:
>
> Add to the add_java function the classpath for the target;
>
> set(${_TARGET_NAME}_CLASS
Hendrik,
Thanks! I put '"' around the classpath on line 233 of UseJava.cmake file and
windows was happy to compile the sources.
Andreas,
So that makes only two changes to UseJava.cmake, both in the add_jar
function;
Quotes around the ${CMAKE_JAVA_INCLUDE_PATH_FINAL} in line 233 and
ad
Am Freitag, 14. Januar 2011, 16:48:44 schrieb Andreas Schneider:
> On Friday 14 January 2011 16:32:16 you wrote:
> > Andreas,
>
> Hi Allen,
>
> > Thanks, I do have most everything working, setting the version was
> > the
> >
> > key!
> > Concerning the '.' at the beginning of my proposed
Andreas,
The problem is a CMake issue with how ';' is interpreted. In the
USE_JAVA.CMAKE file (lines 227-243):
> if (_JAVA_COMPILE_FILES)
> # Compile the java files and create a list of class files
> add_custom_command(
> TARGET ${_TARGET_NAME}
> COMMAN
On Friday 14 January 2011 16:32:16 you wrote:
> Andreas,
Hi Allen,
> Thanks, I do have most everything working, setting the version was the
> key!
> Concerning the '.' at the beginning of my proposed patch, I added that
> because the CMAKE_JAVA_INCLUDE_PATH_FINAL started with a seperator and
On Wednesday 12 January 2011 15:32:08 Allen D Byrne wrote:
> Andreas,
Hi Allen,
> Thanks for providing these files! I have finally been able to progress on
> converting our java product to cmake. I have one suggestion:
>
> Add to the add_java function the classpath for the target;
>
> set($
On Wednesday 12 January 2011 15:32:08 Allen D Byrne wrote:
> Andreas,
> Thanks for providing these files! I have finally been able to progress on
> converting our java product to cmake. I have one suggestion:
>
> Add to the add_java function the classpath for the target;
>
> set(${_TARGET_NAM
On Tuesday 11 January 2011 11:38:09 Andreas Schneider wrote:
> Hello CMake,
>
> my name is Andreas Schneider and I'm working for Red Hat. At the end of
> last year I've worked on Dogtag PKI [1]. The Dogtag Certificate System [2]
> is an enterprise-class open source Certificate Authority.
>
> The
Andreas,
Thanks for providing these files! I have finally been able to progress on
converting our java product to cmake.
I have one suggestion:
Add to the add_java function the classpath for the target;
set(${_TARGET_NAME}_CLASSPATH
".${CMAKE_JAVA_INCLUDE_PATH_FINAL}/${_TARGET_NAME}.jar" PA
2011/1/11 Andreas Schneider :
> On Tuesday 11 January 2011 16:01:14 Andrea Galeazzi wrote:
>> Hi Andreas,
>
> Hi Andrea,
>
>> I'm a dyed-in-the-wool Java developer (and also Fedora user) so it makes
>> me very happy to know that someone are working to integrate Java in
>> CMake. My question is: sho
> On Tuesday 11 January 2011 16:01:14 Andrea Galeazzi wrote:
> > Hi Andreas,
>
> Hi Andrea,
>
> > I'm a dyed-in-the-wool Java developer (and also Fedora user) so it makes
> > me very happy to know that someone are working to integrate Java in
> > CMake. My question is: shouldn't Ant be enough? Or
On Tuesday 11 January 2011 16:01:14 Andrea Galeazzi wrote:
> Hi Andreas,
Hi Andrea,
> I'm a dyed-in-the-wool Java developer (and also Fedora user) so it makes
> me very happy to know that someone are working to integrate Java in
> CMake. My question is: shouldn't Ant be enough? Or better, Could
>
Andreas Schneider ha scritto:
Hello CMake,
my name is Andreas Schneider and I'm working for Red Hat. At the end of last
year I've worked on Dogtag PKI [1]. The Dogtag Certificate System [2] is an
enterprise-class open source Certificate Authority.
The project is written in serveral different
Hello CMake,
my name is Andreas Schneider and I'm working for Red Hat. At the end of last
year I've worked on Dogtag PKI [1]. The Dogtag Certificate System [2] is an
enterprise-class open source Certificate Authority.
The project is written in serveral different laguages (C, C++ and Java), so
On Friday 22 January 2010 1:37:50 pm David Cole wrote:
> If you are a Java guru, I would appreciate your review and comments on this
> issue, which has been in our issue tracker for a while now. If you have a
> good suggestion for the best way to fix it, I would love to hear it.
>
> http://public.
You should have a CLASSPATH environment variable set so java knows
where to find the jar files when running.
sort of similar to the LD_LIBRARY_PATH when running a C/C++
application.
Mike Jackson
Sent from my iPod
On Jan 22, 2010, at 22:18, Alex Brandt wrote:
On Friday 22 January 2010 9
On Friday 22 January 2010 9:03:23 pm Alain Leblanc wrote:
> The jar file containing LDAPReferralException (probably
> /usr/share/jldap/lib/ldap.jar) must be included in your CLASSPATH
> variable. This is a basic java issue. Nothing to do with cmake.
> _
On 01/22/2010 08:47 PM, Alex Brandt wrote:
> On Friday 22 January 2010 2:26:58 pm you wrote:
>
>> What specific problems are you having with your Java code?
>> ___
>> Mike Jackson www.bluequartz.net
>> Principal Softwar
On Friday 22 January 2010 2:26:58 pm you wrote:
> What specific problems are you having with your Java code?
> ___
> Mike Jackson www.bluequartz.net
> Principal Software Engineer mike.jack...@bluequartz.net
> BlueQua
What specific problems are you having with your Java code?
___
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jack...@bluequartz.net
BlueQuartz Software Dayton, Ohio
On Jan 22, 2010
On Fri, Jan 22, 2010 at 1:42 PM, Alex Brandt wrote:
> I know that support exists in CMake 2.8, but I can't find any documentation
> for it or a statement about the status of it. I've started looking into
> the
> following files:
>
> /usr/share/cmake/Modules/FindJava.cmake
> /usr/share/cmake/Modu
I know that support exists in CMake 2.8, but I can't find any documentation
for it or a statement about the status of it. I've started looking into the
following files:
/usr/share/cmake/Modules/FindJava.cmake
/usr/share/cmake/Modules/CMakeDetermineJavaCompiler.cmake
/usr/share/cmake/Modules/CMa
28 matches
Mail list logo