<globmapper from="*" to="${zipdir}/lib/*"/>
</mappedresources>
<mappedresources cache="true">
- <fileset dir="${ooxml.lib}" includes="xmlbeans-*.jar,curvesapi-*.jar,commons-compress*.jar"/>
+ <fileset dir="${ooxml.lib}"/>
<regexpmapper from="^(.*\.jar)$$" to="${zipdir}/ooxml-lib/\1"/>
</mappedresources>
<mappedresources cache="true">
- <fileset dir="${dist.dir}/maven" includes="**/*.jar" excludes="**/*-javadoc.jar,**/*-sources.jar"/>
+ <fileset dir="${ooxml-provided.lib}"/>
+ <regexpmapper from="^(.*\.jar)$$" to="${zipdir}/auxiliary/\1"/>
+ </mappedresources>
+ <mappedresources cache="true">
+ <fileset dir="${dist.dir}/maven" includes="**/*.jar" excludes="**/*-javadoc.jar,**/*-sources.jar,**/*-tests.jar"/>
<chainedmapper>
<flattenmapper/>
<globmapper from="*" to="${zipdir}/*"/>
for (int i = 0; i < args.length; i++) {
String opt = (i+1 < args.length) ? args[i+1] : null;
- switch (args[i]) {
+ switch (args[i].toLowerCase(Locale.ROOT)) {
case "-scale":
if (opt != null) {
scale = Float.parseFloat(opt);
fixSide = "long";
}
break;
- case "-inputType":
+ case "-inputtype":
if (opt != null) {
defaultFileType = FileMagic.valueOf(opt);
i++;
defaultFileType = FileMagic.OLE2;
}
break;
- case "-textAsShapes":
+ case "-textasshapes":
textAsShapes = true;
break;
- case "-ignoreParse":
+ case "-ignoreparse":
ignoreParse = true;
break;
- case "-extractEmbedded":
+ case "-extractembedded":
extractEmbedded = true;
break;
case "-charset":