/ Published in: Bash
                    
                                        
you may not want to use the buggy apt version. just compile it yourself
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
#use this for an ant task:
# <exec executable="bash">
# <arg value="-i" />
# <arg value="-c" />
# <arg value="uncrustify --no-backup $(find ${src} -name "*.java")" />
# </exec>
#make sure to configure like this
cp /usr/share/uncrustify/ben.cfg ~/.uncrustify.cfg
#uncrustify all java files in this folder
uncrustify --no-backup $(find -name "*.java")
URL: https://github.com/bengardner/uncrustify.git
Comments
 Subscribe to comments
                    Subscribe to comments
                
                