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 "Rainer Menzner (JIRA)" <ji...@apache.org> on 2007/09/10 15:28:29 UTC

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

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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-3188:
-------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            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


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

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-3188.
-------------------------------------------------

    Resolution: Fixed

wsdl2 java only pritty print if it on explicitly

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>            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