merge #131 - Fixing examples on windows
This commit is contained in:
commit
806b9d7e3f
|
@ -98,14 +98,14 @@ public class ActiveMQBootstrap
|
|||
{
|
||||
//extendPluginClasspath(configurationDir);
|
||||
configuration = new FileConfiguration();
|
||||
File file = new File(configurationDir + "/" + "activemq-configuration.xml");
|
||||
File file = new File(new File(configurationDir), "activemq-configuration.xml");
|
||||
jmsFileConfiguration = new FileJMSConfiguration();
|
||||
FileDeploymentManager deploymentManager = new FileDeploymentManager(file.toURI().toURL().toExternalForm());
|
||||
FileDeploymentManager deploymentManager = new FileDeploymentManager(file.toURI().toString());
|
||||
deploymentManager.addDeployable((FileConfiguration)configuration);
|
||||
deploymentManager.addDeployable((FileJMSConfiguration) jmsFileConfiguration);
|
||||
|
||||
securityConfiguration = new FileSecurityConfiguration("file://" + configurationDir + "/" + "activemq-users.properties",
|
||||
"file://" + configurationDir + "/" + "activemq-roles.properties",
|
||||
securityConfiguration = new FileSecurityConfiguration(new File(configurationDir, "activemq-users.properties").toURI().toString(),
|
||||
new File(configurationDir, "activemq-roles.properties").toURI().toString(),
|
||||
"guest",
|
||||
false,
|
||||
null);
|
||||
|
|
Loading…
Reference in New Issue