groovy

bundling Groovy jar in Ant lib dir causes Sql to fail to fails to find driver class when jar file specified in classpath element

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1-rc-2
  • Component/s: Ant integration
  • Labels:
    None
  • Number of attachments :
    1

Activity

Hide
Keith Koski added a comment -

oops, bug entered before I finished completing the form.
Anyway, see the attached Ant build.xml file. $ANT_HOME/lib contains the file groovy-all-1.1-BETA-1.jar
The basedir for the Ant project must contain a mysql jar file.

Show
Keith Koski added a comment - oops, bug entered before I finished completing the form. Anyway, see the attached Ant build.xml file. $ANT_HOME/lib contains the file groovy-all-1.1-BETA-1.jar The basedir for the Ant project must contain a mysql jar file.
Hide
Paul King added a comment -

What is your expectation with regard to this bug?

One option is improved documentation stating that you need to use the same classloader for the groovy taskdef and sql jar. Is this the intention? Or did you want some change to the assumptions about default classloaders?

Show
Paul King added a comment - What is your expectation with regard to this bug? One option is improved documentation stating that you need to use the same classloader for the groovy taskdef and sql jar. Is this the intention? Or did you want some change to the assumptions about default classloaders?
Hide
Keith Koski added a comment -

Ideally, a change in the assumptions about classloaders. However, I do have a workaround, so improved documentation would suffice.

Show
Keith Koski added a comment - Ideally, a change in the assumptions about classloaders. However, I do have a workaround, so improved documentation would suffice.
Hide
Paul King added a comment -

Changed the Ant Troubleshooting wiki page to describe this issue a little bit.

Show
Paul King added a comment - Changed the Ant Troubleshooting wiki page to describe this issue a little bit.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: