Hi. I have to build a non-trivial number of Mac/Windows applications from a
single source codebase - it's a Client-Server solution so there a four
builds independently named. Then, there are another 4 apps that act as
installers.
Anyway, it was an ideal chance to do some IDE scripting. I got the basics
working a couple of weeks ago. However, I'm having problems automating the
final step.
Basically, I have an application property that specifies the build type -
Server or Client which essentially controls the window shown to the user at
launch time. Lets call this property prBuildType.
In my build script I want to set it's value which I think I should be able
to do with :
PropertyValue("App.prBuildType")="Server"
But, it doesn't work. I can easily change any built in App class property,
e.g.
PropertyValue("App.ShortVersion")="1.0.0"
Putting the property in one of my own classes (which is where I would prefer
it be anyway) doens't work either, e.g.
PropertyValue("MyClass.prBuildType")="Server"
I've got a feeling that only App class properties that are exposed in the
IDE can be set - trying to set an exposed IDE property for a custom window
doesn't work either.
Trying to expose the prBuildType in the IDE using the 'Property List
Behaviour...' IDE contextual menu doesn't work for me (i.e. I can't get the
property to display in the Property Editor), so I can't use that option to
see if it will work then in the IDE script.
I'm using RB 2006 R3 on Mac OS X. I've tried with R4 and also 2007 with no
success. I couldn't find anything in a search of the NUG. Does anyone have
any thoughts?
Regards,
Narinder.
--
___________________________________________
| Narinder Chandi,
| ToolBox Systems Limited,
| Surrey, England, UK.
| http://www.toolbox.uk.com
|___________________________________________
| Consultancy * Development * Support
| * REALbasic Developer Program Member *
|___________________________________________
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>