cant you just make both of those constants?

mike
--
Mike Woodworth
[EMAIL PROTECTED]



On Jun 24, 2006, at 12:20 AM, [EMAIL PROTECTED] wrote:

I would like to make two releases of the same project. If I were to create two separate projects, then the two projects would be exact copies except the name and version info in the App class. I can use shared external objects for the majority of my code, but I could use some help with the App class.

With my two projects, take all the code that would actually be the same (which is everything except one constant), make it external, and then make references to it in the two new projects. This way, I have two separate projects each with their own App class that compile to two different app names and use shared classes for the code that remains the same, resulting in zero code duplication.

Here's the tricky part. Would if you have code in your App class? is it possible to have something like a copy of the App class that the compiler uses for the name and the version, and another copy that's a reference to an external file that contains the code, or is this just wishful thinking? If I have code in my App class that is the same between both versions, do I have to buckle and have some code duplication? Any suggestions?


Andrew Keller
_______________________________________________
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>

_______________________________________________
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>

Reply via email to