You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Kirk Storer <ba...@yahoo.com> on 2004/04/29 19:59:33 UTC
Change Where a Document saves
How can I change where a document is saved when it is
published? I want it to go into a directory other than
the live directory.
Thanks,
Kirk
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Change Where a Document saves
Posted by "Scherler, Thorsten" <th...@apache.org>.
Hi Kirk,
you are on linux, or not?
Like Andreas said use something like
#!/bin/sh
cp -R /usr/local/tomcat/webapps/lenya/pubs/computing/content/live/*
/usr/local/tomcat/computing/
Save that as e.g. lenya-live.sh and "chmod 755 lenya-live.sh" then you
can use (./lenya-live.sh) that to do the job!
This will result in /usr/local/tomcat/computing/default/*. Trying to say
afterwards you will still have the dir structure of lenya (if you have
more then one pub).
HTH
Thorsten
Andreas Hartmann wrote:
> Kirk Storer wrote:
>
>> How can I change where a document is saved when it is
>> published? I want it to go into a directory other than
>> the live directory.
>
>
> I wouldn't recommend that because it would break some
> things Lenya depends on. You should rather add some
> code that that copies the XML files to another location.
>
> -- Andreas
--
<thorsten>
<name>Thorsten Scherler</name>
<country>Spain</country>
<@mail> thorsten@apache.org</...@mail>
<@cocoon-WIKI>
http://wiki.cocoondev.org/Wiki.jsp?page=Scherler</...@cocoon-WIKI>
<http>http://www.target-x.de</http>
</thorsten>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Change Where a Document saves
Posted by Andreas Hartmann <an...@apache.org>.
Kirk Storer wrote:
> How can I change where a document is saved when it is
> published? I want it to go into a directory other than
> the live directory.
I wouldn't recommend that because it would break some
things Lenya depends on. You should rather add some
code that that copies the XML files to another location.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org