I am trying to set up a test environment for development with EJB3 and JBoss 4.0.3+.
During the development cycle I want to give developers the ability to run small test applications which may/will become test cases in junit or testng. However, it appears that the examples have development code deployed to the mc in an archive and I would like to use a path to a directory. Looking at the source code I thought I might be able to pass a URL for a local build directory to the foollowing method. | URL url = new File( "pathToMyBuildOutputDir" ).toURL(); | EJB3StandaloneDeployer deployer.getDeployDirs().add( url ); | The code comments seem to imply that this is possible: "The deployer will search through all archives and directories for annotated classes". Trying this results in a NPE, I am not sure if this is a bug or my misunderstanding of what the mc can do. Any comments/help would be greatly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918210#3918210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918210 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
