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:
|
|
Followup
No Followups Have Been Posted |
Attached Files:
Name |
Description |
Download | No Files Currently Attached | | |
Changes:
No Changes Have Been Made to This Item |