Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Sorting members of a Java file per commandline
Sorting members of a Java file per commandline [message #1690691] Mon, 30 March 2015 12:06
Eclipse UserFriend
Hi,

I want to sort the members of a Java file per commandline. I tried the following:
<path to eclipse>/eclipse.exe -vm <path to java>\java.exe -application org.eclipse.jdt.core.JavaCodeFormatter -config <path to config file>/org.eclipse.jdt.ui.prefs -verbose <path to java sources>/src/

In my org.eclipse.jdt.core.prefs file the following lines are included:
sp_cleanup.sort_members=true
sp_cleanup.sort_members_all=false

I can see, that the *.java-files are formattet. But they are not sortet.
How I can get the sort working from command line (within Eclipse everything works as expected)?

Kind Regards
Björn
Previous Topic:Java n-node tree
Next Topic:javax.ejb.EJBException and org.postgresql.util.PSQLException trying to show a list
Goto Forum:
  


Current Time: Mon Apr 28 13:09:59 EDT 2025

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

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

Back to the top