Add file to generated JAR

(Sachin Nikam) #1

I need to add file to a generated jar file. This link ( tells me how. However this only adds the file at the top level of the archive. I need to specify the subdir (java package path) inside the archive. The needs to be in the same package as the class which is being marshalled/unmarshalled.

(Sachin Nikam) #2

I got it working with the following script

jar {

from (‘wsdl’){

include ‘’

into ‘expedia/om/order/messages/v1’