Actually, this doesn't work ( well it stops that particular problem, but it causes the command line options to be displayed )

On 2/27/06, Chris Burnley < [EMAIL PROTECTED]> wrote:
Hi, I'm getting an ArrayStoreException in WSDL2JavaMojo.java because the Integer timeout is not being converted to a String.

It should be fixed by replacing :

        if ( timeout != null ) 
{

argsList.add( "-O" );
argsList.add( timeout );
}

with

if ( timeout != null )
{
argsList.add( "-O" );

argsList.add( timeout.toString() );
}

regards,

Chris Burnley



Reply via email to