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:
Emmanuel BENOîT 2012-02-07 19:40:57 +01:00
parent e64f847ec3
commit fd117f6f7b
6 changed files with 6 additions and 6 deletions

View file

@ -43,7 +43,7 @@ public class CreateSuperuser
// Load transaction manager bean
String[] cfg = {
"configuration/transaction-bean.xml"
"configuration/transactions.xml"
};
return new ClassPathXmlApplicationContext( cfg , true , ctx );
}

View file

@ -48,7 +48,7 @@ public class CreateUser
// Load transaction manager bean
String[] cfg = {
"configuration/transaction-bean.xml"
"configuration/transactions.xml"
};
return new ClassPathXmlApplicationContext( cfg , true , ctx );
}

View file

@ -163,7 +163,7 @@ public class ImportBuildables
// Load Hibernate bean
String[] cfg = {
"configuration/context-configuration.xml" , "configuration/transaction-bean.xml"
"configuration/transactions.xml"
};
return new ClassPathXmlApplicationContext( cfg , true , ctx );
}

View file

@ -77,7 +77,7 @@ public class ImportResources
ctx.refresh( );
return new ClassPathXmlApplicationContext( new String[] {
"configuration/transaction-bean.xml"
"configuration/transactions.xml"
} , true , ctx );
}

View file

@ -121,7 +121,7 @@ public class ImportTechs
// Load beans
String[] cfg = {
"configuration/context-configuration.xml" , "configuration/transaction-bean.xml"
"configuration/transactions.xml"
};
return new ClassPathXmlApplicationContext( cfg , true , ctx );
}

View file

@ -70,7 +70,7 @@ public class ImportText
ctx.refresh( );
return new ClassPathXmlApplicationContext( new String[] {
"configuration/transaction-bean.xml"
"configuration/transactions.xml"
} , true , ctx );
}