View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014205CMakeCMakepublic2013-06-05 08:262013-06-12 05:29
ReporterStefan Groißmeier 
Assigned ToAlex Neundorf 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSDebianOS VersionWheezy 64-bit
Product VersionCMake 2.8.11 
Target VersionFixed in Version 
Summary0014205: Eclipse Generator creates corrupt project files after file(GLOB GLOBAL_HDR ../include/*)
Descriptionafter opening the project file in the build directory, eclipse shows errormessages and stops to import the project.
Steps To Reproducethe list received by
file(GLOB GLOBAL_HDR ../include/*)

includes all directorys, too.
the eclipse generator marks them as files.
Eclipse doesn't like that.
Additional InformationCMake 2.8.1 is generating a correct eclipse project file, while 2.8.7 and 2.8.11 and probably other versions are not.
TagsNo tags attached.
Attached Filesgz file icon cmakeBug0014204Example.tar.gz [^] (564 bytes) 2013-06-10 07:52

 Relationships
related to 0014204closedAlex Neundorf Eclipse Generator creates corrupt project files 

  Notes
(0033243)
Stefan Groißmeier (reporter)
2013-06-05 08:34

the folder in the include directory (.svn for example)
is resulting in a <link> element with <type>1</type> that should be <type>2</type>
(0033246)
Alex Neundorf (developer)
2013-06-05 17:34

Can you attach a sample CMakeLists.txt, which produces that problem ?
IOW, what do you do with the results of that glob ?
(0033264)
Stefan Groißmeier (reporter)
2013-06-10 07:53

attached example project
(0033277)
Alex Neundorf (developer)
2013-06-12 05:29

Fixed and merged into next, same as 0012204.
CMake now checks whether the file is actually a file or a directory, and skips directories.

 Issue History
Date Modified Username Field Change
2013-06-05 08:26 Stefan Groißmeier New Issue
2013-06-05 08:34 Stefan Groißmeier Note Added: 0033243
2013-06-05 17:34 Alex Neundorf Assigned To => Alex Neundorf
2013-06-05 17:34 Alex Neundorf Status new => assigned
2013-06-05 17:34 Alex Neundorf Note Added: 0033246
2013-06-10 07:52 Stefan Groißmeier File Added: cmakeBug0014204Example.tar.gz
2013-06-10 07:53 Stefan Groißmeier Note Added: 0033264
2013-06-12 05:24 Alex Neundorf Relationship added related to 0014204
2013-06-12 05:29 Alex Neundorf Note Added: 0033277
2013-06-12 05:29 Alex Neundorf Status assigned => closed
2013-06-12 05:29 Alex Neundorf Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team