Re: Source jar for tomcat-dbcp?

2012-03-11 Thread Pid
On 11/03/2012 02:08, Jim Garrison wrote:
 -Original Message-
 From: Jim Garrison [mailto:jim.garri...@troux.com]
 Sent: Saturday, March 10, 2012 7:07 PM
 To: users@tomcat.apache.org
 Subject: Source jar for tomcat-dbcp?

 I have a problem I need to debug by stepping into tomcat-dbcp (6.0.35). I
 tried downloading the Apache commons-dbcp source but it seems the
 version in Tomcat has the classes in different packages, so I can't get 
 Eclipse
 to recognize the source.
 [snip]
 
 I think I've figured this out.  In build.xml, the commons-dbcp sources are 
 copied into a different package hierarchy and then built.  
 
 Based on build.properties.default I see that it uses commons-dbcp version 1.3 
 and commons-pool version 1.5.6.
 
 So all I need to do is duplicate what build.xml does to assemble the sources 
 in the proper locations.
 
 It would have been nice if this was noted in the docs :-)

Sounds like you're pretty close to being able to make a patch.  ;)


p

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


RE: Source jar for tomcat-dbcp?

2012-03-11 Thread Jim Garrison
  It would have been nice if this was noted in the docs :-)
 
 Sounds like you're pretty close to being able to make a patch.  ;)

I'm willing to write something up, but am not sure how to contribute it to the
doc website.  I rummaged through the ASF svn and found the tomcat/site
stuff, but it seems to be old and does not look like the current doc website.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Source jar for tomcat-dbcp?

2012-03-11 Thread Pid
On 11/03/2012 21:41, Jim Garrison wrote:
 It would have been nice if this was noted in the docs :-)

 Sounds like you're pretty close to being able to make a patch.  ;)
 
 I'm willing to write something up, but am not sure how to contribute it to the
 doc website.  I rummaged through the ASF svn and found the tomcat/site
 stuff, but it seems to be old and does not look like the current doc website.

The website is in tomcat/site, the docs are in version specific dirs,
e.g. http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/webapps/docs


p

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


RE: Source jar for tomcat-dbcp?

2012-03-10 Thread Jim Garrison
 -Original Message-
 From: Jim Garrison [mailto:jim.garri...@troux.com]
 Sent: Saturday, March 10, 2012 7:07 PM
 To: users@tomcat.apache.org
 Subject: Source jar for tomcat-dbcp?
 
 I have a problem I need to debug by stepping into tomcat-dbcp (6.0.35). I
 tried downloading the Apache commons-dbcp source but it seems the
 version in Tomcat has the classes in different packages, so I can't get 
 Eclipse
 to recognize the source.
[snip]

I think I've figured this out.  In build.xml, the commons-dbcp sources are 
copied into a different package hierarchy and then built.  

Based on build.properties.default I see that it uses commons-dbcp version 1.3 
and commons-pool version 1.5.6.

So all I need to do is duplicate what build.xml does to assemble the sources in 
the proper locations.

It would have been nice if this was noted in the docs :-)

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org