[jboss-dev-forums] [Design of POJO Server] - Re: Annotation to metadata status
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Nov 21 11:32:32 EST 2007
I'm seeing this command line compile error that I don't see in eclipse:
| [INFO] ------------------------------------------------------------------------
| [INFO] Compilation failure
|
| /home/svn/JBossHead/projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/JBoss50UnitTestCase.java:[32,26] [deprecation] org.jboss.metadata.ApplicationMetaData in org.jboss.metadata has been deprecated
|
| ...
|
| /home/svn/JBossHead/projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/AnnotationEjb3UnitTestCase.java:[533,80] inconvertible types
| found : java.util.Collection<java.lang.Class<?>>
| required: java.util.Collection<java.lang.Class>
|
Eclipse must be less strict in its type cast checking. As a side question, why are there still deprecation warnings on the command line when the AbstractJavaEEEverythingTest has a class level @SuppressWarnings("deprecation")?
| @SuppressWarnings("deprecation")
| public abstract class AbstractEJBEverythingTest extends AbstractJavaEEEverythingTest
| {
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106811#4106811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106811
More information about the jboss-dev-forums
mailing list