Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Build failure on case-preserviing file systems

#179

The files AltShiftCmdKeyProcessor.java and AltShiftCMDKeyProcessor.java differ only in the spelling of the "Cmd" portion of their names. Under default Mac and Windows filesystem conventions, Git silently folds these two into the former name, and the build is happy. With Fedora Core 12 sitting on ext3, both files show up in the clone, which causes the following build failure:

compile:
    [javac] Compiling 395 source files to /home/username/src/ext/limelight/classes
    [javac] /home/username/src/ext/limelight/src/limelight/ui/model/inputs/keyProcessors/AltShiftCMDKeyProcessor.java:11: class AltShiftCmdKeyProcessor is public, should be declared in a file named AltShiftCmdKeyProcessor.java
    [javac] public class AltShiftCmdKeyProcessor extends KeyProcessor
    [javac]        ^
    [javac] /home/username/src/ext/limelight/src/limelight/ui/model/inputs/keyProcessors/AltShiftCmdKeyProcessor.java:11: duplicate class: limelight.ui.model.inputs.keyProcessors.AltShiftCmdKeyProcessor
    [javac] public class AltShiftCmdKeyProcessor extends KeyProcessor
    [javac]        ^

Removing the more heavily capitalized "CMD" version of the file fixes the issue.

Reported by Ian Dees · April 28th, 2010 @ 02:22 PM

State: new
Milestone: none
Assigned to: nobody

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.