MantisBT - CMake
View Issue Details
0014500CMakeModulespublic2013-10-21 09:082016-06-10 14:31
hadim 
Kitware Robot 
normalmajorhave not tried
closedmoved 
CMake 2.8.12 
 
0014500: UseJava.cmake add_jar() resource files: specify relative path
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 ?
No tags attached.
Issue History
2013-10-21 09:08hadimNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042398
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042398)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.