Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Standalone Formatter
Eclipse Standalone Formatter [message #239828] Wed, 17 January 2007 07:00 Go to next message
Eclipse UserFriend
Hi all!

Is it possible to use the Eclipse Java source code formatter in a script?

Either ANT or shell or any scripting language.


Uwe
Re: Eclipse Standalone Formatter [message #239846 is a reply to message #239828] Wed, 17 January 2007 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Uwe Kubosch a écrit :
> Is it possible to use the Eclipse Java source code formatter in a script?
> Either ANT or shell or any scripting language.
You can use the Formatter Eclipse application. It should be possible to
run it inside an ant task as a <java> task with the appropriate arguments.
--
Olivier
Re: Eclipse Standalone Formatter [message #239886 is a reply to message #239846] Thu, 18 January 2007 15:54 Go to previous message
Eclipse UserFriend
I actually needed this for hibernate tools codegeneration so its available
from there
if you want ;)

see
http://www.hibernate.org/hib_docs/tools/eclipse/newandnotewo rthy/hibernate-eclipse-news-3.2.0.beta9.html
search for "format"

/max

> Uwe Kubosch a écrit :
>> Is it possible to use the Eclipse Java source code formatter in a
>> script?
>> Either ANT or shell or any scripting language.
> You can use the Formatter Eclipse application. It should be possible to
> run it inside an ant task as a <java> task with the appropriate
> arguments.
> --
> Olivier



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Previous Topic:AST writing out to a new file.
Next Topic:Determining editor file content
Goto Forum:
  


Current Time: Sun May 04 16:23:29 EDT 2025

Powered by FUDForum. Page generated in 0.03070 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top