[prev in list] [next in list] [prev in thread] [next in thread]
List: ivy-dev
Subject: Re: Java code en xml conventions (tabs or spaces)?
From: "Xavier Hanin" <xavier.hanin () gmail ! com>
Date: 2007-07-02 8:08:53
Message-ID: 635a05060707020108y2a60139ag70f7e388fdea9f7a () mail ! gmail ! com
[Download RAW message or body]
On 7/2/07, Tjeerd Verhagen <tjeerd.verhagen@gmail.com> 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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic