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
a307c995
Commit
a307c995
authored
Jan 31, 2019
by
Christopher Jan-Steffen Brix
Browse files
Fix for hashing. Store hash file at correct path
parent
426a6f06
Pipeline
#101579
failed with stages
in 3 minutes and 9 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 @
a307c995
...
...
@@ -201,7 +201,7 @@ public class EMADLGenerator {
byte
cnntHash
[]
=
checksum
(
Paths
.
get
(
cnntPath
));
// This is not the real path to the training data! Adapt accordingly once sub-task 4 is solved
String
componentConfigFilename
=
componentInstance
.
getFullName
().
replaceAll
(
"\\."
,
"/"
);
String
componentConfigFilename
=
componentInstance
.
getComponentType
().
getReferencedSymbol
().
getFullName
().
replaceAll
(
"\\."
,
"/"
);
String
instanceConfigFilename
=
componentInstance
.
getFullName
().
replaceAll
(
"\\."
,
"/"
)
+
"_"
+
componentInstance
.
getName
();
byte
[]
dataHash
=
checksum
(
Paths
.
get
(
architecture
.
get
().
getDataPath
()));
...
...
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