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
17 matches
Mail list logo