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/06/26 00:15:54 UTC
[Bug 2317] New: - 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.4142 Mon Jun 25 15:15:54 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | 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 |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: SNeelakantan_C@zaplet.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ Disclaimer: I am not sure if this is a bug in the first place.
+ But this is what I think is happening:
+
+ I run ant as: "ant -f tmp/mybuildfile.xml"
+ If I have a task as <mytask classpath="." classname="Something">,
+ ant looks for the class file Something.class after changing directory to tmp
+ (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.
\ No newline at end of file