In a Mojo I use the following annotation:
/**
* @parameter default-value="${basedir}/src/daisy/schema.xml"
*/
private File[] daisySchemas;
This doesn't work, as the default-value is turned into a class of
String, and it needs an array of File's (an array of Strings would also
be acceptable). The default value is an array with a single value.
I've tried combinations like:
default-value="{${basedir}/src/daisy/schema.xml}"
default-value="[${basedir}/src/daisy/schema.xml]"
default-value="${basedir}/src/daisy/schema.xml,"
but each time it's not the correct literal for a single value array,
so what is?
Thanks
--
With kind regards,
Geoffrey De Smet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]