Author: ssmiweve
Date: 2009-07-16 16:13:05 +0200 (Thu, 16 Jul 2009)
New Revision: 7239
Modified:
branches/2.18/mojo/src/main/java/no/sesat/mojo/DeploySesatWarfilesMojo.java
Log:
serverDeployLocation bugfix: system property was never taking effect
Modified:
branches/2.18/mojo/src/main/java/no/sesat/mojo/DeploySesatWarfilesMojo.java
===================================================================
--- branches/2.18/mojo/src/main/java/no/sesat/mojo/DeploySesatWarfilesMojo.java
2009-07-14 13:24:14 UTC (rev 7238)
+++ branches/2.18/mojo/src/main/java/no/sesat/mojo/DeploySesatWarfilesMojo.java
2009-07-16 14:13:05 UTC (rev 7239)
@@ -1,5 +1,5 @@
/*
- * Copyright (2007) Schibsted ASA
+ * Copyright (2007-2009) Schibsted ASA
* This file is part of SESAT.
*
* SESAT is free software: you can redistribute it and/or modify
@@ -88,6 +88,8 @@
private static final String DRY_RUN = "sesat.mojo.dryRun";
+ private static final String SERVER_DEPLOY_LOCATION =
"sesat.mojo.serverDeployLocation";
+
// Attributes ----------------------------------------------------
private PlexusContainer container;
@@ -465,7 +467,9 @@
if(null != profile){
- final String serverDeployLocation =
project.getProperties().getProperty("serverDeployLocation");
+ final String serverDeployLocation = System.getProperty(
+ SERVER_DEPLOY_LOCATION,
+
project.getProperties().getProperty("serverDeployLocation"));
final String protocol = serverDeployLocation.substring(0,
serverDeployLocation.indexOf(':'));
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits