Foren
CREATE CONFIGURATION FILES (page 31)
ilke Muhtaroglu, geändert vor 14 Jahren.
CREATE CONFIGURATION FILES (page 31)
Regular Member Beiträge: 226 Beitrittsdatum: 12.05.09 Neueste Beiträge
please can someone detail how to fill in
the ${project.dir}/../source, ${project.dir}/../ext, ${project.dir}/../../plugins/build parts ?
they are really confusing!
...liferay-administration-guide-5.1.pdf CREATE CONFIGURATION FILES page 31...
i have the source code checked out to folder "C:\Users\ilke\Desktop\CS\Liferay\portal" ...
ilke
##
## Release Source
##
lp.source.dir=${project.dir}/../source
##
## Extension Environment
##
lp.ext.dir=${project.dir}/../ext
##
## Plugins Environment
##
lp.plugins.dir=${project.dir}/../../plugins/build
the ${project.dir}/../source, ${project.dir}/../ext, ${project.dir}/../../plugins/build parts ?
they are really confusing!
...liferay-administration-guide-5.1.pdf CREATE CONFIGURATION FILES page 31...
i have the source code checked out to folder "C:\Users\ilke\Desktop\CS\Liferay\portal" ...
ilke
##
## Release Source
##
lp.source.dir=${project.dir}/../source
##
## Extension Environment
##
lp.ext.dir=${project.dir}/../ext
##
## Plugins Environment
##
lp.plugins.dir=${project.dir}/../../plugins/build
ilke Muhtaroglu, geändert vor 14 Jahren.
RE: CREATE CONFIGURATION FILES (page 31)
Regular Member Beiträge: 226 Beitrittsdatum: 12.05.09 Neueste Beiträge
why noone answer such an easy question ???
okey what i do have in my hands =
##
## Release Source
##
lp.source.dir=${project.dir}/../source
I downloaded the liferay to folder "C:\Users\ilke\Desktop\CS\Liferay\portal" as advised, so my source lies there. should i change it to
##
## Release Source
##
lp.source.dir=C:\Users\ilke\Desktop\CS\Liferay\portal
???
##
## Extension Environment
##
lp.ext.dir=${project.dir}/../ext
it is advised to point to such a directory called "ext" (that is not supposed to be created but just addressed) which is at parent folder of Liferay source code folder "portal". In my case should it be
##
## Extension Environment
##
lp.ext.dir=C:/Users/ilke/Desktop/CS/Liferay/ext
finally
##
## Plugins Environment
##
lp.plugins.dir=${project.dir}/../../plugins/build
i dont know what this is for! Should i just simply ignore/omit/delete this folder? Do i need it to start coding in eclipse environment ???
and finally in order to code at eclipse environment
should i add
##
## Eclipse
##
lp.eclipse.dir=C:/Program Files/eclipse
lp.eclipse.project.name=ext
----------------
or should i do changes to the whole content of the "release.ilke.properties" file. (I figured out this shouldn't be the case since at release.properties file it says
##
## DO NOT EDIT THIS FILE.
##
## To update the properties of this file, create a separate properties file
## named "release.${user.name}.properties" with the properties to overwrite.
##
so that i provide only the properties that are stated at liferay administration guide to overwrite...
)
release.properties file at Liferay 5.2 source code is as follows:
##
## DO NOT EDIT THIS FILE.
##
## To update the properties of this file, create a separate properties file
## named "release.${user.name}.properties" with the properties to overwrite.
##
##
## Version
##
lp.version=5.1.2
##
## Release Info
##
#release.info=on
##
## Release Source
##
lp.source.dir=${project.dir}/../source
##
## Extension Environment
##
lp.ext.dir=${project.dir}/../ext
##
## Plugins Environment
##
lp.plugins.dir=${project.dir}/../../plugins/build
##
## Eclipse
##
lp.eclipse.dir=D:/Projects/liferay/portal/eclipse
lp.eclipse.project.name=ext
##
## SVN
##
svn.username=
svn.password=
svn.revision=
##
## AntInstaller
##
ant.installer.dir=C:/Java/ant-installer-0.7.4
okey what i do have in my hands =
##
## Release Source
##
lp.source.dir=${project.dir}/../source
I downloaded the liferay to folder "C:\Users\ilke\Desktop\CS\Liferay\portal" as advised, so my source lies there. should i change it to
##
## Release Source
##
lp.source.dir=C:\Users\ilke\Desktop\CS\Liferay\portal
???
##
## Extension Environment
##
lp.ext.dir=${project.dir}/../ext
it is advised to point to such a directory called "ext" (that is not supposed to be created but just addressed) which is at parent folder of Liferay source code folder "portal". In my case should it be
##
## Extension Environment
##
lp.ext.dir=C:/Users/ilke/Desktop/CS/Liferay/ext
finally
##
## Plugins Environment
##
lp.plugins.dir=${project.dir}/../../plugins/build
i dont know what this is for! Should i just simply ignore/omit/delete this folder? Do i need it to start coding in eclipse environment ???
and finally in order to code at eclipse environment
should i add
##
## Eclipse
##
lp.eclipse.dir=C:/Program Files/eclipse
lp.eclipse.project.name=ext
----------------
or should i do changes to the whole content of the "release.ilke.properties" file. (I figured out this shouldn't be the case since at release.properties file it says
##
## DO NOT EDIT THIS FILE.
##
## To update the properties of this file, create a separate properties file
## named "release.${user.name}.properties" with the properties to overwrite.
##
so that i provide only the properties that are stated at liferay administration guide to overwrite...
)
release.properties file at Liferay 5.2 source code is as follows:
##
## DO NOT EDIT THIS FILE.
##
## To update the properties of this file, create a separate properties file
## named "release.${user.name}.properties" with the properties to overwrite.
##
##
## Version
##
lp.version=5.1.2
##
## Release Info
##
#release.info=on
##
## Release Source
##
lp.source.dir=${project.dir}/../source
##
## Extension Environment
##
lp.ext.dir=${project.dir}/../ext
##
## Plugins Environment
##
lp.plugins.dir=${project.dir}/../../plugins/build
##
## Eclipse
##
lp.eclipse.dir=D:/Projects/liferay/portal/eclipse
lp.eclipse.project.name=ext
##
## SVN
##
svn.username=
svn.password=
svn.revision=
##
## AntInstaller
##
ant.installer.dir=C:/Java/ant-installer-0.7.4
Amos Fong, geändert vor 14 Jahren.
RE: CREATE CONFIGURATION FILES (page 31)
Liferay Legend Beiträge: 2047 Beitrittsdatum: 07.10.08 Neueste Beiträge
Are you trying to setup ext environment in eclipse?
Try looking at these links:
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Setting+up+the+Extension+Environment
http://rajcheram.wordpress.com/tag/how-to-build-liferay-52-ext-environmen/
Try looking at these links:
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Setting+up+the+Extension+Environment
http://rajcheram.wordpress.com/tag/how-to-build-liferay-52-ext-environmen/
ilke Muhtaroglu, geändert vor 14 Jahren.
RE: CREATE CONFIGURATION FILES (page 31)
Regular Member Beiträge: 226 Beitrittsdatum: 12.05.09 Neueste Beiträge
thanks for the links, ı just do follow them at the moment...
i have a question about setting "app.server.parent.dir" parameter at app.server.username.properties file...
in order to correctly point out to the "app.server.parent.dir" i have to point to the parent directory of ..\tomcat-5.5.27 , right ?
so this is "C:\Users\ilke\Desktop\CS\Liferay\liferay-portal-5.2.2" (directory "liferay-portal-5.2.2" comes automatically after unzipping the Liferay + tomcat bundle... )
1. set app.server.parent.dir=/home/username/software/liferay52
2. ## Tomcat ##
app.server.tomcat.version=5.5
app.server.tomcat.dir=${app.server.parent.dir}/tomcat-5.5.27
app.server.tomcat.bin.dir=${app.server.tomcat.dir}/bin
to sum up,
app.server.parent.dir directory should be the parent directory of "tomcat-5.5.27" ,right?
i have a question about setting "app.server.parent.dir" parameter at app.server.username.properties file...
in order to correctly point out to the "app.server.parent.dir" i have to point to the parent directory of ..\tomcat-5.5.27 , right ?
so this is "C:\Users\ilke\Desktop\CS\Liferay\liferay-portal-5.2.2" (directory "liferay-portal-5.2.2" comes automatically after unzipping the Liferay + tomcat bundle... )
1. set app.server.parent.dir=/home/username/software/liferay52
2. ## Tomcat ##
app.server.tomcat.version=5.5
app.server.tomcat.dir=${app.server.parent.dir}/tomcat-5.5.27
app.server.tomcat.bin.dir=${app.server.tomcat.dir}/bin
to sum up,
app.server.parent.dir directory should be the parent directory of "tomcat-5.5.27" ,right?
ilke Muhtaroglu, geändert vor 14 Jahren.
RE: CREATE CONFIGURATION FILES (page 31)
Regular Member Beiträge: 226 Beitrittsdatum: 12.05.09 Neueste Beiträge
thanks for the link it was useful !!
I will return soon with new questions...
ilke
I will return soon with new questions...
ilke
Amos Fong, geändert vor 14 Jahren.
RE: CREATE CONFIGURATION FILES (page 31)
Liferay Legend Beiträge: 2047 Beitrittsdatum: 07.10.08 Neueste Beiträgeto sum up,
app.server.parent.dir directory should be the parent directory of "tomcat-5.5.27" ,right?
Correct. So according to your settings, tomcat should be in this directory.
/home/username/software/liferay52/tomcat-5.5.27