realbasic-nug
[Top] [All Lists]

Special Debug file locations

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Special Debug file locations
From: Tim Jones <tjmac@tolisgroup.com>
Date: Sat, 18 Apr 2009 22:01:01 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <7A4AAE3E-449B-466A-BB8C-BEB0997D4224@satx.rr.com>
References: <23170552.365057.1239779428163.JavaMail.www@wwinf1605> <7A4AAE3E-449B-466A-BB8C-BEB0997D4224@satx.rr.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Emile,

Have you tried using an "#if DebugBuild" block to wrap special paths for your debug runs? That's what I do.

I put the code block into the App.Open event.

#If DebugBuild
  #If TargetWin32
    LibPath = C:\My\DLL\Path
  #else
    LibPath = /var/lib/
  #endif
#endif

I also copy files, add icons, and pre-load a test database using this method.

Because I've been doing it this way since I started (around 4.5), I didn't need to make a single change to my code with the new layout.

If you haven't tried it, you should see if it can straighten things out for you

Tim


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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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