Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] [SERVLET] Annotation parsing when metadata-complete is true

Any annotation that corresponds to a deployment descriptor entry should be ignored.  All the deployment information comes from the descriptor.  Obviously annotations are used for lots of other purposes by lots of other libraries, APIs, etc. and so metadatacomplete=true does not mean "ignore all annotations everywhere".

Olivier Lamy wrote on 10/22/19 4:50 PM:
Hi,
I'm a bit confused with TCK test com/sun/ts/tests/servlet/spec/security/metadatacomplete/Client.java.test5

Reading the specs:
part of 15.5.1 says:
If metadatacomplete is set to "true", the deployment tool only examines the web.xml file and must ignore annotations such as @WebServlet, @WebFilter, and @WebListener present in the class files of the application, and must also ignore any webfragment.xml descriptor packaged in a jar file in WEB-INF/lib. 

But should other annotations be ignored as well such @ServletSecurity etc...

Regards
--
Olivier

_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev


Back to the top