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 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
