Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor
In directory 
sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3643/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor

Modified Files:
        AbstractEjbJarXmlPluginTestCase.java 
Log Message:
removed exception and refactored ejb plugin, so it does not
depend on sources of testapp-ejb anymore
(preparation tom2 build )


Index: AbstractEjbJarXmlPluginTestCase.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/test/java/org/xdoclet/plugin/ejb/descriptor/AbstractEjbJarXmlPluginTestCase.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** AbstractEjbJarXmlPluginTestCase.java        12 Jun 2006 06:52:18 -0000      
1.4
--- AbstractEjbJarXmlPluginTestCase.java        23 Jun 2006 14:04:54 -0000      
1.5
***************
*** 27,37 ****
   * @author Aslak Hellesøy
   * @author Diogo Quintela
   * @version $Revision$
   */
  public abstract class AbstractEjbJarXmlPluginTestCase extends 
AbstractXMLGeneratingPluginTestCase {
      protected MetadataProvider createMetadataProvider() throws IOException {
!         String basedir = System.getProperty("xdoclet.ejb.home");
!         assertNotNull(basedir);
!         URL reader = new File(basedir + 
"/../testapp-ejb/src/main/java").toURL();
          return new QDoxMetadataProvider(new File(reader.getPath()));
      }
--- 27,36 ----
   * @author Aslak Hellesøy
   * @author Diogo Quintela
+  * @author Konstantin Pribluda
   * @version $Revision$
   */
  public abstract class AbstractEjbJarXmlPluginTestCase extends 
AbstractXMLGeneratingPluginTestCase {
      protected MetadataProvider createMetadataProvider() throws IOException {
!         URL reader = getClass().getResource("/org/xdoclet/testapp");
          return new QDoxMetadataProvider(new File(reader.getPath()));
      }


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to