Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-beaninfo/src/test/java/org/xdoclet/plugin/beaninfo
In directory
sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3643/plugin-beaninfo/src/test/java/org/xdoclet/plugin/beaninfo
Modified Files:
BeanInfoPluginTestCase.java
Log Message:
removed exception and refactored ejb plugin, so it does not
depend on sources of testapp-ejb anymore
(preparation tom2 build )
Index: BeanInfoPluginTestCase.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-beaninfo/src/test/java/org/xdoclet/plugin/beaninfo/BeanInfoPluginTestCase.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** BeanInfoPluginTestCase.java 13 Nov 2004 09:27:03 -0000 1.10
--- BeanInfoPluginTestCase.java 23 Jun 2006 14:04:54 -0000 1.11
***************
*** 1,4 ****
--- 1,7 ----
package org.xdoclet.plugin.beaninfo;
+ import java.net.MalformedURLException;
+ import java.net.URL;
+
import org.generama.MetadataProvider;
import org.generama.Plugin;
***************
*** 8,17 ****
import org.xdoclet.AbstractJavaGeneratingPluginTestCase;
- import java.io.File;
- import java.net.MalformedURLException;
- import java.net.URL;
-
/**
* @author Laurent Etiemble
* @version $Revision$
*/
--- 11,17 ----
import org.xdoclet.AbstractJavaGeneratingPluginTestCase;
/**
* @author Laurent Etiemble
+ * @author Konstantin Pribluda
* @version $Revision$
*/
***************
*** 22,34 ****
}
! protected URL getTestSource() throws MalformedURLException {
! String basedir = System.getProperty("xdoclet.beaninfo.home");
! assertNotNull(basedir);
! return new File(basedir +
"/../testapp-pojo/src/main/java/org/xdoclet/testapp/pojo/MyBean.java").toURL();
}
protected URL getExpected() throws MalformedURLException {
! String basedir = System.getProperty("xdoclet.beaninfo.home");
! return new File(basedir +
"/../plugin-beaninfo/src/test/java/org/xdoclet/testapp/pojo/MyBeanBeanInfo.java").toURL();
}
}
\ No newline at end of file
--- 22,31 ----
}
! protected URL getTestSource() {
! return
getResourceRelativeToThisPackage("../../testapp/pojo/MyBean.java");
}
protected URL getExpected() throws MalformedURLException {
! return
getResourceRelativeToThisPackage("../../testapp/pojo/MyBeanBeanInfo.java");
}
}
\ No newline at end of file
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