[ 
http://jira.codehaus.org/browse/MAXISTOOLS-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg updated MAXISTOOLS-34:
--------------------------------------

    Component/s: java2wsdl
    Description: 
in DefaultJava2WSDLPlugin,  private String[] generateArgumentList() method

the implemenationclass argument and extra classes argument is set before 
setting the classpath argument. This will cause Axis 1 to search for the 
implementation class and/or extraclasses before setting the classpath and 
therefor it will not find the classes.

If you put the code 
{code:java}
 argsList.add( "--classpath" );
 argsList.add( classesDirectory.getAbsolutePath() );
{code}

before

{code:java}
if ( implClass != null )
        {
            argsList.add( "-i" );
            argsList.add( implClass );
        }
{code}

this problem is solved.

  was:
in DefaultJava2WSDLPlugin,  private String[] generateArgumentList() method

the implemenationclass argument and extra classes argument is set before 
setting the classpath argument. This will cause Axis 1 to search for the 
implementation class and/or extraclasses before setting the classpath and 
therefor it will not find the classes.

If you put the code 
 argsList.add( "--classpath" );
 argsList.add( classesDirectory.getAbsolutePath() );

before

if ( implClass != null )
        {
            argsList.add( "-i" );
            argsList.add( implClass );
        }

this problem is solved.


> classpath is parsed after searching for extra classes or implementation class
> -----------------------------------------------------------------------------
>
>                 Key: MAXISTOOLS-34
>                 URL: http://jira.codehaus.org/browse/MAXISTOOLS-34
>             Project: Maven 2.x Axis Tools Plugin
>          Issue Type: Bug
>          Components: java2wsdl
>    Affects Versions: 1.1
>         Environment: windows xp/redhat linux
>            Reporter: Jan Verhulst
>
> in DefaultJava2WSDLPlugin,  private String[] generateArgumentList() method
> the implemenationclass argument and extra classes argument is set before 
> setting the classpath argument. This will cause Axis 1 to search for the 
> implementation class and/or extraclasses before setting the classpath and 
> therefor it will not find the classes.
> If you put the code 
> {code:java}
>  argsList.add( "--classpath" );
>  argsList.add( classesDirectory.getAbsolutePath() );
> {code}
> before
> {code:java}
> if ( implClass != null )
>         {
>             argsList.add( "-i" );
>             argsList.add( implClass );
>         }
> {code}
> this problem is solved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to