[wsimport] xsd:import not importing xsd file in a jar in classpath
The WSDL file I am using imports a xsd file. The xsd file is in a jar file, which is available in the classpath.
Here the problem is that wsimport is taking the folder which contains the WSDL file as the context of the xsd file path.
Let's say the schema file is in a jar and has package com.test.schema
And the WSDL file is in ws-client/src/main/wsdl
wsimport is expecting the xsd file at ws-client/src/main/wsdl/com/test/schema/test.xsd
Any idea why this happens?...is there a limitation that xsd files are not imported from a jar file?
BTW, I am using latest SNAPSHOT jars.