• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant javac command changes case(s)

 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In all the years I've been using ant I haven't run into this issue before.
In build.xml (having trouble posting it... just remove the underscores)



Rather than getting RuntimeScheduleEntry.java.class from RuntimeScheduleEntry.java.java, I'm getting runtimescheduleentry.class

Has anyone seen something like this before?
[ April 07, 2008: Message edited by: Marilyn de Queiroz ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strange indeed. What do you get when you type "dir src" ?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RuntimeScheduleEntry is in a package, isn't it ? Please try another "dir" up to the RuntimeScheduleEntry's package : "dir src\com\......."
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
source:


destination:
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mmmhh.. I don't get it. Are you using Sun's java compiler ? Try to execute ant using "ant -diagnostics" and paste the result here.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you change something in the build script or environment to fix this problem, remember to delete the target files. Otherwise the javac task might not even try to recompile the files, if the java files aren't touched in the meantime.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Christophe Verre:
Are you using Sun's java compiler ?

I'm using IBM's java compiler.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It turns out that the issue is with the MVFS filesystem on Windows. Its default configuration on Windows ... Native Windows file systems preserve case on file-creation operations. The MVFS is configured to convert file names to lowercase on Windows.

It doesn't make sense to me, but there it is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic