Hello,
It's me again
I was trying to install my portlets in a Linux environment so I copied all the two folders
liferay-plugins-sdk-6.1.1 & liferay-portal-6.1.1-ce-ga2 from windows to /opt/portal
and I started my ./standalone.sh and it worked perfectly but when I want to create a portlet from ./create.sh I have this message
BUILD FAILED
/opt/Portal/liferay-plugins-sdk-6.1.1/XMLPortletFactory/build.xml:36: The following error occurred while executing this line:
/opt/Portal/liferay-plugins-sdk-6.1.1/XMLPortletFactory/build.xml:84: /opt/Portal/bundles/tomcat-7.0.27/webapps/ROOT/WEB-INF/tld does not exist.after this I copied the tomcat to bundles and it created the portlet BUT when I try to make ant in the folder I get these errores :
BUILD FAILED
/opt/Portal/liferay-plugins-sdk-6.1.1/XMLPortletFactory/tesP-xmlportletfactory/build.xml:25: The following error occurred while executing this line:
/opt/Portal/liferay-plugins-sdk-6.1.1/build-common-plugin.xml:229: /opt/Portal/liferay-plugins-sdk-6.1.1/portlets/tesP-portlet/bundles/tomcat-7.0.27/lib/ext does not exist.I have done the following export :
export JAVA_HOME=/opt/jre/
export ANT_HOME=/opt/apache-ant-1.8.4/
export LIFERAY_HOME=/opt/Portal/liferay-portal-6.1.1-ce-ga2/
export PATH=${ANT_HOME}/bin:${JAVA_HOME}/bin:${PATH}:${LIFERAY_HOME}/jboss-7.1.1/bin
What should I do ?
Thanks alot