ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2412] - Self-coded tasks must be compiled before taskdef can be used
Date Wed, 04 Jul 2001 13:43:24 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2412

*** shadow/2412	Wed Jul  4 05:48:32 2001
--- shadow/2412.tmp.20984	Wed Jul  4 06:43:24 2001
***************
*** 2,13 ****
  | Self-coded tasks must be compiled before taskdef can be used               |
  +----------------------------------------------------------------------------+
  |        Bug #: 2412                        Product: Ant                     |
! |       Status: REOPENED                    Version: 1.3                     |
  |   Resolution:                            Platform: Other                   |
  |     Severity: Normal                   OS/Version: Other                   |
  |     Priority: Other                     Component: Core tasks              |
  +----------------------------------------------------------------------------+
! |  Assigned To: ant-dev@jakarta.apache.org                                   |
  |  Reported By: boris@i3.informatik.rwth-aachen.de                           |
  +----------------------------------------------------------------------------+
  |          URL:                                                              |
--- 2,13 ----
  | Self-coded tasks must be compiled before taskdef can be used               |
  +----------------------------------------------------------------------------+
  |        Bug #: 2412                        Product: Ant                     |
! |       Status: NEW                         Version: 1.3                     |
  |   Resolution:                            Platform: Other                   |
  |     Severity: Normal                   OS/Version: Other                   |
  |     Priority: Other                     Component: Core tasks              |
  +----------------------------------------------------------------------------+
! |  Assigned To: bodewig@apache.org                                           |
  |  Reported By: boris@i3.informatik.rwth-aachen.de                           |
  +----------------------------------------------------------------------------+
  |          URL:                                                              |
***************
*** 80,83 ****
          at org.apache.tools.ant.Main.main(Main.java:149)
  
  BTW, putting the taskdef in the same target doesn't help. If I invoke the build
! a second time, then my tasks can be defined.
--- 80,98 ----
          at org.apache.tools.ant.Main.main(Main.java:149)
  
  BTW, putting the taskdef in the same target doesn't help. If I invoke the build
! a second time, then my tasks can be defined.
! 
! ------- Additional Comments From bodewig@apache.org  2001-07-04 06:43 -------
! OK, I can reproduce that.  If I include ${build.classes.dir} in the CLASSPATH
! environment variable it doesn't work, just as you describe it.
! 
! As a workaround (until I get this sorted out)
! 
!  <taskdef name="xml2pdf" classname="i3.tools.ant.tasks.Xml2Pdf">
!    <classpath>
!      <path location="${build.src.classes}" />
!    </classpath>
!  </taskdef>
! 
! should work (you may have to add additional stuff to that classpath).
! 

Mime
View raw message