Fix PLAYERGLOBAL_HOME figure out for mxfte theme creation
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/6cad4e41 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/6cad4e41 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/6cad4e41 Branch: refs/heads/master Commit: 6cad4e41f848852ec132631926f93f85b79ecee9 Parents: 9db3e93 Author: Jose Barragan <[email protected]> Authored: Sun Jun 30 22:48:33 2013 +0200 Committer: Jose Barragan <[email protected]> Committed: Sun Jun 30 22:48:33 2013 +0200 ---------------------------------------------------------------------- mavenizer/src/main/java/flex/FlexFrameworkGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/6cad4e41/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java ---------------------------------------------------------------------- diff --git a/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java b/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java index a718803..cd8ed47 100644 --- a/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java +++ b/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java @@ -730,7 +730,7 @@ public class FlexFrameworkGenerator extends BaseGenerator { //final Process child = Runtime.getRuntime().exec(cmd.toString(), envps); ProcessBuilder processBuilder = new ProcessBuilder(processCmd); - processBuilder.environment().put("PLAYERGLOBAL_HOME", new File(new File(themeDirectory.getParentFile().getParentFile(), "libs"), "player").getCanonicalPath()); + processBuilder.environment().put("PLAYERGLOBAL_HOME", new File(new File(frameworkDir, "libs"), "player").getCanonicalPath()); int exitValue = exec(processBuilder.start()); if(exitValue != 0) { System.out.println("Couldn't create theme swc");
