External Java Project references in Vaadin Project

Hi,

Can I package an external java project as is inside a Vaadin project even for deployment.

The obvious solution would be to package the project as a .jar and put it in /WEB-INF/lib and tomcat classpath, but in my case I can’t afford to package the project as a .jar because of a few external jar files referred in external project.

Vaadin Project → External Project → External Jars → External Resources (txt file)

The reference in “External Jars” to External Resources is a relative path which perfectly when run from it’s own project but messes up when packaged in a jar.