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 "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2005/09/19 10:19:54 UTC

[jira] Created: (AXIS2-230) I wish the codegen tool generated code was indented nicely

I wish the codegen tool generated code was indented nicely
----------------------------------------------------------

         Key: AXIS2-230
         URL: http://issues.apache.org/jira/browse/AXIS2-230
     Project: Apache Axis 2.0 (Axis2)
        Type: Wish
  Components: wsdl  
    Versions: 0.92    
    Reporter: Samisa Abeysinghe
    Priority: Trivial


I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Commented: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-230?page=comments#action_12329824 ] 

Ruchith Udayanga Fernando commented on AXIS2-230:
-------------------------------------------------

Can we use Jalopy (http://jalopy.sourceforge.net/) to do the code formating... Using it is quite simple :-). See http://jalopy.sourceforge.net/api/de/hunsicker/jalopy/Jalopy.html

> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial

>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Commented: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-230?page=comments#action_12329942 ] 

Eran Chinthaka commented on AXIS2-230:
--------------------------------------

Well I also saw the jalopy thing Ruchith has done. Seems its nice and easy.. 

But .......
  1. Do we really need to code format the generated code. One can simply use his IDE to do this ...
  2. If we use Jalopy, there will be three more jars coming in to our distro, including jdom.jar. I always like to have fewer jars as possible.  

Are there any other means of doing this, without adding that much of things ? Suggestions/ Comments please .....

> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial

>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Commented: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-230?page=comments#action_12329991 ] 

Davanum Srinivas commented on AXIS2-230:
----------------------------------------

Let's table this for later..

> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial

>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Updated: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-230?page=all ]

Ruchith Udayanga Fernando updated AXIS2-230:
--------------------------------------------

    Attachment: Formatter.java

Seems like the link pointing to sample jalopy code is broken ...
This is a simple bit of code that I used to try out Jalopy (IIRC extracted from that broken link :-) )

> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial
>  Attachments: Formatter.java
>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Commented: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-230?page=comments#action_12329950 ] 

Samisa Abeysinghe commented on AXIS2-230:
-----------------------------------------

If it is more jars, then better drop the idea ;-)

> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial

>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Commented: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Tom Jordahl (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-230?page=comments#action_12330022 ] 

Tom Jordahl commented on AXIS2-230:
-----------------------------------

Just make sure that the XSLT template have good indentation, that will cover 90% of the problem, right?


> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial

>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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


[jira] Resolved: (AXIS2-230) I wish the codegen tool generated code was indented nicely

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-230?page=all ]
     
Davanum Srinivas resolved AXIS2-230:
------------------------------------

    Resolution: Fixed

Fixed.

> I wish the codegen tool generated code was indented nicely
> ----------------------------------------------------------
>
>          Key: AXIS2-230
>          URL: http://issues.apache.org/jira/browse/AXIS2-230
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Wish
>   Components: wsdl
>     Versions: 0.92
>     Reporter: Samisa Abeysinghe
>     Priority: Trivial
>  Attachments: Formatter.java
>
> I wish the codegen tool generated code was indented nicely so that it improves redability and understandability of the generated code.

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