realbasic-nug
[Top] [All Lists]

Re: Add constants to a module in XML?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Add constants to a module in XML?
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 30 Jun 2004 17:41:59 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
References: <57BA26C8-CADD-11D8-BD8E-000393564C30 at joyofmacs dot com>
At 5:35 PM -0400 6/30/04, Ward Clark wrote:

1. Create a dummy project with a skeleton module containing several constants.
2.  Save the project in XML format.
3. Edit the XML source file in BBEdit, adding a bushel of <Constant> elements.
4.  Reopen the XML project in in the RB IDE.

The modified XML project opens with no complaint from the IDE, but the module with all of my handcrafted constants is missing.

Should my process have worked? If so, does anyone have a guess where I went astray?

Yes, it should of worked, and no, no guess. But an easier procedure might be to export just the module to XML, and modify that, then import it (rather than working on an entire project). I know others have done this successfully.

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

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

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