We have an XSD file that we'd like to load into multiple tables in Oracle, for example.
I wrote a build.xml (ant script) that invokes java code to do this. The problem is that I realized that the inserts into the db involve 3 tables, not just one. There is a service layer method that parses the XSD and uses DAO invocations to achieve this. I'd like to reused this. How can I use my ant script to work with the existing service layer and DAO layer code which is currently deployed into Karaf 3.0.0 as a WAB? I currently have created a new mavenized Eclipse project for the Ant task code but I can copy it as a new package in the existing service project. What is the best/easiest way to proceed? Can a build xml call an ant task (java code) in a WAR or must it call a JAR directly? And then does that JAR need to be a bundle and deployed to Karaf which can then call methods on the WAB (mega-bundle WAR) in same karaf container? -- View this message in context: http://karaf.922171.n3.nabble.com/using-ant-target-to-run-complex-db-setup-functionality-tp4032965.html Sent from the Karaf - User mailing list archive at Nabble.com.
