Forum OpenACS Q&A: Re: files not found in package

Collapse
Posted by Derick Leony on
First, a correction: the parameter is "home", AOLserver's home directory.

I'm not sure where would be the best place to store your class declarations but I guess a -proc file in the tcl directory would work well. Check the files in xowiki/tcl, for example the Page class definition in xowoki-procs.tcl.

About absolute paths, something like /home/user/myfile.ext, check the api-doc to find some procs to get the server and package important directories, but you might not need this anyways :)

Collapse
Posted by Matthew Smith on
I have moved the files into the tcl directory and renamred them to end with -proc.tcl. However I am still getting an error:invalid command name "backendrequestclass".
Collapse
Posted by Matthew Smith on
Where in the api doc should I be looking? I looked around but didn't see anything?

Thanks.

Collapse
Posted by Stefan Sobernig on
Matthew


-proc.tcl

Either this is a typo in your posting or you simply got it wrong: it is supposed to be *-proc>s<.tcl, don't forget about the "s".

Again, if you could make your package structure/ code available for browsing, it would be tremendously easier and would save time (at both ends ;)

//s

Collapse
Posted by Matthew Smith on
Sorry, I'm behind a firewall that makes what you suggest impossible.

I did have it wrong, I forgot the s.

Thanks for the help.