2017-03-27 11 views
0

gradleタスクでいくつかのファイルバインディングファイルを指定します。だから、 gradle xjcタスク内の複数のバインディングファイル

Also I've checked this link.

I've read doc.

、そのような方法ですべての作品:

  xjc(destdir: sourcesDir, schema: schema, binding: 'src/main/resources/A.xjb') 

そしてないような方法で作品:

xjc(destdir: sourcesDir, schema: schema, binding: binding(dir:'src/main/resources', includes:'A.xjb,B.xjb')  or 
    xjc(destdir: sourcesDir, schema: schema, binding(dir:'src/main/resources', includes:'A.xjb,B.xjb') 

Logs

+0

あなたが提供するSOのリンクは答えを提供するようです。答えに示唆されたことを実装しようとしましたか? –

答えて

1
xjc(destdir: sourcesDir, schema: schema) { 
    binding(dir:'src/main/resources', includes:'A.xjb,B.xjb') 
} 
関連する問題