Skip to content

Commit 125d120

Browse files
authored
Merge branch 'master' into wdt_issue_246
2 parents 483bd2c + c7ded8d commit 125d120

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/python/wlsdeploy/tool/create/domain_creator.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,12 @@ def __create_domain(self):
345345
self.library_helper.install_domain_libraries()
346346
self.library_helper.extract_classpath_libraries()
347347
self.wlsroles_helper.process_roles()
348+
if os.environ.has_key('__WLSDEPLOY_STORE_MODEL__'):
349+
os.makedirs(self.model_context.get_domain_home() + os.sep + 'wlsdeploy')
350+
fh = open(self.model_context.get_domain_home() + os.sep + 'wlsdeploy' + os.sep + 'domain_model.json', 'w')
351+
fh.write(str(self.model.get_model()))
352+
fh.close()
353+
348354
self.logger.exiting(class_name=self.__class_name, method_name=_method_name)
349355
return
350356

0 commit comments

Comments
 (0)