[jboss-user] [JBoss Portal] - portal testsuite changes for running against differetn datab

prabhat.jha@jboss.com do-not-reply at jboss.com
Wed Oct 11 18:06:53 EDT 2006


I was able to run portal testsuite against sqlserver as per Julien?s suggestion that I modify test/output/etc/datasources.xml. As expected, this required having sqlserver jdbc driver in the classpath. The easiest thing I could do was to modify /tools/etc/buildfragments/modules.ent to add my jar to jboss-portal-common-classpath or jboss-portal-test-classpath. This certainly is not a good way to do this.

Since there is a way to run testsuite against different database by adding multiple datasource test/src/etc/datasources.xml, I am guessing there should be a way to specify driver jars for these datasources as well. How has it done by portal team so far? 

If it requires manually adding the jar in classpath, then I am suggesting making some changes to build.xml so that we can pass jdbc jar as a parameter to the testsuite build.

Regards,
Prabhat








View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977713#3977713

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977713



More information about the jboss-user mailing list