You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/09/12 08:36:32 UTC

[jira] Commented: (AXIS2-3188) wsdl2java modifies foreign java sources that it did not create on its own before.

    [ https://issues.apache.org/jira/browse/AXIS2-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526686 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3188:
-----------------------------------------------------

use -Daxis2.jalopy=false with the wsdl2java command line tool. 
edit the wsdl2java tool so that it sends this paramater as a system parameter to the java.

> wsdl2java modifies foreign java sources that it did not create on its own before.
> ---------------------------------------------------------------------------------
>
>                 Key: AXIS2-3188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3188
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>         Environment: WinXP / SP2, Java 1.5.0_07
>            Reporter: Rainer Menzner
>            Priority: Minor
>
> wsdl2java edits / reformats all sources files located in a package / directory hierarchy below the stubs / skeletons it created immediately before. This is problematic for two reasons:
> 1) The source formatting in my source is no longer under my control
> 2) jalopy processing introduces compiler errors in my source files.
> Ideally, wsdl2java / jalopy should only edit sources files just created from the WSDL files, but not files created by the user. Additionally, it would be good to allow disabling formatting using a switch on the wsdl2java-commandline. 
> For me, only removing jalopy.jar from the Axis2 installation directory solved the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org