Build failure on case-preserviing file systems
Reported by Ian Dees | April 28th, 2010 @ 02:22 PM
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.
Comments and changes to this ticket
-
Ian Dees April 28th, 2010 @ 02:34 PM
- Tag set to build
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Elegant UI Framework for Ruby