The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14500 
====================================================================== 
Reported By:                hadim
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14500
Category:                   Modules
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-10-21 09:08 EDT
Last Modified:              2013-10-21 09:08 EDT
====================================================================== 
Summary:                    UseJava.cmake add_jar() resource files: specify
relative path
Description: 
I didn't find a clean way to specify path for resource files. For example I have
a file called ./a/path/text_linux.config and I would like to add it at the
source of the jar file (if I also can rename it, it will be awesome !).

add_jar(MY_TARGET
        SOURCES ${source_files}
                ./a/path/text_linux.config 

        INCLUDE_JARS ${some_jars})

In the generated jar file, my resource file is under ./a/path/text_linux.config
and I would like to have it under ./text.config for example.

Any idea ?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-10-21 09:08 hadim          New Issue                                    
======================================================================

--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to