ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2317] New: - Current directory for user defined tasks
Date Mon, 25 Jun 2001 22:15:54 GMT
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

Mime
View raw message