<div dir="ltr">Looking at the code, it appears that make-planet-archive is sensitive to the current directory. I'll try to sort out how and update the docs.<div><br></div><div>Robby</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 1:04 PM, Jos Koot <span dir="ltr"><<a href="mailto:jos.koot@gmail.com" target="_blank">jos.koot@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Found a solution:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">(parameterize ((current-directory
"example"))</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"> (make-planet-archive "../example")</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Weird though that make-planet-archive does not look in the
specified directory. It seems to look in the current directory.
</font></span><span><font color="#0000ff" face="Arial">The plt-file is stored in directory "example". In this directory two
other directories are made as well: "compiled" and "planet-docs/examples". Is
this expected and correct? Forgive me my ignorance.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Thanks for the help,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Jos</font></span></div><br>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font face="Tahoma"><b>From:</b> Jos Koot [mailto:<a href="mailto:jos.koot@gmail.com" target="_blank">jos.koot@gmail.com</a>]
<br><b>Sent:</b> viernes, 01 de marzo de 2013 19:15<br><b>To:</b> 'Robby
Findler'<br><b>Cc:</b> 'Racket mailing list'<br><b>Subject:</b> RE: [racket]
planet question<br></font><br></div><div class="im">
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Thanks for attention to my question. I tried your advice and
some variations on this theme, but without luck.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial">Jos</font></span></div><br>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font face="Tahoma"><b>From:</b> Robby Findler
[mailto:<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>] <br><b>Sent:</b> viernes, 01 de marzo de
2013 14:05<br><b>To:</b> Jos Koot<br><b>Cc:</b> Racket mailing
list<br><b>Subject:</b> Re: [racket] planet question<br></font><br></div>
<div></div>
</div><div><div class="h5"><div dir="ltr">I think you need your info.rkt file to be in the top-level
directory (and then use a relative path to point to your scribble files).
<div><br></div>
<div>Robby</div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Mar 1, 2013 at 2:53 AM, Jos Koot <span dir="ltr"><<a href="mailto:jos.koot@gmail.com" target="_blank">jos.koot@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div>
<div><font face="Arial">
<div><span><font face="Courier New"><font size="+0"><span>I finally made
scribble doc for my planet-fmt package. However, w</span>hen trying to
build <span>the</span> package I receive <span>a</span>
warning<span> like</span>:</font></font></span></div>
<div><font face="Courier New"><span></span></font> </div>
<div><font face="Courier New"><span></span></font></div>
<div><font face="Courier New"><span>Welcome to DrRacket, version
5.3.3.3--2013-02-18(1c2432e/a) [3m].<br>Language: racket [custom]; memory
limit: 2000 MB.<br>(#<path:example.rkt> #<path:example.scrbl>
#<path:info.rkt>)<br>MzTarring .\...</span></font></div>
<div><font face="Courier New"><span></span></font> </div>
<div><font face="Courier New"></font></div>
<div><font face="Courier New"><span>WARNING:<br>Package has no info.rkt file.
This means it will not have a description or documentation on the PLaneT web
site.<br>#<path:c:\racket-jos\example\example.plt></span></font></div>
<div><font face="Courier New"><span></span></font> </div>
<div><font face="Courier New"><span></span></font></div>
<div><span><font face="Courier New"><font size="+0"><span></span>The following
is a very stripped example that gives me this
warning:</font></font></span></div>
<div><font face="Courier New"><span></span></font> </div>
<div><font face="Courier New"><span></span></font></div>
<div><span><font face="Courier New"><font size="+0"><span>In
</span><span>directory example:</span></font></font></span></div>
<div><span><font face="Courier New"><font size="+0"><span>file
</span>make-package.rkt</font></font></span></div>
<div><span><font face="Courier New"><font size="+0"><span>sub</span>directory
example</font></font></span></div>
<div><span><font face="Courier New"></font></span> </div>
<div><span><span><font face="Courier New">In the
subdirectory:</font></span></span></div>
<div><span><font face="Courier New"><font size="+0"><span>file
</span>example.rkt</font></font></span></div>
<div><span><font face="Courier New"><font size="+0"><span><span><font face="Courier New"><font size="+0"><span>file
</span></font></font></span></span>example.scrbl</font></font></span></div>
<div><span><font face="Courier New"><font size="+0"><span><span><font face="Courier New"><font size="+0"><span>file
</span></font></font></span></span>info.rkt</font></font></span></div>
<div><span></span> </div>
<div><font face="Courier New"><span></span></font></div>
<div><font face="Courier New"><span>make-package.rkt</span></font></div>
<div><font face="Courier New"><span>#lang racket<br>(require
planet/util)<br>(force-package-building? #t)<br>(build-scribble-docs?
#t)<br>(directory-list "example")<span> ; gives correct list of
files.</span><br>(make-planet-archive (string->path
"example"))</span></font></div>
<div><font face="Courier New"><span><font face="Arial"></font></span></font> </div></font>
<div><font face="Courier New"><span>example.rkt</span></font></div>
<div><font face="Courier New"><span>#lang racket<br>(provide
example)<br>(define (example) 'example)</span></font></div>
<div><font face="Courier New"><span><font face="Arial"></font></span></font> </div>
<div><font face="Courier New"><span>example.scrbl</span></font></div>
<div><font face="Courier New"><span>#lang scribble/manual<br>@(require
"example.rkt" scribble/eval (for-label "example.rkt" racket))<br>@title{A
simple example}<br>@author{Jacob J. A. Koot}<br>@(defmodule
"example.rkt")<br>@section{Example}<br>This is
@code{example}.<br>@defproc[(example) 'example]</span></font></div>
<div><font face="Courier New"><span></span></font> </div>
<div><font face="Courier New"><span></span></font></div>
<div><font face="Courier New"><span>info.rkt</span></font></div>
<div><span><font face="Courier New">#lang setup/infotab<br>(define scribblings
(list (list "example.scrbl")))<br>(define name "example")<br>(define blurb
(list "A simple example"))<br>(define primary-file "example.rkt")<br>(define
categories (list 'misc))</font></span></div>
<div><span><font face="Courier New"></font></span> </div>
<div><span><font face="Courier New"></font></span></div>
<div><span><font face="Courier New">I run make-package.rkt from
DrRacket.<span> </span><span><span>File example.plt is prepared, but
the warning appears. </span></span>What do I
wrong? <span>Furthermore, when t</span>rying to up<span>date</span> my
planet-fmt package after logging in into planet, I get an error message,
something like</font></span></div>
<div><span><font face="Courier New"></font></span> </div>
<div><span><font face="Courier New"><font size="+0">Oops, something went
wrong<span> ...</span></font></font></span></div>
<div><span><font face="Courier New"></font></span> </div>
<div><span><span><font face="Courier New">No new version is
installed.</font></span></span></div>
<div><span><font face="Courier New"></font></span></div>
<div><span><font face="Courier New">Help please.</font></span></div>
<div><span><font face="Courier New">Thanks, Jos</font></span></div>
<div><br><font face="Courier New"></font></div></div></div><br>____________________<br>
Racket Users list:<br> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br><br></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>