Fixed consequences of Spring config clean-up
* While the server works fine, the tools - which use hardcoded paths to specific parts of the Spring config - were not updated last time. They should work now.
This commit is contained in:
parent
e64f847ec3
commit
fd117f6f7b
6 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ public class CreateSuperuser
|
||||||
|
|
||||||
// Load transaction manager bean
|
// Load transaction manager bean
|
||||||
String[] cfg = {
|
String[] cfg = {
|
||||||
"configuration/transaction-bean.xml"
|
"configuration/transactions.xml"
|
||||||
};
|
};
|
||||||
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class CreateUser
|
||||||
|
|
||||||
// Load transaction manager bean
|
// Load transaction manager bean
|
||||||
String[] cfg = {
|
String[] cfg = {
|
||||||
"configuration/transaction-bean.xml"
|
"configuration/transactions.xml"
|
||||||
};
|
};
|
||||||
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,7 +163,7 @@ public class ImportBuildables
|
||||||
|
|
||||||
// Load Hibernate bean
|
// Load Hibernate bean
|
||||||
String[] cfg = {
|
String[] cfg = {
|
||||||
"configuration/context-configuration.xml" , "configuration/transaction-bean.xml"
|
"configuration/transactions.xml"
|
||||||
};
|
};
|
||||||
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ public class ImportResources
|
||||||
ctx.refresh( );
|
ctx.refresh( );
|
||||||
|
|
||||||
return new ClassPathXmlApplicationContext( new String[] {
|
return new ClassPathXmlApplicationContext( new String[] {
|
||||||
"configuration/transaction-bean.xml"
|
"configuration/transactions.xml"
|
||||||
} , true , ctx );
|
} , true , ctx );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ public class ImportTechs
|
||||||
|
|
||||||
// Load beans
|
// Load beans
|
||||||
String[] cfg = {
|
String[] cfg = {
|
||||||
"configuration/context-configuration.xml" , "configuration/transaction-bean.xml"
|
"configuration/transactions.xml"
|
||||||
};
|
};
|
||||||
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
return new ClassPathXmlApplicationContext( cfg , true , ctx );
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class ImportText
|
||||||
ctx.refresh( );
|
ctx.refresh( );
|
||||||
|
|
||||||
return new ClassPathXmlApplicationContext( new String[] {
|
return new ClassPathXmlApplicationContext( new String[] {
|
||||||
"configuration/transaction-bean.xml"
|
"configuration/transactions.xml"
|
||||||
} , true , ctx );
|
} , true , ctx );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue