Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Formatting java source code
Hi,
I am trying to get a source code formatter. What i am precisely looking
for is something like a command line utility which converts/ formats all
java files under one directory. JALOPY has some formatting stuff but is
anyone aware of / can point to me to some location where we can get some
command line utility to format java source code?

By formatting i meant fragments like placing opening braces in the same
line as if, etc.
Thanks
Kannan

Report this thread to moderator Post Follow-up to this message
Old Post
Kannan Ekanath
12-16-04 01:58 PM


Re: Formatting java source code
For checking source code format you can use Checkstyle [1]. Jalopy also
supports code formatting from command line [2] or Ant task [3].

[1] http://checkstyle.sourceforge.net/
[2] http://jalopy.sourceforge.net/plugin-console.html
[3] http://jalopy.sourceforge.net/plugin-ant.html

Greetings
Daniel

"Kannan Ekanath" <kannan_ekanath@oracle.com> schrieb im Newsbeitrag
news:%Kbwd.3$8Q3.94@news.oracle.com...
> Hi,
> I am trying to get a source code formatter. What i am precisely looking
> for is something like a command line utility which converts/ formats all
> java files under one directory. JALOPY has some formatting stuff but is
> anyone aware of / can point to me to some location where we can get some
> command line utility to format java source code?
>
> By formatting i meant fragments like placing opening braces in the same
> line as if, etc.
> Thanks
> Kannan



Report this thread to moderator Post Follow-up to this message
Old Post
Daniel Rohe
12-16-04 09:08 PM


Re: Formatting java source code
there is an jalopy plugin for eclipse.

"Kannan Ekanath" <kannan_ekanath@oracle.com> wrote in message
news:%Kbwd.3$8Q3.94@news.oracle.com...
> Hi,
> I am trying to get a source code formatter. What i am precisely looking
> for is something like a command line utility which converts/ formats all
> java files under one directory. JALOPY has some formatting stuff but is
> anyone aware of / can point to me to some location where we can get some
> command line utility to format java source code?
>
> By formatting i meant fragments like placing opening braces in the same
> line as if, etc.
> Thanks
> Kannan



Report this thread to moderator Post Follow-up to this message
Old Post
dingo
12-17-04 08:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:04 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.