[cmake-developers] [CMake 0013355]: UseJava ignores resources without extensions

Mantis Bug Tracker mantis at public.kitware.com
Wed Jun 27 14:17:03 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13355 
====================================================================== 
Reported By:                Marcin Wojdyr
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13355
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-06-27 14:17 EDT
Last Modified:              2012-06-27 14:17 EDT
====================================================================== 
Summary:                    UseJava ignores resources without extensions
Description: 
Resource files that have no filename extension are ignored.

Steps to Reproduce: 
With this CMakeLists.txt:

cmake_minimum_required(VERSION 2.8.6)
find_package(Java)
include(UseJava)
project(foo Java)
add_jar(foo foo.java res1.txt res2)

file 'res2' will be ignored and not included in jar.

Additional Information: 
Any workaround would be welcome.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-27 14:17 Marcin Wojdyr  New Issue                                    
======================================================================




More information about the cmake-developers mailing list