jgneff commented on PR #566:
URL: https://github.com/apache/tomcat/pull/566#issuecomment-1312794140

   I found how to test the [Tomcat JDBC Connection 
Pool](https://tomcat.apache.org/tomcat-10.0-doc/jdbc-pool.html) test JAR files 
(`tomcat-jdbc-test.jar` and `tomcat-jdbc-test-src.jar`). I first had to copy 
the `build.properties.default` file to `build.properties` with the following 
changes:
   
   ```diff
   94c94
   < 
tomcat.project.loc=https://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/project.xml
   ---
   > 
tomcat.project.loc=https://github.com/apache/tomcat/tree/main/webapps/docs/project.xml
   97c97
   < 
tomcat.xsl.loc=https://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/tomcat-docs.xsl
   ---
   > 
tomcat.xsl.loc=https://github.com/apache/tomcat/tree/main/webapps/docs/tomcat-docs.xsl
   ```
   
   With those changes, I could run:
   
   ```console
   $ cd modules/jdbc-pool
   $ ant build-test
   $ mv output output1
   $ ant build-test
   $ mv output output2
   ```
   
   Before this pull request, two consecutive builds show the following 
differences:
   
   ```console
   $ diff -qr output1 output2 
   Files output1/tomcat-jdbc-src.jar and output2/tomcat-jdbc-src.jar differ
   Files output1/tomcat-jdbc-test-src.jar and output2/tomcat-jdbc-test-src.jar 
differ
   Files output1/tomcat-jdbc-test.jar and output2/tomcat-jdbc-test.jar differ
   ```
   
   After this pull request, the contents of the two output directories are 
identical.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to