de.setf.resource icon indicating copy to clipboard operation
de.setf.resource copied to clipboard

Renamed some files to work in operating systems with case sensitive paths

Open html opened this issue 12 years ago • 8 comments

I'm under linux, package was loaded only after renaming directories.

html avatar Feb 16 '13 21:02 html

good evening;

i build this with ubuntu linux all.the.time. the pull request does not indicate what you had to change.

?

On 2013-02-16, at 22:12 , Olexiy Zamkoviy wrote:

I'm under linux, package was loaded only after renaming directories.

You can merge this Pull Request by running git pull https:// github.com/html/de.setf.resource pathnames-fix Or view, comment on, or merge it at:

https://github.com/lisp/de.setf.resource/pull/2

Commit Summary Renamed some files to work in operating systems with case sensitive
paths File Changes A namespaces/www-w3-org/2001/XMLSchema-datatypes/vocabulary.lisp (0) A namespaces/www-w3-org/2001/XMLSchema/vocabulary.lisp (0) Patch Links: https://github.com/lisp/de.setf.resource/pull/2.patch https://github.com/lisp/de.setf.resource/pull/2.diff

lisp avatar Feb 16 '13 21:02 lisp

Good evening. I'm running debian. I've renamed files namespaces/www-w3-org/2001/xmlschema/ and namespaces/www-w3-org/2001/xmlschema-datatypes to their case sensitive analogs (XMLSchema and XMLSchema-datatypes). Does this answer your question ?

html avatar Feb 16 '13 21:02 html

not entirely, but if i look at what sbcl does, i suspect it's a runtime issue:

1: (DE.SETF.RESOURCE:LOAD-VOCABULARY #P"LIBRARY:DE;SETF;RESOURCE;NAMESPACES;WWW-W3-ORG;2001;XMLSCHEMA;VOCABULARY.LISP" "http://www.w3.org/2001/XMLSchema#")
  2: (OPEN #P"LIBRARY:DE;SETF;RESOURCE;NAMESPACES;WWW-W3-ORG;2001;XMLSCHEMA;VOCABULARY.LISP" :DIRECTION :INPUT)
    3: (PROBE-FILE #P"/home/asdf/development/source/library/de/setf/resource/namespaces/www-w3-org/2001/xmlschema/vocabulary.lisp")
    3: PROBE-FILE returned
         #P"/home/asdf/development/source/library/de/setf/resource/namespaces/www-w3-org/2001/xmlschema/vocabulary.lisp"

given that the vocabulary loading works with a logical pathname, the question becomes, which runtime do you work with and what does it do with that logical pathname?

lisp avatar Feb 16 '13 21:02 lisp

It didn't work with normal uri-pathname-root so I had to change it. It seems that this pull request is my mistake. I'll try to make it work for me in the right way later.

html avatar Feb 16 '13 22:02 html

the reluctance to change stems from past experience with mixed-case pathnames.

lisp avatar Feb 16 '13 22:02 lisp

Ok, I've made it work for me without need for renaming files.

html avatar Feb 17 '13 05:02 html

good morning,

On 2013-02-17, at 06:06 , Olexiy Zamkoviy wrote:

Ok, I've made it work for me without need for renaming files.

what was the issue?

lisp avatar Feb 17 '13 07:02 lisp

as I remember it worked when I've added following snippet

(setf (logical-pathname-translations "LIBRARY") 
      '(("de;setf;resource;**;*.*.*"              "/home/oz/src/de.setf.resource/**/")))

html avatar May 10 '13 06:05 html