Hi Kevan, Your suggestion worked. Build successful by changing Program Files to Progra~1. So is it a bug that needs to be filed in JIRA?
Thanks SG On Mon, Jun 20, 2011 at 1:34 PM, Kevan Miller <[email protected]>wrote: > > On Jun 20, 2011, at 2:32 PM, Gary Shin wrote: > > > Hi, > > The system configurations are given below > > > > Trunk checked out at revision: 1137722 > > > > java version "1.6.0_25" > > Java(TM) SE Runtime Environment (build 1.6.0_25-b06) > > Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode) > > > > > > Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700) > > Java version: 1.6.0_25 > > Java home: C:\Program Files\Java\jdk1.6.0_25\jre > > Default locale: en_US, platform encoding: Cp1252 > > OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows" > > > > Running maven with debug enabled i found this error which is causing the > build fail. I understand that it is a windows' path issue as highlighted > below (Program Files detected as Files). So where exactly can this be > changed? > > Nice. Thanks for digging that up. Is anyone building on Windows, currently? > > So, your JAVA_HOME setting is: JAVA_HOME=c:\program files\Java\jdk1.6.0_25? > > A simple attempt would be: > > set JAVA_HOME=c:\progra~1\Java\jdk1.6.0_25 > mvn ... > > I don't know how the Java directory gets passed around in the wsdl > generating code. I'd loook at invokeWsgen() in > plugins/jaxws/geronimo-jaxws-sun-tools/src/main/java/org/apache/geronimo/jaxws/sun/tools/WsdlGenerator.java > to see how it's being invoked. > > Assuming your JAVA_HOME setting is correct, you should create a JIRA. > > --kevan
