incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <janne.jalka...@ecyrd.com>
Subject Re: caret sign (^) in jcr filenames ?
Date Sun, 21 Feb 2010 13:08:28 GMT

It is intentional. JCR names are case-sensitive, so I solved it by adding a "^" after all
capital letters to make sure that "mixinTypes" and "mixintypes" would map to different file
names.  I toyed around with other ideas as well, but this seems to do the trick too. If you
have any other ideas, let me know.

/Janne

On 21 Feb 2010, at 14:56, Harry Metske wrote:

> While looking at some unit tests, I noticed that a lot of files contain the
> caret sign (^) in their name, is that intentional, or some sort of bug :
> 
> metskem@gneisenau /tmp/priha/workspaces/jspwiki/pages $ find . -ls
> 131030    4 drwxr-xr-x   3 metskem  metskem      4096 Feb 20 20:00 .
> 137070    4 -rw-r--r--   1 metskem  metskem        77 Feb 20 20:00
> ./jcr;primaryT^ype.info
> 137131    4 -rw-r--r--   1 metskem  metskem         5 Feb 20 20:00 ./.order
> 131037    4 -rw-r--r--   1 metskem  metskem        43 Feb 20 20:00
> ./jcr;primaryT^ype.data
> 137130    4 drwxr-xr-x   8 metskem  metskem      4096 Feb 21 13:18 ./main
> 135363    4 drwxr-xr-x   2 metskem  metskem      4096 Feb 21 13:18
> ./main/leftmenufooter
> 135404    4 -rw-r--r--   1 metskem  metskem        93 Feb 21 13:18
> ./main/leftmenufooter/wiki;title.info
> 135415    4 -rw-r--r--   1 metskem  metskem         1 Feb 21 13:18
> ./main/leftmenufooter/wiki;version.data
> 135405    4 -rw-r--r--   1 metskem  metskem         5 Feb 21 13:18
> ./main/leftmenufooter/wiki;acl.data
> 135424    4 -rw-r--r--   1 metskem  metskem        19 Feb 21 13:18
> ./main/leftmenufooter/wiki;refersT^o.0.data
> 135399    4 -rw-r--r--   1 metskem  metskem        45 Feb 21 13:18
> ./main/leftmenufooter/jcr;mixinT^ypes.0.data
> 135400    4 -rw-r--r--   1 metskem  metskem       111 Feb 21 13:18
> ./main/leftmenufooter/jcr;mixinT^ypes.info
> 135412    4 -rw-r--r--   1 metskem  metskem        18 Feb 21 13:18
> ./main/leftmenufooter/wiki;content.data
> 135409    4 -rw-r--r--   1 metskem  metskem        94 Feb 21 13:18
> ./main/leftmenufooter/wiki;author.info
> 135398    4 -rw-r--r--   1 metskem  metskem        97 Feb 21 13:18
> ./main/leftmenufooter/jcr;primaryT^ype.info
> 135420    4 -rw-r--r--   1 metskem  metskem        36 Feb 21 13:18
> ./main/leftmenufooter/jcr;uuid.data
> 135423    4 -rw-r--r--   1 metskem  metskem        92 Feb 21 13:18
> ./main/leftmenufooter/jcr;uuid.info
> 135403    4 -rw-r--r--   1 metskem  metskem        14 Feb 21 13:18
> ./main/leftmenufooter/wiki;title.data
> 135417    4 -rw-r--r--   1 metskem  metskem        93 Feb 21 13:18
> ./main/leftmenufooter/wiki;version.info
> 135408    4 -rw-r--r--   1 metskem  metskem        10 Feb 21 13:18
> ./main/leftmenufooter/wiki;author.data
> 135397    4 -rw-r--r--   1 metskem  metskem        43 Feb 21 13:18
> ./main/leftmenufooter/jcr;primaryT^ype.data
> 135406    4 -rw-r--r--   1 metskem  metskem        91 Feb 21 13:18
> ./main/leftmenufooter/wiki;acl.info
> 135419    4 -rw-r--r--   1 metskem  metskem        93 Feb 21 13:18
> ./main/leftmenufooter/wiki;created.info
> 135413    4 -rw-r--r--   1 metskem  metskem        95 Feb 21 13:18
> ./main/leftmenufooter/wiki;content.info
> 135425    4 -rw-r--r--   1 metskem  metskem       111 Feb 21 13:18
> ./main/leftmenufooter/wiki;refersT^o.info
> 135418    4 -rw-r--r--   1 metskem  metskem        24 Feb 21 13:18
> ./main/leftmenufooter/wiki;created.data
> 135410    4 -rw-r--r--   1 metskem  metskem        24 Feb 21 13:18
> ./main/leftmenufooter/wiki;lastM^odified.data
> 135402    4 -rw-r--r--   1 metskem  metskem        99 Feb 21 13:18
> ./main/leftmenufooter/wiki;contentT^ype.info
> 135401    4 -rw-r--r--   1 metskem  metskem        14 Feb 21 13:18
> ./main/leftmenufooter/wiki;contentT^ype.data
> 135411    4 -rw-r--r--   1 metskem  metskem        98 Feb 21 13:18
> ./main/leftmenufooter/wiki;lastM^odified.info
> 135364    4 drwxr-xr-x   2 metskem  metskem      4096 Feb 21 13:17
> ./main/index
> 135376    4 -rw-r--r--   1 metskem  metskem        84 Feb 21 13:17
> ./main/index/wiki;title.info
> 135387    4 -rw-r--r--   1 metskem  metskem         1 Feb 21 13:17
> ./main/index/wiki;version.data
> 135378    4 -rw-r--r--   1 metskem  metskem         5 Feb 21 13:17
> ./main/index/wiki;acl.data
> 135367    4 -rw-r--r--   1 metskem  metskem        45 Feb 21 13:17
> ./main/index/jcr;mixinT^ypes.0.data
> 135368    4 -rw-r--r--   1 metskem  metskem       102 Feb 21 13:17
> ./main/index/jcr;mixinT^ypes.info
> 135384    4 -rw-r--r--   1 metskem  metskem        17 Feb 21 13:17
> ./main/index/wiki;content.data
> 135381    4 -rw-r--r--   1 metskem  metskem        85 Feb 21 13:17
> ./main/index/wiki;author.info
> 135366    4 -rw-r--r--   1 metskem  metskem        88 Feb 21 13:17
> ./main/index/jcr;primaryT^ype.info
> 135393    4 -rw-r--r--   1 metskem  metskem        36 Feb 21 13:17
> ./main/index/jcr;uuid.data
> 135394    4 -rw-r--r--   1 metskem  metskem        83 Feb 21 13:17
> ./main/index/jcr;uuid.info
> 135375    4 -rw-r--r--   1 metskem  metskem         5 Feb 21 13:17
> ./main/index/wiki;title.data
> 135388    4 -rw-r--r--   1 metskem  metskem        84 Feb 21 13:17
> ./main/index/wiki;version.info
> 135380    4 -rw-r--r--   1 metskem  metskem        10 Feb 21 13:17
> ./main/index/wiki;author.data
> 135365    4 -rw-r--r--   1 metskem  metskem        43 Feb 21 13:17
> ./main/index/jcr;primaryT^ype.data
> 135379    4 -rw-r--r--   1 metskem  metskem        82 Feb 21 13:17
> ./main/index/wiki;acl.info
> 135392    4 -rw-r--r--   1 metskem  metskem        84 Feb 21 13:17
> ./main/index/wiki;created.info
> 135385    4 -rw-r--r--   1 metskem  metskem        86 Feb 21 13:17
> ./main/index/wiki;content.info
> 135396    4 -rw-r--r--   1 metskem  metskem       102 Feb 21 13:17
> ./main/index/wiki;refersT^o.info
> 135391    4 -rw-r--r--   1 metskem  metskem        24 Feb 21 13:17
> ./main/index/wiki;created.data
> 135382    4 -rw-r--r--   1 metskem  metskem        24 Feb 21 13:17
> ./main/index/wiki;lastM^odified.data
> 135374    4 -rw-r--r--   1 metskem  metskem        90 Feb 21 13:17
> ./main/index/wiki;contentT^ype.info
> 135369    4 -rw-r--r--   1 metskem  metskem        14 Feb 21 13:17
> ./main/index/wiki;contentT^ype.data
> 135383    4 -rw-r--r--   1 metskem  metskem        89 Feb 21 13:17
> ./main/index/wiki;lastM^odified.info
> 137133    4 -rw-r--r--   1 metskem  metskem        82 Feb 20 20:00
> ./main/jcr;primaryT^ype.info
> 137175    4 -rw-r--r--   1 metskem  metskem        53 Feb 21 13:18
> ./main/.order
> 137132    4 -rw-r--r--   1 metskem  metskem        43 Feb 20 20:00
> ./main/jcr;primaryT^ype.data


Mime
View raw message