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
    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 
 argsList.add( "--classpath" );
 argsList.add( classesDirectory.getAbsolutePath() );

before

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

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