Hi,
I'm developing a base model to be shared by a considerable number of portlets. So, I created an standard java project, put some classes in there, and set Eclipse's (well, liferay IDE actually) deployment assembly to depend on this java project. When I try to deploy it locally, things go fine and the jar gets added to webinf/lib the deployed portlet, but when I want to move it beyond that by getting the SDK to build me a WAR file I can use on other environments the war doesn't include this jar. I assume this is either because plugins SDK conifguration is independent from eclipse's and doesn't know it needs to add one more jar, or because I need to ask eclipse to keep the jar file on the webinf/lib constantly and not only add it during deployment. How can I do that?
Due to management decision, each portlet must remain in it's own war, so I can't put them all in one project. Adding my jar to tomcat's lib folder could be a solution later on, but the model is much too young right now and keeps changing very fast, so uploading it every time would be quite a pain.
Please sign in to flag this as inappropriate.