Changeset 13696
- Timestamp:
- Oct 8, 2019 2:26:04 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev-mo-2265/Compiler/ModelicaCompiler/src/jastadd/ModelicaCompiler.jrag
r13686 r13696 2198 2198 protected Path ModelicaCompiler.packUnit(String className, 2199 2199 TargetObject target, FClass fClass) throws PackingFailedException { 2200 2201 2200 Path unitFile = fClass.root().getUtilInterface().getCompilationOutputPath().toPath(); 2202 2201 2203 2202 hookPackFmu(fClass, outDir); 2204 2203 hookCheckAbort(); 2204 packUnit(className, target, fClass, unitFile); 2205 hookFmuPacked(fClass, unitFile.toAbsolutePath().toFile()); 2206 2207 return unitFile; 2208 } 2209 2210 private void ModelicaCompiler.packUnit(String className, TargetObject target, FClass fClass, Path unitFile) { 2205 2211 try { 2206 2212 copySourceFiles(fClass, sourceDir, outDir); … … 2212 2218 throw new PackingFailedException(String.format("Could not write to '%s'.", unitFile), e); 2213 2219 } 2214 2215 hookFmuPacked(fClass, unitFile.toAbsolutePath().toFile());2216 return unitFile;2217 2220 } 2218 2221
Note: See TracChangeset
for help on using the changeset viewer.