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
b03b3917
Commit
b03b3917
authored
Jan 31, 2019
by
Hoda Anvari Kazemabad
Browse files
Update EMADLGenerator.java
parent
c6a60287
Pipeline
#101631
failed with stages
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/emadl/generator/EMADLGenerator.java
View file @
b03b3917
...
...
@@ -356,7 +356,9 @@ public class EMADLGenerator {
EMADLCocos
.
checkAll
(
componentInstanceSymbol
);
if
(
architecture
.
isPresent
()){
String
dPath
=
DataPathConfigParser
.
getDataPath
(
getModelsPath
()
+
"data_paths.txt"
,
componentSymbol
.
getFullName
());
DataPathConfigParser
newParserConfig
=
new
DataPathConfigParser
(
getModelsPath
()
+
"ConfigChainAutomation.properties"
);
String
dPath
=
newParserConfig
.
getDataPath
(
componentSymbol
.
getFullName
());
/*String dPath = DataPathConfigParser.getDataPath(getModelsPath() + "data_paths.txt", componentSymbol.getFullName());*/
architecture
.
get
().
setDataPath
(
dPath
);
architecture
.
get
().
setComponentName
(
componentSymbol
.
getFullName
());
generateCNN
(
fileContents
,
taggingResolver
,
componentInstanceSymbol
,
architecture
.
get
());
...
...
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