I’m working with Liferay and generating portlets with a Apache Ant-based build.
I want to generate a portlet project only without compiling it’s codes.
How can I do it? What arguments must be passed to the ant command?
I’m working with Liferay and generating portlets with a Apache Ant-based build. I want
Share
There are 2 files in the
myProject-xmlportletfactoryfolder under theXmlPortletFactoryfolder: build.xml and myProject.xml.When I run the
antin this path, it runs the build.xml.In the buil.xml file, under the
<target>tag there are to<ant>tags, the first builds services and classes for the project and the second compiles and deploys the project. if I delete the second tag and run the ant, it will build the project only and dont compile it.