Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Grunt build error, case sensitive name CodeMirror.js#7253

Merged
njx merged 1 commit intoadobe:masterfrom
ackalker:fix-filename-case
Mar 19, 2014
Merged

Grunt build error, case sensitive name CodeMirror.js#7253
njx merged 1 commit intoadobe:masterfrom
ackalker:fix-filename-case

Conversation

@ackalker
Copy link
Copy Markdown
Contributor

Building from a fresh checkout (with recursive submodules) using grunt build, I get the following error on the requirejs:dist task:

Running "requirejs:dist" (requirejs) task

Tracing dependencies for: main
Error: ENOENT, no such file or directory '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js'
In module tree:
    main
      brackets
        search/FindInFiles
          search/FindReplace

{ [Error: Error: ENOENT, no such file or directory '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js'
In module tree:
    main
      brackets
        search/FindInFiles
          search/FindReplace

    at Object.fs.openSync (fs.js:427:18)
]
  originalError: 
   { [Error: ENOENT, no such file or directory '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js']
     errno: 34,
     code: 'ENOENT',
     path: '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js',
     syscall: 'open',
     fileName: '/home/miki/vcs/git/adobe/brackets/src/thirdparty/CodeMirror2/lib/CodeMirror.js',
     moduleTree: [ 'search/FindReplace', 'search/FindInFiles', 'brackets', 'main' ] } }
$ ls -l src/thirdparty/CodeMirror2/lib/
total 296
-rw-r--r-- 1 miki users   6309 Mar 19 20:33 codemirror.css
-rw-r--r-- 1 miki users 293877 Mar 19 20:33 codemirror.js

or, in other words: on *nix, case does matter, you insensitive clod! ;-)

@njx
Copy link
Copy Markdown

njx commented Mar 19, 2014

D'oh, that would be me :) Thanks for fixing this. I don't understand why it's not case-sensitive on Mac, though, or why it didn't cause our Linux build to fail...

njx pushed a commit that referenced this pull request Mar 19, 2014
Grunt build error, case sensitive name CodeMirror.js
@njx njx merged commit 660bc56 into adobe:master Mar 19, 2014
@ackalker
Copy link
Copy Markdown
Contributor Author

You're welcome :-)

@ackalker
Copy link
Copy Markdown
Contributor Author

It appears that Mac hard drives can have a case-insensitive personality (I kid you not! :-) ). Here's some interesting info about this:
http://apple.stackexchange.com/questions/71357/how-to-check-if-my-hd-is-case-sensitive-or-not
https://support.apple.com/kb/PH8289

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants