1 package xdoclet.sdk.xtag.migrator; 2 3 import java.io.File; 4 5 import xdoclet.util.FileUtils; 6 import xdoclet.XDocletTestCase; 7 8 /*** 9 * 10 * @author <a href="mailto:aslak.hellesoy at bekk.no">Aslak Hellesøy</a> 11 * @version $Revision: 1.2 $ 12 */ 13 public class XTagXml2BeanPluginTest extends XDocletTestCase { 14 15 public void testIt() throws Exception { 16 17 XTagXml2BeanPlugin xtagxml12toxtagbean = (XTagXml2BeanPlugin) getXDoclet().createPlugin("xtagxml2bean"); 18 File hibernateTagsXml = new File(FileUtils.getRoot(getClass()).getParentFile().getParentFile(), "src/test/java/xdoclet/sdk/xtag/migrator/hibernate-xtags.xml"); 19 xtagxml12toxtagbean.setXtagXml(hibernateTagsXml); 20 xtagxml12toxtagbean.setPackageName("xdoclet.plugins.hibernate.tags"); 21 File hibernateTagsDir = new File(FileUtils.getRoot(getClass()).getParentFile(), "xtag"); 22 xtagxml12toxtagbean.setDestinationDir(hibernateTagsDir); 23 24 xtagxml12toxtagbean.execute(); 25 } 26 }

This page was automatically generated by Maven