On 7/2/07, Tjeerd Verhagen <[EMAIL PROTECTED]> wrote:
Hello All,
Hello Tjeerd, what are your / our java & xml code confentions? For java we follow the standard sun conventions: http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html Checkstyle is used to check our conventions, the checkstyle rules can be found here: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk/src/etc/checkstyle/checkstyle-config For xml we have not agreed on any convention so far, but suggestions are welcome. Just changed a few lines in the ant build.xml file and would like to create
a patch for it (it's related to the jar, and it's meta data). While making the changes I discovered that tabs and spaces where used for indentation of tags. My personal preference would go make it the same as the java (if we use in java tabs, tehn also use taps in the xml).
We don't use tabs in java, so avoiding them in xml too seems like a good idea :-) What editor(s) is everyone using? Maybe it's handy to create a few editor
profiles, which go with editor(s) used.
I think most of us use eclipse, maybe some use IDEA. Creating such a profile for eclipse at least would be helpful indeed. Xavier Regards, Tjeerd
-- Xavier Hanin - Independent Java Consultant Creator of Ivy, xooki and xoocode.org More about me: http://xhab.blogspot.com/
