Sorting members of a Java file per commandline [message #1690691] |
Mon, 30 March 2015 12:06 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03128 seconds