DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29454

No compile under J2SDK 1.3





------- Additional Comments From [EMAIL PROTECTED]  2004-06-10 19:31 -------
Well I downloaded the latest dbcp 1.2 hoping the PoolingDriver.closePool()
method would fix some resource problems we're having. Heres are short recap..

1. Download commons-dbcp-1.2
2. Download commons-pool-1.2
3. Run my unit test that makes used of dbcp...whoops. Boolean.valueOf() not
   defined in JDK 1.3
4. Gotta find out if dbcp-1.2 requirements changed. 
   Check the website..nope
   Check the release notes...nope
   Check the javadocs...nope
   Check the wiki...look what we have here, a reference to this bug.
5. Fair enough download dbcp-1.2 source
6. Apply patch
7. Build using 'maven dist'. Blows up:

Attempting to download jdbc-2.0.jar.
Getting URL: http://www.ibiblio.org/maven/jdbc/jars/jdbc-2.0.jar
File not found on one of the repos
java.io.FileNotFoundException:
http://www.ibiblio.org/maven/jdbc/jars/jdbc-2.0.jar (HTTP Error: 404 Not Found)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:259)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:180)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:111)
        at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVerifier.java:314)
        at
org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVerifier.java:253)
        at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(DependencyVerifier.java:170)
        at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java:96)
        at org.apache.maven.project.Project.verifyDependencies(Project.java:1356)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:486)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
        at org.apache.maven.cli.App.doMain(App.java:485)
        at org.apache.maven.cli.App.main(App.java:1214)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

8. Sure enough, I http it on over to http://www.ibiblio.org/maven/jdbc/ and
   theres not a jar in sight.
9. Ok, lets try this ant thing. Kalbam..no luck. Dependent jars don't ship with
   the product. 

What sounds easier? Backing out 8 lines of code to maintain 1.3 compatibility or
making every single one of your unsuspecting JDK 1.3 users go through this 
dead end process when they think they're in for an innocent 0.1 upgrade of
an otherwise very useful library.

Otherwise, job well done! :)

Now..time to use a little maven.jar.override...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to