#283 AStyle questions

1.15.3
open
nobody
None
5
2014-05-14
2014-05-14
Ken1
No

We are currently researching alternative formatting tools to Jalopy, in order to support the latest language features in Java 1.7 and Java 1.8.

Two Questions:
1) Will this tool support the latest java features?

2) We are currently generating a text file with a file list that Jalopy reads through to determine which files to format. Is there any way to get this utility to do the same thing?

Related

Bugs: #283

Discussion

  • Jim Pattee
    Jim Pattee
    2014-05-14

    1. As far as I know everything is supported.

    2. AStyle does not use a list. It formats an entire directory recursively by selecting a specific file extension (.java). All other files will be bypassed. Specific files or directories to exclude can be specified. It will not format a file unless it has changed. The command line or an options file can be used.

    Jim Pattee
    jimp03@email.com

    ----- Original Message -----
    From: Ken1
    Sent: 05/14/14 11:03 AM
    To: Ticket 283
    Subject: [astyle:bugs] #283 AStyle questions

    --- [bugs:#283] AStyle questions Status: open Group: 1.15.3 Created: Wed May 14, 2014 05:03 PM UTC by Ken1 Last Updated: Wed May 14, 2014 05:03 PM UTC Owner: nobody We are currently researching alternative formatting tools to Jalopy, in order to support the latest language features in Java 1.7 and Java 1.8. Two Questions: 1) Will this tool support the latest java features? 2) We are currently generating a text file with a file list that Jalopy reads through to determine which files to format. Is there any way to get this utility to do the same thing? --- Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/283/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #283

    • Ken1
      Ken1
      2014-05-15

      Exactly how does it determine a file has "changed"? Modified date vs its last run date?

      We currently have a utility that interfaces with SVN (subversion) apis to determine which files have been changed by the user. Using modified date will not work on initial code checkout since all files will have the current timestamp.

       
      Last edit: Ken1 2014-05-15
  • Jim Pattee
    Jim Pattee
    2014-05-15

    It doesn't check dates.
    If a change is made to data in the file it is considered changed.
    If data is not changed is considered unchanged.

    Jim Pattee
    jimp03@email.com

    ----- Original Message -----
    From: Ken1
    Sent: 05/15/14 08:44 AM
    To: [astyle:bugs]
    Subject: [astyle:bugs] Re: #283 AStyle questions

    Exactly how does it determine a file has "changed"? Modified date vs its last run date? We currently have a utility that interfaces with SVN (subversion) apis to determine which files have been changed by the user. Using modified date solely will not work on initial code checkout since all files will have the current timestamp. --- [bugs:#283] AStyle questions Status: open Group: 1.15.3 Created: Wed May 14, 2014 05:03 PM UTC by Ken1 Last Updated: Wed May 14, 2014 05:03 PM UTC Owner: nobody We are currently researching alternative formatting tools to Jalopy, in order to support the latest language features in Java 1.7 and Java 1.8. Two Questions: 1) Will this tool support the latest java features? 2) We are currently generating a text file with a file list that Jalopy reads through to determine which files to format. Is there any way to get this utility to do the same thing? --- Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/astyle/bugs/283/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #283