Spaces in path to logFile cause ws_ant script to fail
-----------------------------------------------------

                 Key: MWAS-46
                 URL: http://jira.codehaus.org/browse/MWAS-46
             Project: Maven 2.x WebSphere 6 Plugin
          Issue Type: Sub-task
    Affects Versions: 1.1.1
         Environment: windows
            Reporter: Mike Coleman
            Assignee: David J. M. Karlsen
            Priority: Minor


Quotes are not added to the path to the log file I used in a wsInstallApp 
script.

The path to my project is: C:\Documents and 
Settings\username\Workspaces\MyEclipse 7.1 Blue Edition\TestMavenEar

The POM has a logFile configured as:
<logFile>${project.build.directory}/was6-maven-plugin/debug.log</logFile>

Output from the executed task is shown below. Notice that the parameter for 
-logFile when executing the command-line does not contain quotes.

[DEBUG] Configuring mojo 
'org.codehaus.mojo:was6-maven-plugin:1.1.1-SNAPSHOT:installApp' with basic 
configurator -->
[DEBUG]   (f) applicationName = TestMavenEar-0.0.1-SNAPSHOT
[DEBUG]   (f) conntype = RMI
[DEBUG]   (f) earFile = C:\Documents and Settings\username\Workspaces\MyEclipse 
7.1 Blue Edition\TestMavenEar\target\TestMavenEar-0.0.1-SNAPSHOT.ear
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) host = MYCOMPUTER
[DEBUG]   (f) logFile = C:\Documents and Settings\username\Workspaces\MyEclipse 
7.1 Blue Edition\TestMavenEar\target\was6-maven-plugin\debug.log
[DEBUG]   (f) mavenProject = MavenProject: 
com.anixter.test:TestMavenEar:0.0.1-SNAPSHOT @ C:\Documents and 
Settings\username\Workspaces\MyEclipse 7.1 Blue Edition\TestMavenEar\pom.xml
[DEBUG]   (f) password = password
[DEBUG]   (f) port = 2809
[DEBUG]   (f) profileName = MyAppSrv01
[DEBUG]   (f) settings = org.apache.maven.settings.setti...@9be2b5
[DEBUG]   (f) skip = false
[DEBUG]   (f) targetCell = MYCOMPUTERNode02Cell
[DEBUG]   (f) targetNode = MYCOMPUTERNode02
[DEBUG]   (f) targetServer = server1
[DEBUG]   (f) updateExisting = false
[DEBUG]   (f) username = admin
[DEBUG]   (f) verbose = true
[DEBUG]   (f) wasHome = C:\Program Files\IBM\SDP70\runtimes\base_v61
[DEBUG]   (f) workingDirectory = C:\Documents and 
Settings\username\Workspaces\MyEclipse 7.1 Blue 
Edition\TestMavenEar\target\was6-maven-plugin
[DEBUG] -- end configuration --
[INFO] [was6:installApp]
[DEBUG] Setting context classloader for plugin to: 
/plugins/org.codehaus.mojo:was6-maven-plugin:1.1.1-snaps...@48/thread:main 
(instance is: 
ClassRealm[/plugins/org.codehaus.mojo:was6-maven-plugin:1.1.1-snaps...@48/thread:main,
 parent: ClassRealm[plexus.core, parent: null]])
[DEBUG] The resource 'build.xml' found using the 
org.codehaus.plexus.resource.loader.threadcontextclasspathresourceloa...@15a94f.
[DEBUG] Executing command line: cmd.exe /X /C ""C:\Program 
Files\IBM\SDP70\runtimes\base_v61\bin\ws_ant.bat" -buildfile "C:\Documents and 
Settings\username\Workspaces\MyEclipse 7.1 Blue 
Edition\TestMavenEar\target\was6-maven-plugin\was6plugin-build.1247236962579.xml"
 -logfile C:\Documents and Settings\username\Workspaces\MyEclipse 7.1 Blue 
Edition\TestMavenEar\target\was6-maven-plugin\debug.log -verbose -debug 
wsInstallApp"
[INFO] Apache Ant version 1.6.5 compiled on June 2 2005
[INFO] Apache Ant version 1.6.5 compiled on June 2 2005
[INFO] Buildfile: C:\Documents and Settings\username\Workspaces\MyEclipse 7.1 
Blue 
Edition\TestMavenEar\target\was6-maven-plugin\was6plugin-build.1247236962579.xml
[INFO] Return code: 0


-- 
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


Reply via email to