You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Stefano Mazzocchi <st...@apache.org> on 2003/11/23 15:40:20 UTC
Requirement for release
I did a CVS update right now and ran
[stefano@Merlino] ~/Code/lenya $ grep -r home/michi . | wc -l
which resulted in
44
offending lines.
Consider this a perperpetual -1 on release until that line count goes
down to zero.
--
Stefano.
Re: Requirement for release
Posted by Christian Egli <eg...@wyona.com>.
Upayavira <uv...@upaya.co.uk> writes:
> Christian Egli wrote:
>
> > I don't know enough about properties but could the following patch
> > > >work?
> >
> >-rcmlDirectory=/home/michi/src/newzz/build/xps/xml/xps/rcml
> >+rcmlDirectory=~/src/newzz/build/xps/xml/xps/rcml
> No, because ~/ means nothing in the windows world. It must be a
> standard relative directory.
Thanks, I was afraid that would be the case.
But then again, could not the class that is reading the property
expand the path, i.e. canonicalize it?
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Requirement for release
Posted by Upayavira <uv...@upaya.co.uk>.
Christian Egli wrote:
>Stefano Mazzocchi <st...@apache.org> writes:
>
>
>
>>I did a CVS update right now and ran
>>
>>[stefano@Merlino] ~/Code/lenya $ grep -r home/michi . | wc -l
>>
>>which resulted in
>>
>> 44
>>
>>offending lines.
>>
>>
>
>Strange, I thought Michi had fixed all this.
>
>Let's look at these files. There's actually only four offending files:
>
>~/src/cocoon-lenya $ grep -rl home/michi .
>./src/java/org/apache/lenya/cms/rc/conf.properties
>./src/java/org/apache/lenya/net/conf.properties
>./src/java/org/apache/lenya/xml/xpsconf.properties
>./src/webapp/lenya/bin/crawl_and_index.sh
>
>The last one I just fixed. The others are AFAIK configuration files
>that are only partially used for some stuff that has been left over
>from the old XPS (eXtensible Publihising System). Michi could tell you
>what they are used for.
>
>I don't know enough about properties but could the following patch
>work?
>
>Index: src/java/org/apache/lenya/cms/rc/conf.properties
>===================================================================
>RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/rc/conf.properties,v
>retrieving revision 1.2
>diff -u -r1.2 conf.properties
>--- src/java/org/apache/lenya/cms/rc/conf.properties 27 Feb 2003 17:35:56 -0000 1.2
>+++ src/java/org/apache/lenya/cms/rc/conf.properties 23 Nov 2003 23:20:32 -0000
>@@ -1,4 +1,4 @@
> # RCML Directory
>-rcmlDirectory=/home/michi/src/newzz/build/xps/xml/xps/rcml
>+rcmlDirectory=~/src/newzz/build/xps/xml/xps/rcml
> # Backup Directory (Rollback)
>-backupDirectory=/home/michi/src/newzz/build/xps/xml/xps/rcbak
>+backupDirectory=~/src/newzz/build/xps/xml/xps/rcbak
>
>
No, because ~/ means nothing in the windows world. It must be a standard
relative directory.
Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Requirement for release
Posted by Christian Egli <eg...@wyona.com>.
Stefano Mazzocchi <st...@apache.org> writes:
> I did a CVS update right now and ran
>
> [stefano@Merlino] ~/Code/lenya $ grep -r home/michi . | wc -l
>
> which resulted in
>
> 44
>
> offending lines.
Strange, I thought Michi had fixed all this.
Let's look at these files. There's actually only four offending files:
~/src/cocoon-lenya $ grep -rl home/michi .
./src/java/org/apache/lenya/cms/rc/conf.properties
./src/java/org/apache/lenya/net/conf.properties
./src/java/org/apache/lenya/xml/xpsconf.properties
./src/webapp/lenya/bin/crawl_and_index.sh
The last one I just fixed. The others are AFAIK configuration files
that are only partially used for some stuff that has been left over
from the old XPS (eXtensible Publihising System). Michi could tell you
what they are used for.
I don't know enough about properties but could the following patch
work?
Index: src/java/org/apache/lenya/cms/rc/conf.properties
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/rc/conf.properties,v
retrieving revision 1.2
diff -u -r1.2 conf.properties
--- src/java/org/apache/lenya/cms/rc/conf.properties 27 Feb 2003 17:35:56 -0000 1.2
+++ src/java/org/apache/lenya/cms/rc/conf.properties 23 Nov 2003 23:20:32 -0000
@@ -1,4 +1,4 @@
# RCML Directory
-rcmlDirectory=/home/michi/src/newzz/build/xps/xml/xps/rcml
+rcmlDirectory=~/src/newzz/build/xps/xml/xps/rcml
# Backup Directory (Rollback)
-backupDirectory=/home/michi/src/newzz/build/xps/xml/xps/rcbak
+backupDirectory=~/src/newzz/build/xps/xml/xps/rcbak
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org