1
0
-1
1 answer
- 210
I got it fixed doing this :
public Object execute(Map props) {...
AppDefinition appDef = (AppDefinition) props.get("appDef");Add your comment...
I got it fixed doing this :
public Object execute(Map props) {...
AppDefinition appDef = (AppDefinition) props.get("appDef");
Hi there,
I use next code to get an envrironment value :
AppDefinition appDef = (AppDefinition) getProperty("appDefinition");ApplicationContext appContext = AppUtil.getApplicationContext();
EnvironmentVariableDao environmentVariableDao = (EnvironmentVariableDao) appContext.getBean("environmentVariableDao");
EnvironmentVariable archiveRepository = environmentVariableDao.loadById("archiveRepository", appDef);
I have 2 versions of my App on my computer (version 1 and 2). When version 2 is published I get the variable of my unpublished version 1 ...
Any idea of what could it be ?
Cheers,
Matthieu.