Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: ANN: Now Available Java SE 6.0 Release 1 Developer Preview 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: Now Available Java SE 6.0 Release 1 Developer Preview 4



Currently the web service tools included with the release do not work because there is an underlying assumption in the code that the files are laid out like a Sun JDK with a 'tools.jar'.  This is probably about the 20th time I've seen someone (in this case the JSR RI) make an assumption about the layout of the JDK and have "bugs" because it doesn't work on the Mac.  You might think about laying it out the same way or at least having a "fake" JAVA_HOME that looks like the a Sun layout but since you have already marked the bug I filed against this as "not going to fix" years ago, I can forget about that.  Possibly I should spend my time lobbying Sun to make this part of the specification so it would have to be laid out in a certain way to be compliant:

/Users/sam/Projects/ParsingExample:> wsgen
Exception in thread "main" java.lang.NullPointerException
        at com.sun.tools.xjc.api.util.APTClassLoader.getToolsJar(APTClassLoader.java:95)
        at com.sun.tools.xjc.api.util.APTClassLoader.<init>(APTClassLoader.java:33)
        at com.sun.tools.ws.Invoker.main(Invoker.java:34)
        at com.sun.tools.ws.WsGen.main(WsGen.java:28)

/Users/sam/Projects/ParsingExample:> wsimport
Exception in thread "main" java.lang.NullPointerException
        at com.sun.tools.xjc.api.util.APTClassLoader.getToolsJar(APTClassLoader.java:95)
        at com.sun.tools.xjc.api.util.APTClassLoader.<init>(APTClassLoader.java:33)
        at com.sun.tools.ws.Invoker.main(Invoker.java:34)
        at com.sun.tools.ws.WsImport.main(WsImport.java:28)

I'd also point out that it doesn't look like the TCK is either not being run against this release or those tests fail to test the command line tools.

Sam Pullara
http://www.linkedin.com/in/spullara
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.