Status: Closed (View Workflow)
User is creating a Archive
The known Archive types should match given archive name extensions.
Warning; Creating an archive of type WebArchive but given name does not match to predefined name extension; .war
Nothing.. waits for Arquillian to fail.
This is a very common and annoying user error. The Container/Server will 99% of the time rely on the deployment file extension to determine what type of archive this is. While our 'WebArchive' Archive types are only convenience views on how to add data to correct locations within the target archive and can be any type; we choose to validate this runtime in Arquillian core to warn that 'hey, this is probably not what you intended to do' to hopefully save users from a few hours pointless debugging.
Our validation logic is; if extension does not match, but Archive is of Type then warn.
That allows users to use Custom views without warning.