You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Joern Nettingsmeier <ne...@folkwang-hochschule.de> on 2007/04/18 11:46:47 UTC

Re: svn commit: r529931 - in /lenya/trunk/src: modules-core/ac/java/src/org/apache/lenya/cms/ac/ modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/impl/ pubs/blog/config/ac/ pubs/blog/config/access-control/ pubs/default/config/ac/ pubs/default/...


andreas@apache.org wrote:
> -    protected static final String AC_CONFIGURATION_FILE = "config/ac/ac.xconf".replace('/',
> +    protected static final String AC_CONFIGURATION_FILE = "config/access-control/ac.xconf".replace('/',
>              File.separatorChar);

a while ago i asked about path separators, and iirc someone (you?) 
explained that those hacks could be removed when the file:// url scheme 
is used. would that work here as well (we're using java file i/o, i 
suppose), or only with cocoon source resolvers?


-- 
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

Kurt is up in Heaven now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r529931 - in /lenya/trunk/src: modules-core/ac/java/src/org/apache/lenya/cms/ac/ modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/impl/ pubs/blog/config/ac/ pubs/blog/config/access-control/ pubs/default/config/ac/ pubs/default/...

Posted by Andreas Hartmann <an...@apache.org>.
Joern Nettingsmeier schrieb:
> 
> 
> andreas@apache.org wrote:
>> -    protected static final String AC_CONFIGURATION_FILE =
>> "config/ac/ac.xconf".replace('/',
>> +    protected static final String AC_CONFIGURATION_FILE =
>> "config/access-control/ac.xconf".replace('/',
>>              File.separatorChar);
> 
> a while ago i asked about path separators, and iirc someone (you?)
> explained that those hacks could be removed when the file:// url scheme
> is used. would that work here as well (we're using java file i/o, i
> suppose), or only with cocoon source resolvers?

Yes, I think so. But we can as well switch to source resolving here.
If you have a couple of minutes ... :)

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org