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/07 18:43:31 UTC

[Bug 370] - exec and execon tasks ignore dir BugRat Report#658

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

*** shadow/370	Sun May 20 17:19:59 2001
--- shadow/370.tmp.1243	Sat Jul  7 09:43:31 2001
***************
*** 1,19 ****
! Bug#: 370
! Product: Ant
! Version: 1.2
! Platform: PC
! OS/Version: All
! Status: UNCONFIRMED   
! Resolution: 
! Severity: Normal
! Priority: High
! Component: Core tasks
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: cholmes@4d.com               
! URL: 
! Cc: 
! Summary: exec and execon tasks ignore dir BugRat Report#658
! 
  The dir attribute does not appear to have any affect on the behavior of exec(on).  Shouldn't the directory be changed before the program is called, and then changed back again after it is finished?
  
  ------- Additional Comments From bodewig@apache.org  2001-02-15 06:37 -------
--- 1,19 ----
! +============================================================================+
! | exec and execon tasks ignore dir BugRat Report#658                         |
! +----------------------------------------------------------------------------+
! |        Bug #: 370                         Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.2                     |
! |   Resolution: WORKSFORME                 Platform: PC                      |
! |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: Core tasks              |
! +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
! |  Reported By: cholmes@4d.com                                               |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  The dir attribute does not appear to have any affect on the behavior of exec(on).  Shouldn't the directory be changed before the program is called, and then changed back again after it is finished?
  
  ------- Additional Comments From bodewig@apache.org  2001-02-15 06:37 -------
***************
*** 24,26 ****
--- 24,32 ----
  This is a problem on Windows NT 4.0 as well.
  It appears that the exec tasks is ignoring the dir attribute and the current 
  directory for the command is always the current directory for the project.
+ 
+ ------- Additional Comments From nico@apache.org  2001-07-07 09:43 -------
+ Please provide more information if this problem still exists for you. 
+ 
+ Can not reproduce this on W2K with any version of Ant and/or JDK I have 
+ available.