You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/04 13:55:20 UTC

[Bug 2317] - Current directory for user defined tasks

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2317

*** shadow/2317	Mon Jun 25 15:15:54 2001
--- shadow/2317.tmp.19885	Wed Jul  4 04:55:20 2001
***************
*** 2,9 ****
  | Current directory for user defined tasks                                   |
  +----------------------------------------------------------------------------+
  |        Bug #: 2317                        Product: Ant                     |
! |       Status: NEW                         Version: 1.3                     |
! |   Resolution:                            Platform: Sun                     |
  |     Severity: Normal                   OS/Version: Other                   |
  |     Priority: Other                     Component: Core tasks              |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Current directory for user defined tasks                                   |
  +----------------------------------------------------------------------------+
  |        Bug #: 2317                        Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.3                     |
! |   Resolution: INVALID                    Platform: Sun                     |
  |     Severity: Normal                   OS/Version: Other                   |
  |     Priority: Other                     Component: Core tasks              |
  +----------------------------------------------------------------------------+
***************
*** 23,26 ****
  (i.e directory containing build xml file), but the current working directory
  for Something.class is the directory where I ran ant from ... and not tmp.
  
! I think they should be consistent in their current working directories.
--- 23,35 ----
  (i.e directory containing build xml file), but the current working directory
  for Something.class is the directory where I ran ant from ... and not tmp.
  
! I think they should be consistent in their current working directories.
! 
! ------- Additional Comments From bodewig@apache.org  2001-07-04 04:55 -------
! Ant doesn't change the working directory - all it does is resolving relative
! filenames that have been specified in the build file as files relative to your
! project's basedir (which may be different from your current working directory and
! the directory your build file resides in).
! 
! If you want to use the automatic expansion of filenames in tasks of your own,
! make your attribute setter methods expect a File object instead of a String.