realbasic-nug
[Top] [All Lists]

Re: REALbasic XML Project Format

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: REALbasic XML Project Format
From: Ed Kleban <Ed at Kleban dot com>
Date: Fri, 30 Dec 2005 09:29:54 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcYNVeHmIHbXKnlJEdqPpwANk0o3Jg==
Thread-topic: REALbasic XML Project Format


On 12/30/05 8:43 AM, "Barry Traver" <rblog at ix dot netcom dot com> wrote:
  
> Now I know that it's possible to rearrange the contents without
> affecting the Project or hurting the XML file

Well, yes and no...  More accurately I'd say that, "It is possible to
rearrange the order of blocks within an XML file in order to change the
order of Project Items in the Project window of RB 5.x or the Project tab of
a RB 2005 window without adversely affecting the content of the blocks
being rearranged."  However rearranging the [block] contents in this manner
will indeed change the order of project items in the Folderarchy, which if
is not something you are expecting or desire would certainly count as
"hurting" in my book.

> (I wrote a routine to do
> it myself, so that the methods and properties would appear in
> alphabetical order when printed out from within the RB IDE), but - since
> the files are also different sizes - it would appear that it is not
> simply a matter of rearrangement, but of differences in content.
>   
> Barry Traver
>  

If I really needed to figure this out ... and sooner or later I very well
might, then what I'd probably use, and recommend you may want to consider
using yourself, is Thomas's  RBProject Tool.  It is capable of reading in
both RB 2005 and RB 5.x project files and spitting the result out in a text
format which might be more convenient to run a file comparison program on
that the XML.  You could also compare the raw XML files using Unix diff or
any file comparison utility or capability built into word processors or text
editors such as MS Word, SciTex, BBEdit/TextWrangler, etc...

If you do come up with a list of the differences, please let us know.  I'll
make sure they get documented some place useful like the RBWiki.

Thanks!
--Ed


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>