Walter Christian Guardia Casas:
Hi,
You need configure your build.properties, in this file you point to server and this dependencies are on common libraries. (portal-service.jar).
Regards
Walter,
This is my build.properties
1pablo@DELL:~/development/liferay/liferay_svn/plugins/trunk$ cat build.properties
2##
3## DO NOT EDIT THIS FILE.
4##
5## To update the properties of this file, create a separate properties file
6## named "build.${user.name}.properties" with the properties to overwrite.
7##
8
9##
10## Application Server
11##
12
13 #
14 # The default settings are for Tomcat. Additional settings are left
15 # commented out as examples.
16 #
17
18 #
19 # Specify the paths to an unzipped Geronimo bundle.
20 #
21 #app.server.type=geronimo
22 #app.server.dir=${project.dir}/../bundles/geronimo-2.2.0
23 #app.server.deploy.dir=${app.server.dir}/deploy
24 #app.server.lib.global.dir=${app.server.dir}/var/shared/lib
25 #app.server.portal.dir=${app.server.dir}/deploy/liferay-portal.war
26
27 #
28 # Specify the paths to an unzipped Glassfish bundle.
29 #
30 #app.server.type=glassfish
31 #app.server.dir=${project.dir}/../bundles/glassfish-3.0.0
32 #app.server.deploy.dir=${app.server.dir}/autodeploy
33 #app.server.lib.global.dir=${app.server.dir}/domains/domain1/lib
34 #app.server.portal.dir=${app.server.dir}/domains/domain1/applications/liferay-portal
35
36 #
37 # Specify the paths to an unzipped JBoss bundle.
38 #
39 #app.server.type=jboss
40 #app.server.dir=${project.dir}/../bundles/jboss-5.1.0
41 #app.server.deploy.dir=${app.server.dir}/server/default/deploy
42 #app.server.lib.global.dir=${app.server.dir}/server/default/lib/ext
43 #app.server.portal.dir=${app.server.dir}/server/default/deploy/ROOT.war
44
45 #
46 # Specify the paths to an unzipped Jetty bundle.
47 #
48 #app.server.type=jetty
49 #app.server.dir=${project.dir}/../bundles/jetty-6.1.23
50 #app.server.deploy.dir=${app.server.dir}/webapps
51 #app.server.lib.global.dir=${app.server.dir}/lib/liferay
52 #app.server.portal.dir=${app.server.dir}/webapps/root
53
54 #
55 # Specify the paths to an unzipped JOnAS bundle.
56 #
57 #app.server.type=jonas
58 #app.server.dir=${project.dir}/../bundles/jonas-5.1.1
59 #app.server.deploy.dir=${app.server.dir}/deploy
60 #app.server.lib.global.dir=${app.server.dir}/lib/ext
61 #app.server.portal.dir=${app.server.dir}/deploy/liferay-portal.war
62
63 #
64 # Specify the paths to an unzipped Resin bundle.
65 #
66 #app.server.type=resin
67 #app.server.dir=${project.dir}/../bundles/resin-3.1.9
68 #app.server.deploy.dir=${app.server.dir}/webapps
69 #app.server.lib.global.dir=${app.server.dir}/ext-lib
70 #app.server.portal.dir=${app.server.dir}/webapps/ROOT
71
72 #
73 # Specify the paths to an unzipped Tomcat bundle.
74 #
75 app.server.type=tomcat
76 app.server.dir=${project.dir}/../bundles/tomcat-6.0.32
77 app.server.deploy.dir=${app.server.dir}/webapps
78 app.server.lib.global.dir=${app.server.dir}/lib/ext
79 app.server.portal.dir=${app.server.dir}/webapps/ROOT
80
81##
82## Auto Deploy
83##
84
85 #
86 # Plugins will be deployed to this directory. Make sure that Liferay is
87 # also set to scan this directory.
88 #
89 auto.deploy.dir=${app.server.dir}/../deploy
90
91 #
92 # Set this to true if deployed WARs are unpacked. Set this to false your
93 # application server has concurrency issues with deploying large WARs.
94 #
95 auto.deploy.unpack.war=true
96
97 #
98 # Set this to true if you want the deployer to rename portlet.xml to
99 # portlet-custom.xml. This is only needed when deploying the portal on
100 # WebSphere 6.1.x with a version before 6.1.0.7 because WebSphere's portlet
101 # container will try to process a portlet at the same time that Liferay is
102 # trying to process a portlet.
103 #
104 auto.deploy.custom.portlet.xml=false
105
106##
107## Compiler
108##
109
110 ant.build.javac.source=1.5
111 ant.build.javac.target=1.5
112
113 #javac.compiler=modern
114 javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter
115
116 javac.debug=on
117 javac.deprecation=off
118 javac.encoding=ISO-8859-1
119 javac.nowarn=on
120
121##
122## Database
123##
124
125 #
126 # Set the database name used by the SQL scripts.
127 #
128 database.name=lportal
129
130 #
131 # Set the database server types to build SQL scripts for.
132 #
133 database.types=db2,derby,firebird,hypersonic,informix,ingres,interbase,jdatastore,mysql,oracle,postgresql,sap,sqlserver,sybase
134 #database.types=mysql
135
136##
137## Extension Environment
138##
139
140 #ext.work.dir=
141
142##
143## JUnit
144##
145
146 junit.debug.jpda=
147 #junit.debug.jpda=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
148
149##
150## Libraries
151##
152
153 required.portal.jars=commons-logging.jar,log4j.jar,util-bridges.jar,util-java.jar,util-taglib.jar
154
155##
156## Operating Systems
157##
158
159 os.apple=Mac OS X
160 os.unix=Linux,FreeBSD,Solaris,SunOS
161 os.windows=Windows 95,Windows 98,Windows NT,Windows 2000,Windows 2003,Windows XP,Windows Vista,Windows 7
162
163##
164## Plugins
165##
166
167 #
168 # Set the excludes and includes attributes. These attributes are read when
169 # you run "ant" from the layouttpl, portlets, or themes directory. By
170 # default, the ant task will go through every subdirectory. Setting these
171 # attributes can limit it to just the plugins you're working on.
172 #
173 plugins.excludes=
174 plugins.includes=*
175
176 #
177 # Set the excludes and includes attributes for converting a bundle that has
178 # the portal and a set of deployed plugins into an EAR file. The web
179 # applications that match these attributes will be included into the
180 # generated liferay-portal.ear via the command "ant ear".
181 #
182 # For example, if you are using Tomcat, then the directory specified in
183 # the property "app.server.deploy.dir" will point to
184 # ${app.server.dir}/webapps by default. Running "ant ear" will create an EAR
185 # based on all the WARs in that directory with names that match the excludes
186 # and includes from these two properties.
187 #
188 plugins.ear.excludes=
189 plugins.ear.includes=tunnel-web
190
191##
192## SVN
193##
194
195 svn.enabled=false
196
197##
198## Version
199##
200
201 #
202 # Set the version of Liferay Portal that these plugins are designed for.
203 #
204 lp.version=6.1.0
205pablo@DELL:~/development/liferay/liferay_svn/plugins/trunk$
Please sign in to flag this as inappropriate.