detail.php
OW2 Forge: Detail: 305848 common_build.xml wsdl2java bind.arg breaks on windows w/file name having space

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Celtix ESB
          
 
 
Summary
Forums
Tracker
Lists
Tasks
News
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #305848 ] common_build.xml wsdl2java bind.arg breaks on windows w/file name having space

Date:
2006-07-28 15:09
Priority:
5
Submitted By:
Bryon Donahue (bdonahue)
Assigned To:
Adi Sakala (adisakala)
Category:
Samples
State:
Open
Summary:
common_build.xml wsdl2java bind.arg breaks on windows w/file name having space

Detailed description:
The common_build.xml's wsdl2java task specifies the argument as shown below. The issue is that the binding.arg is specified as "arg line" and it must contain a filename. "arg line" is delimited by spaces, so when this task is called on Windows and the binding file contains a space, the task fails because the file is read as separate arguments. So when the file name is something c:/My Documents/xyz, it is passed to java as the arguments "c:/My" and "Document/xyz". <arg line="${package.arg.@{file}}"/> <arg line="${binding.arg}"/> <arg value="-verbose"/> <arg value="-d"/> <arg value="@{srcdestdir}"/> <arg value="@{dir}/@{file}"/>

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials