You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/03/14 22:44:07 UTC
incubator-quarks git commit: adapt console.war file locating to
change in eclipse project output dir.
Repository: incubator-quarks
Updated Branches:
refs/heads/master 3bec70e7e -> 97113d85f
adapt console.war file locating to change in eclipse project output dir.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quarks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quarks/commit/97113d85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quarks/tree/97113d85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quarks/diff/97113d85
Branch: refs/heads/master
Commit: 97113d85f6a66bb6ac224c9292d3062a3d7ce291
Parents: 3bec70e
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Mon Mar 14 17:31:36 2016 -0400
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Mon Mar 14 17:31:36 2016 -0400
----------------------------------------------------------------------
console/server/src/main/java/quarks/console/server/ServerUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/97113d85/console/server/src/main/java/quarks/console/server/ServerUtil.java
----------------------------------------------------------------------
diff --git a/console/server/src/main/java/quarks/console/server/ServerUtil.java b/console/server/src/main/java/quarks/console/server/ServerUtil.java
index f945b1e..2c8348a 100644
--- a/console/server/src/main/java/quarks/console/server/ServerUtil.java
+++ b/console/server/src/main/java/quarks/console/server/ServerUtil.java
@@ -87,7 +87,7 @@ public class ServerUtil {
*/
public String getEclipseWarFilePath(ProtectionDomain pDomain, String warFileName) {
URL location = pDomain.getCodeSource().getLocation();
- File topQuarks = new File(location.getPath()).getParentFile().getParentFile().getParentFile();
+ File topQuarks = new File(location.getPath()).getParentFile().getParentFile();
File warFile = new File(topQuarks, "./target/java8/console/webapps/" +warFileName);
if (warFile.exists()) {
return warFile.getAbsolutePath();