Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMADL2CPP
Commits
3c4ca5bc
Commit
3c4ca5bc
authored
Apr 27, 2019
by
Nicola Gatto
Browse files
Set data path to default value if not given
parent
aa7af2ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/emadl/generator/EMADLGenerator.java
View file @
3c4ca5bc
...
...
@@ -370,7 +370,9 @@ public class EMADLGenerator {
DataPathConfigParser
newParserConfig
=
new
DataPathConfigParser
(
getModelsPath
()
+
"data_paths.txt"
);
dPath
=
newParserConfig
.
getDataPath
(
EMAComponentSymbol
.
getFullName
());
}
else
{
Log
.
warn
(
"No data path definition found in "
+
dataPathDefinition
+
" found: No generation of data loader"
);
Log
.
warn
(
"No data path definition found in "
+
dataPathDefinition
+
" found: "
+
"Set data path to default ./data path"
);
dPath
=
"data"
;
}
/*String dPath = DataPathConfigParser.getDataPath(getModelsPath() + "data_paths.txt", componentSymbol.getFullName());*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment