This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 164899

Summary: Can't deploy to Tomcat because path to mvn.bat is improperly escaped
Product: projects Reporter: nriley <nriley>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: VERIFIED DUPLICATE    
Severity: blocker Keywords: SPACE_IN_PATH
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description nriley 2009-05-12 04:56:25 UTC
NetBeans: Executing 'cmd /c C:\Program Files (x86)\Maven\bin\mvn.bat -Dnetbeans.deploy=true -Ddspace.config=C:/Documents
and Settings/njriley/DSpace/config/dspace.cfg -Dnetbeans.execution=true package'
NetBeans:      JAVA_HOME =C:\Program Files (x86)\Java\jdk1.6.0_14
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Building with this copy of Maven works fine in NetBeans 6.7; both building and deploying with the same copy of Maven
work fine in NetBeans 6.5.
Comment 1 Milos Kleint 2009-05-12 09:27:24 UTC
should be duplicate of #164234, fixed in trunk. Please verify with latest daily builds, thanks.

*** This issue has been marked as a duplicate of 164234 ***
Comment 2 nriley 2009-05-12 14:00:01 UTC
Verified fixed in build 200905120201.  Thanks for the quick response.

NetBeans: Executing '"C:\Program Files (x86)\Maven\bin\mvn.bat" -Dnetbeans.deploy=true -Ddspace.config=\"C:/Documents and 
Settings/njriley/DSpace/config/dspace.cfg\" -Dnetbeans.execution=true package'
NetBeans:      JAVA_HOME =C:\Program Files (x86)\Java\jdk1.6.0_14
Scanning for projects...