ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 973] - Java task fails to pass args and classpath correctly
Date Tue, 10 Jul 2001 04:43:56 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=973

*** shadow/973	Sun May 20 17:23:13 2001
--- shadow/973.tmp.19296	Mon Jul  9 21:43:56 2001
***************
*** 1,19 ****
! Bug#: 973
! Product: Ant
! Version: 1.3
! Platform: PC
! OS/Version: Windows NT/2K
! Status: NEW   
! Resolution: 
! Severity: Normal
! Priority: Medium
! Component: Core tasks
! AssignedTo: ant-dev@jakarta.apache.org                            
! ReportedBy: cgay@vsegroup.com               
! URL: 
! Cc: 
! Summary: Java task fails to pass args and classpath correctly
! 
  I am using Ant's <java> task to generate EJB stubs and skeletons via the JOnAS 
  container's GenIC tool.  When using the nested <arg> and <classpath> elements
I 
  am unable to get Ant to work.  
--- 1,18 ----
! +============================================================================+
! | Java task fails to pass args and classpath correctly                       |
! +----------------------------------------------------------------------------+
! |        Bug #: 973                         Product: Ant                     |
! |       Status: RESOLVED                    Version: 1.3                     |
! |   Resolution: WORKSFORME                 Platform: PC                      |
! |     Severity: Normal                   OS/Version: Windows NT/2K           |
! |     Priority: Medium                    Component: Core tasks              |
! +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
! |  Reported By: cgay@vsegroup.com                                            |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  I am using Ant's <java> task to generate EJB stubs and skeletons via the JOnAS 
  container's GenIC tool.  When using the nested <arg> and <classpath> elements
I 
  am unable to get Ant to work.  
***************
*** 128,130 ****
--- 127,136 ----
  problem manifests itself when a class tries to use the ClassLoader to find
  a file on the class path .. this consistently fails from the script, but works
  from the command line ...
+ 
+ ------- Additional Comments From conor@cortexebusiness.com.au  2001-07-09 21:43 -------
+ As Nico has suggested, I believe the problem may be due to the use of the 
+ <arg value="..."/> construct as opposed to <arg line="..."/>. Therefore I am

+ going to close this bug. If you believe there is still an issue, please run ant 
+ with the -debug flag to see what java command it is executing. If that doesn't 
+ make what is happening clear, please repoen this bug, or a new one. Thanks

Mime
View raw message