Phillip Soltan wrote:

Hi Paloma,

I appreciate your assistance but your explanation leaves me even more frustrated. If you look in the "webapp-build.xml" file where the "install-pub" target is located,


the target "install-pub" is intended for building a specific publication, instead of building the core and all pubs, but this target was originally built for Lenya 1.2 and maybe has some issues in the case of Lenya 1.4

it doesn't use "pubs.root.dir" and if you use "-Dpubs.prefix="" it basically just copies the entire "pubs" directory. It didn't work right for me even when I was using the pubs under
the build directory.

Did you create your pub using the usecase: "publication.createPublicationFromTemplate" or did you manually copy one of the existing publications? Are you using a subversion checkout of lenya or the snapshot? The answer to these
might help me determine why I'm not having much luck.

Also, I don't see a way to delete a publication other than just "rm -rf *" the directory. The publication still seems to come back the next time I do a build. It seems like the caching of files is making my life more difficult.


what servlet container are you using? Jetty, Tomcat, ...?

Michi


Thanks,

Phillip Soltan
AAA WebPro
tel: 805.484.8864
http://www.aaawebpro.biz


On Mar 19, 2006, at 5:48 AM, Paloma Gomez wrote:

Hi Phillip,

I've created a new publication and am trying to edit it with BXE.  I
recently saw an email on this mailing list that helped me get a bit
further.  I moved the "index_manager_index.xconf" file into the
publication and everywhere it said "default" I changed it to "cfs",
which is the new publication name.  I'm still seeing errors when
I try and edit and save a document with BXE:

              message: index cfs-authoring doesn't exist
              org.apache.cocoon.ProcessingException: Error calling
flowscript
       function executeUsecase at

file:/home/psoltan/workspace/Lenya-1-4/build/lenya/webapp/lenya/
usecases/usecases.js:288:-1 at <map:call> -
file:/home/psoltan/workspace/Lenya-1-4/build/lenya/webapp/lenya/
usecases/usecase.xmap:98:46 at <map:mount> -
file:/home/psoltan/workspace/Lenya-1-4/build/lenya/webapp/lenya/
usecase.xmap:56:128 at <map:mount> -
file:/home/psoltan/workspace/Lenya-1-4/build/lenya/webapp/global-
sitemap.xmap:318:105 at <map:mount> -
file:/home/psoltan/workspace/Lenya-1-4/build/lenya/webapp/
sitemap.xmap:702:106


I had the same problem after changing index_manager_index.xconf and
the reason in my case was that I hadn't modified  my pubs.root.dir in
local.build.properties to include $MY_PUBS_HOME. After doing so and
running
sh build.sh install-pub -Dpub.prefix=""
it works fine.

HTH,
Paloma
--
Paloma Gomez
University of Seville

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to