[
http://jira.codehaus.org/browse/MAPPASM-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254649#action_254649
]
Carsten Madsen commented on MAPPASM-103:
----------------------------------------
Index: main/java/org/codehaus/mojo/appassembler/daemon/script/Platform.java
===================================================================
--- main/java/org/codehaus/mojo/appassembler/daemon/script/Platform.java
(revision 13513)
+++ main/java/org/codehaus/mojo/appassembler/daemon/script/Platform.java
(working copy)
@@ -334,7 +334,7 @@
{
if ( isWindows )
{
- String envScriptPath = "%BASEDIR%\\bin\\" + envSetupFileName +
".bat";
+ String envScriptPath = "\"%BASEDIR%\\bin\\" + envSetupFileName
+ ".bat\"";
envSetup = "if exist " + envScriptPath + " call " +
envScriptPath;
}
> whitespace in BASEDIR causes call %BASEDIR%\bin\app-env.bat to fail
> -------------------------------------------------------------------
>
> Key: MAPPASM-103
> URL: http://jira.codehaus.org/browse/MAPPASM-103
> Project: Mojo AppAssembler Plugin
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: Windows/BAT
> Reporter: Carsten Madsen
>
> Whitespace(s) in BASEDIR causes call %BASEDIR%\bin\app-env.bat to fail.
> This can be fixed by using "" in the generated bat file
> :repoSetup
> if exist %BASEDIR%\bin\app-env.bat call %BASEDIR%\bin\app-env.bat
> should be
> :repoSetup
> if exist "%BASEDIR%\bin\app-env.bat" call "%BASEDIR%\bin\app-env.bat"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email