- If I restart the server, it loads my procs file first and throws an error because it needs some other definitions on the next files (not a big deal).
The OpenACS package initialisation procedure is rather hostile to the kind of package refinement you are probing; due to its alphanumerical sorting of packages/files to be evaluated upon start-up.
Place the following in the first *-procs.tcl in your xowiki-derived package:
::xo::db::require package xowiki
this will source xowiki before your package, so everything needed is in place ...
- To test my new app right now I changed the index.vuh so instead of call the initialize from ::xowiki::Package it calls ::myapp::Package but I need to leave it independent from the rest of the pages, I tried using another .vuh file inside another folder or using a .tcl file but it always says that "page" is not available. (the xowiki message if I want to create that page)
this one i don't quite understand (that is, what you try to achieve). would you mind posting your sources somewhere, preferably the entire package (public scm, archive), so we can have a look. it's a thousand times easier to comment on code than to comment on comments on invisible code ...