Thank you Vincent, that is a useful script! <br><br>What I settled on was the following racket script. It defines two helpers that I call at the repl to start and stop my frtime dev work: <br><br>#lang racket<br> (require setup/link)<br>
<br> (define install-path "C:/Program Files/Racket/collects/frtime")<br> (define dev-path "C:/path/to/development/frtime/collection")<br> <br> (define start-developing-frtime<br> (lambda ()<br> (start-developing-collection dev-path install-path)))<br>
<br> <br> (define stop-developing-frtime<br> (lambda ()<br> (stop-developing-collection dev-path install-path)<br> <br> (define start-developing-collection<br> (lambda (dev-coll-path install-coll-path)<br> (links install-coll-path #:remove? #t)<br>
(links dev-coll-path)))<br> <br> (define stop-developing-collection<br> (lambda (dev-coll-path install-coll-path)<br> (start-developing-collection install-coll-path dev-coll-path)))<br><br>Thank you all, <br>
-Patrick<br><br><div class="gmail_quote">On 25 July 2012 16:41, Vincent St-Amour <span dir="ltr"><<a href="mailto:stamourv@ccs.neu.edu" target="_blank">stamourv@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Patrick,<br>
<br>
I usually keep multiple single-directory (i.e. not unix-style) Racket<br>
installs around, including one for development. I keep each install<br>
separate, and switch between them using this script:<br>
<br>
<a href="https://github.com/takikawa/racket-dev-goodies/blob/master/plt-bin" target="_blank">https://github.com/takikawa/racket-dev-goodies/blob/master/plt-bin</a><br>
<br>
Vincent<br>
<br>
<br>
At Tue, 24 Jul 2012 21:12:01 -0400,<br>
Patrick Mahoney wrote:<br>
><br>
> [1 <multipart/alternative (7bit)>]<br>
> [1.1 <text/plain; UTF-8 (7bit)>]<br>
<div><div class="h5">> Hello again,<br>
><br>
> I was able to resolve my problem. First I renamed the frtime collection in<br>
> the install path. This resulted in racket complaining that the collection<br>
> couldn't be found. Next, I linked to the collection within the frtime<br>
> source directory.<br>
><br>
> raco link path/to/github/repo/directory<br>
><br>
> Following linking to this location, the language declaration resolved to<br>
> the frtime language within my github tree.<br>
><br>
> Thanks all,<br>
> -Patrick<br>
><br>
> On 24 July 2012 18:52, Patrick Mahoney <<a href="mailto:paddy.mahoney@gmail.com">paddy.mahoney@gmail.com</a>> wrote:<br>
><br>
> > Hello All,<br>
> ><br>
> > I forked the github Racket repo, and created a new branch in order to<br>
> > update Frtime from the scheme or mzscheme #langs to Racket. This has been<br>
> > progressing well, until I ran into a small issue that I think likely<br>
> > affects most individuals working on Racket source for which collections<br>
> > exist in the collection paths.<br>
> ><br>
> > (module animation frtime<br>
> > ...<br>
> ><br>
> ><br>
> > -Despite making changes to the frtime language, excising the scheme and<br>
> > mzscheme languages within the source that was checked out, it became<br>
> > apparent that this declaration and others referring to collections were<br>
> > relying on the imports defined from the mzscheme lang. After running Check<br>
> > Syntax, right-clicking on the lang declaration, and opening the files all<br>
> > the way down to a file where changes had been made (say lang-utils.rkt),<br>
> > the unedited source was visible. This source showing (sans my edits) was<br>
> > that found within the C:/Program Files/Racket/collects/frtime directory,<br>
> > rather than my github racket source directory.<br>
> ><br>
> > How does one go about unregistering a collection such that all references<br>
> > to that collection subsequently look not into the collections directory,<br>
> > but compile and run the files from within your checked out source? I guess<br>
> > this question could likely could be generalized to, "How do Racket<br>
> > developers make edits to source files backing collections and run them<br>
> > without references to collections referring to the pre-compiled<br>
> > collections, or those in the Racket installation?". I am interested in how<br>
> > to resolve this problem, and I apologize that I don't yet know the language<br>
> > well enough to formulate the problem in the correct terms.<br>
> ><br>
> > Can anyone provide some guidance here?<br>
> ><br>
> > For anyone interested in the branch itself, find it at:<br>
> > <a href="https://github.com/paddymahoney/racket/commits/frtime-update" target="_blank">https://github.com/paddymahoney/racket/commits/frtime-update</a><br>
> ><br>
> > Thank you all!<br>
> > -Patrick<br>
> ><br>
> ><br>
> ><br>
</div></div>> [1.2 <text/html; UTF-8 (quoted-printable)>]<br>
><br>
> [2 <text/plain; us-ascii (7bit)>]<br>
> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br>