[SrcML] ant convert + webpage
Status: Beta
Brought to you by:
crashchaos
From: Frank R. <fra...@in...> - 2005-06-13 11:28:58
|
As I have not gotten any complaints about the new wiki we have now replaced the link for http://srcml.de to point to the new moin moin wiki. Now for something totally different.. I have written the class de.srcml.util.Beautifier which runs a java file through the parser and view platforms (just like beautify.py) and writes the result back into the original file. As we have already discussed we should use the ViewPlatform for the contents of our CVS repository for several reasons including: * we are forced to fix bugs ASAP as we couldn't commit anything otherwise * we have to work with sourcecode created by the ViewPlatform which means additional effort will go into improving the print selection and whitespace plugins * we get rid of annoying CVS diffs because of simple whitespace modifications * we cannot tell anyone to use SrcML when we're not using it ourselves -------------------------------------------------- ATTENTION everyone with CVS write access: Before commiting your changes to CVS run 'ant convert' to run the files through the Beautifier. Do not commit files which you modified with any normal editor and did not run through the Beautifier! -------------------------------------------------- (You can speed up the process a little bit by manually running the Beautifier only on your modified file or directory) PS: Of course using our beta software here is a risk. If you make any large-scale changes you better create a backup copy before running the Beautifier on those files just to make sure. (Again check the reasons list above for why we use the Beautifier nevertheless) -- Raiser, Frank Student @ University of Ulm (www.uni-ulm.de) A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools. (Douglas Adams) |