summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-launcher-equinox/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/node-launcher-equinox/src/main')
-rw-r--r--java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
index 5e7d0c72ad..35dcd9bd5f 100644
--- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
+++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
@@ -607,10 +607,10 @@ final class NodeLauncherUtil {
// initially outside of target/classes, at the root of the project.
if (location.endsWith("/target/classes/")) {
File targetManifest = new File(target, "META-INF/MANIFEST.MF");
- if (!targetManifest.isFile()) {
+ File sourceManifest = new File(target.getParentFile().getParentFile(), "META-INF/MANIFEST.MF");
+ if (!sourceManifest.isFile()) {
return;
}
- File sourceManifest = new File(target.getParentFile().getParentFile(), "META-INF/MANIFEST.MF");
targetManifest.getParentFile().mkdirs();
OutputStream os = new FileOutputStream(targetManifest);
InputStream is = new FileInputStream(sourceManifest);