添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
忐忑的灯泡  ·  Missing support for ...·  1 周前    · 
机灵的炒面  ·  Comparatif Meilleurs ...·  2 月前    · 
紧张的树叶  ·  7款畅销海泡石烟斗造型·  3 月前    · 
胡子拉碴的硬盘  ·  My Pages·  5 月前    · 
忐忑的爆米花  ·  Estimating the ...·  6 月前    · 
  • Download
  • Getting Started
  • Members
  • Projects
  • I have a java project with two src directories.
    The first srcA contains a class file com/pippo/pluto/A.java, the second srcB
    contains com/pippo/Pluto/B.java.
    The project cannot be compiled because the same resource is found (packages
    com/pippo/pluto, com/pippo/Pluto)
    So why do you think that this is a bug?
    The file system doesn't allow us to create 2 directories with the same name but 
    different case.
    You need to change one of the names.
    java is able to handle package that differs only for cases, that should be
    supported by eclipse jdt core too, else it is not fully compatible with java
    compiler.
    that is not a blocker ticket because there are some workarounds, like create two
    dependent java projects, then eclipse works fine without errors
    what do you think ? ;-))
    >The file system doesn't allow us to create 2 directories with the same name but 
    >different case.
    they are not in the same fs:
    project
       srcA/com/pippo/pluto/A.java
       srcB/com/pippo/Pluto/B.java
    This isn't a JDT core limitation.
    No Java compiler successfully compiles this code because we all receive the 
    same error when we try to write out the .class files.
    The .class files are written to the same output folder. That is where the 
    collision occurs.
    You can configure your source folders to have their own output folders, but you 
    should seriously consider renaming one of the packages.