Laliwala IT Services

Laliwala IT Services
Website Development

Saturday, February 19, 2011

Liferay Ant Installation, liferay property, liferay variables, Liferay Create War File, ant home, liferay xml file, liferay layout tutorial









Albern :     Hi all liferay developers ,
                                I need your help in liferay portal development : i install Ant and edit the path. But still i cant create a .war file of my layout.
                               
                                i got the error
                               
                                help me to create a war file
                               
Russell                   : Hi
                               
                                You need to set ANT_HOME property in environment variables.
                               
                                Regards.
                               
Albern                   : How to Add ANT_HOME property in liferay
                               
                                The below mentioned process is wright or need to change
                                Environmental variables->user variables -> variable name ANT_HOME
                                value :d:\Software setup\ant
                               
Russell                   : Yes but you have to set it into your Path.
                               
                                Environment Variables -> System Variables -> Variable Name 'Path'
                               
                                Value "ADD %ANT_HOME%\bin;" in existing value.
                               
                                Regards,
                               
Albern                   : Hi all liferay developers,
                                thank you for liferay help,
                                i already edit the path like at the end of the value i just add ";d:\Software setup\ant\bin"
                               
                                is it ok or i remove that and add the ADD%ANT_HOME%\bin;"
                               
Russell                   : Both should work. You can verify it after setting the path.
                               
                                Please remove 'ADD' from "ADD %ANT_HOME%\bin;" (it should be %ANT_HOME%\bin; without ADD and double quotes)
                               
                                Just go to command prompt and give ant command.
                               
                                it should ask for build.xml file.
                               
                                Regards,
                               
Albern                   : Sorry! i cant get your point.
                                Ant command is "ant clean deploy"  in liferay ?
                               
Russell                   : Goto command prompt after setting the path and just type ant and enter.
                               
                                it should give you following message:
                               
                                Buildfile: build.xml does not exist!
                               
                                Build failed
                               
                                Russell
                               
Russell                   : hi developer,
                               
                                Thank you very much for this tutorial.
                               


liferay portal development
















































































































































































liferay portal development


alfresco liferay development, alfresco liferay developer training, liferay developer training services, liferay training services india, liferay training services usa, lifery training services uk, liferay trainer provider

No comments:

Post a Comment