ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35973] - Support disclocated files fully so they don't compile all the time...
Date Wed, 03 Aug 2005 08:42:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35973>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35973


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From stevel@apache.org  2005-08-03 10:41 -------
But Sun's javac compiler doesnt support misnamed files properly.

when you compile something that depends on another file that is not yet
compiled, javac assumes it is in a dir structure that matches its package. If it
cannot find it, it stops with an error.

if you have files in the wrong place and classic javac works, then it is by luck
and not design. As sun say in their javac docs

"You should arrange source files in a directory tree that reflects their package
tree." Should is a bit of an understatement, must is more appropriate.

I am sorry that you have ignored this foundational java recommendation in your
project, but am afraid that ant will penalise you through repeated
recompilations. Ant, like modern IDEs and javac itself, requires the correct
layout of files in order to work correctly. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message