View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002087 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2012-05-18 10:29 | 2018-03-02 11:07 |
Reporter | jcfr | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | Slicer 4.6.0 | |||
Summary | 0002087: Configure "vtkSlicerVersionConfigure.h.in" at build time to ensure it's always up-to-date | ||||
Description | If a "svn update" of the source doesn't affect a CMakeLists.txt file, the file vtkSlicerVersionConfigure.h.in won't be configure when Slicer is rebuilt. This is causing problem for either the developer or the case of continuous dashboards. | ||||
Tags | No tags attached. | ||||
In fact dashboard always re-configure the project, it means this affect only the developer. Set target to 4.3. For now the workaround is to run CMake after updating the source. |
|
From Andriy: This is it. The version reported by Slicer (20537) does not match . I thought from the issue report [1] that touching CMakeLists.txt would |
|
Which CMakeLists.txt do I need to touch to reconfigure the version? Touching top-level CMakeLists.txt does not seem to have effect. |
|
Deleting "vtkSlicerVersionConfigure.h" from Slicer-Superbuild/Slicer-build should do it. |
|
yes it is updated now. the problem was because I had git-svn checkout, but was updating with "git pull". "git svn rebase" did the job. |
|
Should I still check on the server or the extension now show up in the extension manager ? |
|
Yes, sorry -- the extensions issue remains. I just had a browser tab open with this report, and wanted to close on the issue of svn version not showing up correctly. Sorry for confusion! |
|
2012-07-17 14:13
|
|
2012-07-17 14:13
|
|
The second time you uploaded the extension, you probably forgot to specify your midas Email and API key .. and it default to a CDash upload. See screenshots attached to the issue. Feel free to create an issue to capture and describe the problem so that warning or error messages are made more descriptive ... |
|
The workaround is to reconfigure the project using CMake. This would be nice to fix - but considering there is a known workaround we think it's low priority right now. Let us know if it is high priority for you or if you would like to help us by contributing a patch. |
|
Fixed in in r25189 to r25192 See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25189 |
|
Import 2017-06-07 23:51:09: master 2a57053e 2016-06-13 20:12:03 Details Diff |
BUG: Ensure vtkSlicerConfigureVersion header is always up-to-date. Fixes 0002087 Since vtkSlicerVersionConfigure.h was only updated at configure time, a source code update that wasn't triggering a reconfigured was causing the content of the header to be out of sync with the current build date and revision. This commit adds the target 'SlicerConfigureVersionHeader' ensuring the version header is always up-to-date. To ensure the file is generated when first needed, a dependency between qSlicerBaseQTCore and SlicerConfigureVersionHeader is added. Co-authored-by: Francois Budin <francois.budin@kitware.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@25190 3bd1e089-480b-0410-8dfb-8563597acbee |
||
add - CMake/SlicerConfigureVersionHeaderTarget.cmake | Diff File | ||
mod - CMakeLists.txt | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-18 10:29 | jcfr | New Issue | |
2012-05-18 10:29 | jcfr | Status | new => assigned |
2012-05-18 10:29 | jcfr | Assigned To | => jcfr |
2012-05-18 10:29 | jcfr | Target Version | => Slicer 4.1.1 |
2012-05-18 10:59 | jcfr | Note Added: 0004497 | |
2012-05-18 11:01 | jcfr | Note Edited: 0004497 | |
2012-05-18 11:01 | jcfr | Target Version | Slicer 4.1.1 => Slicer 4.3.0 |
2012-05-18 11:03 | jcfr | Relationship added | related to 0001989 |
2012-05-18 11:06 | jcfr | Target Version | Slicer 4.3.0 => Slicer 4.2.0 AHM Summer 2012 |
2012-07-17 08:05 | jcfr | Note Added: 0005162 | |
2012-07-17 08:07 | fedorov | Note Added: 0005163 | |
2012-07-17 08:07 | jcfr | Note Added: 0005164 | |
2012-07-17 13:15 | fedorov | Note Added: 0005170 | |
2012-07-17 13:41 | jcfr | Note Added: 0005171 | |
2012-07-17 13:42 | fedorov | Note Added: 0005172 | |
2012-07-17 14:13 | jcfr | File Added: Build-20535-Reporting.png | |
2012-07-17 14:13 | jcfr | File Added: Build-20629-Reporting.png | |
2012-07-17 14:15 | jcfr | Note Added: 0005175 | |
2012-07-17 14:15 | jcfr | Note Edited: 0005175 | |
2012-08-20 10:10 | jcfr | Target Version | Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.2.5 |
2012-08-21 09:40 | jcfr | Target Version | Slicer 4.2.5 => Slicer 4.3.0 |
2013-08-27 11:43 | jcfr | Target Version | Slicer 4.3.0 => Slicer 4.4.0 |
2014-03-07 10:49 | jcfr | Note Added: 0011381 | |
2014-03-07 10:49 | jcfr | Status | assigned => acknowledged |
2014-03-07 10:50 | jcfr | Category | Core: Extensions => Core: Building (CMake, Superbuild) |
2014-03-07 10:50 | jcfr | Target Version | Slicer 4.4.0 => |
2016-06-13 20:15 | jcfr | Note Added: 0013968 | |
2016-06-13 20:15 | jcfr | Status | acknowledged => resolved |
2016-06-13 20:15 | jcfr | Fixed in Version | => Slicer 4.6.0 |
2016-06-13 20:15 | jcfr | Resolution | open => fixed |
2017-06-10 08:51 | jcfr | Changeset attached | => Slicer master 2a57053e |
2018-03-02 11:07 | jcfr | Status | resolved => closed |