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 32983] - java task: jar is not searched for relative to the dir setting
Date Fri, 07 Jan 2005 09:00:19 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=32983>.
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=32983


antoine@apache.org changed:

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




------- Additional Comments From antoine@apache.org  2005-01-07 10:00 -------
The ant way is that files are resolved relative to project directory.
The class implementing the java task has a setter setJar(File jarfile) ...

The Exec task is working differently : the executable attribute (which is a bit
the equivalent of the jar attribute here) is a String instead of a file, so it
does not get resolved automatically against base directory.
Another attribute called resolveExecutable allows to resolve the executable
optionally against the base directory.

Now for BC reasons, and to avoid cluttering complex code, I do not think anyone
among the committers would like to meet your requirement, which is difficult any
way because the introspection does automatically the job of resolving the jar to
a path based on the project directory, unless an absolute path is written in the
build file.

-- 
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