Re: JDOM 1.0

From: Kevin Menard (nirvdru..egativetwenty.net)
Date: Sun Dec 12 2004 - 18:45:17 EST

  • Next message: Andrus Adamchik: "Re: JDOM 1.0"

    Hi Andrus,

    On 12/12/04 1:12 AM, "Andrus Adamchik" <andru..bjectstyle.org> wrote:
     
    > Would you mind sending a patch to me for this change? I would like to
    > upgrade Cayenne to JDOM 1.0 before we go any further. I guess I could
    > figure it on my own, but I hate to duplicate work.

    I just did a 'cvs diff', so apologies if the format isn't what you normally
    use for patch, but the change was very small anyway. NB: I'm using the
    default "pretty format", which the javadocs detail pretty well. Basically,
    it indents with 2 spaces, uses newlines, etc. So, the output isn't exactly
    what you had, but I didn't think this would be much of an issue.

    Also, as it turns out, the eclipse classpath project classpath didn't need
    to be updated because the jars had the same name.

    -- 
    Kevin
    

    Index: src/dvmodeler/java/org/objectstyle/cayenne/dataview/dvmodeler/CayenneProject .java =================================================================== RCS file: /cvsroot/cayenne/cayenne/src/dvmodeler/java/org/objectstyle/cayenne/dataview /dvmodeler/CayenneProject.java,v retrieving revision 1.3 diff -r1.3 CayenneProject.java 181,183c181 < out.setIndent(" "); < out.setNewlines(true); < out.setTextNormalize(true); --- > out.setFormat(Format.getPrettyFormat());



    This archive was generated by hypermail 2.0.0 : Sun Dec 12 2004 - 18:46:12 EST