Skip to content

Commit 6585005

Browse files
Implemented extraction of features (aka. variables) without a feature model
1 parent adaa5cd commit 6585005

8 files changed

Lines changed: 8 additions & 10 deletions

File tree

docker-resources/extraction_generic.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ code.extractor.files =
6969
code.extractor.file_regex = .*\\.(c|h|cpp|hpp)
7070
code.extractor.threads = 10
7171
code.extractor.invalid_condition = TRUE
72-
code.extractor.handle_linux_macros = false
72+
code.extractor.handle_linux_macros = true
7373
code.extractor.fuzzy_parsing = true
7474

7575

Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
79bf55b20138ddaffb38f5609dad71e2
1+
e3be0360c24b79e60cf3aab64db2895e
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dcb2dceb271dc7ec176710453a5e051196ab7819
1+
18f5eb7b5ed29e0d5d7d3d2a4e2b1481eb6d4cd3

local-maven-repo/net/ssehub/kernel_haven/fe_analysis/maven-metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<versions>
88
<version>1.0.0</version>
99
</versions>
10-
<lastUpdated>20220621071653</lastUpdated>
10+
<lastUpdated>20220621115809</lastUpdated>
1111
</versioning>
1212
</metadata>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bf8162594dc7dd66c312b06bb639eaa7
1+
069ff94616f362bcd0f97781276906af
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
50829c7e60af4ced338a928ef78a413b75cf7b11
1+
6cc1f5026e2e3d1a35fda96b52130fd6f376d9f3

src/main/java/org/variantsync/vevos/extraction/AnalysisTask.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ private void moveResultsToDirectory(File workDir, Path pathToTargetDir, RevCommi
201201

202202
LOGGER.logStatus("Moving VARIABLES file to common output directory.");
203203
if(moveVariablesFile(outputDir, data_collection_dir)) {
204-
if (fullExtraction) {
205-
LOGGER.logWarning("Moving VARIABLES failed. It is likely that no information about the features in the feature model was extracted.");
206-
}
204+
LOGGER.logError("Moving VARIABLES failed. It is likely that no information about the existing features was extracted.");
207205
}
208206

209207
// Move the cache of the extractors to the collected output directory
@@ -336,7 +334,7 @@ private static boolean moveFilterCount(File outputDir, File targetDir) {
336334
}
337335

338336
private static boolean moveVariablesFile(File outputDir, File targetDir) {
339-
return moveOutputFile(outputDir, targetDir, "VARIABLES.txt", "VARIABLES.txt", true);
337+
return moveOutputFile(outputDir, targetDir, "VARIABLES.txt", "VARIABLES.txt", false);
340338
}
341339

342340
private void createBlocker(File dir) {

0 commit comments

Comments
 (0)