Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Pablo Miño
Knowledge base portlet dependencies??
June 25, 2011 2:54 PM
Answer

Pablo Miño

Rank: Junior Member

Posts: 44

Join Date: January 10, 2011

Recent Posts

Hi!
I've checked out from svn the portal and the plugins code, I've followed the instructions held in http://www.liferay.com/community/wiki/-/wiki/Main/Building+Liferay+distribution+files and building the portal succeeds but building the knowledge base portlet fails with many errors, I guess this is a library error but it shouldn't be like this because I've check all this code out from the svn.

What is missing and where should I get it?

Thank you.

  1pablo@DELL:~/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet$ ant all
  2Buildfile: /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/build.xml
  3
  4all:
  5
  6clean:
  7   [delete] Deleting directory /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/classes
  8
  9clean-portal-dependencies:
 10
 11compile:
 12
 13merge:
 14    [mkdir] Created dir: /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/classes
 15     [copy] Copying 7 files to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/lib
 16     [copy] Copying 1 file to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/tld
 17     [copy] Copying 5 files to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/lib
 18
 19compile-java:
 20    [javac] Compiling 95 source files to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/classes
 21    [javac] ----------
 22    [javac] 1. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 18)
 23    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
 24    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 25    [javac] The import com.liferay.documentlibrary cannot be resolved
 26    [javac] ----------
 27    [javac] 2. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 185)
 28    [javac]     byte[] bytes = DLLocalServiceUtil.getFile(
 29    [javac]                    ^^^^^^^^^^^^^^^^^^
 30    [javac] DLLocalServiceUtil cannot be resolved
 31    [javac] ----------
 32    [javac] 3. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 450)
 33    [javac]     DLLocalServiceUtil.addDirectory(
 34    [javac]     ^^^^^^^^^^^^^^^^^^
 35    [javac] DLLocalServiceUtil cannot be resolved
 36    [javac] ----------
 37    [javac] 4. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 471)
 38    [javac]     DLLocalServiceUtil.addFile(
 39    [javac]     ^^^^^^^^^^^^^^^^^^
 40    [javac] DLLocalServiceUtil cannot be resolved
 41    [javac] ----------
 42    [javac] 5. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 550)
 43    [javac]     DLLocalServiceUtil.addDirectory(
 44    [javac]     ^^^^^^^^^^^^^^^^^^
 45    [javac] DLLocalServiceUtil cannot be resolved
 46    [javac] ----------
 47    [javac] 6. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 575)
 48    [javac]     DLLocalServiceUtil.deleteDirectory(
 49    [javac]     ^^^^^^^^^^^^^^^^^^
 50    [javac] DLLocalServiceUtil cannot be resolved
 51    [javac] ----------
 52    [javac] ----------
 53    [javac] 7. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 17)
 54    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
 55    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 56    [javac] The import com.liferay.documentlibrary cannot be resolved
 57    [javac] ----------
 58    [javac] 8. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 18)
 59    [javac]     import com.liferay.documentlibrary.FileNameException;
 60    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 61    [javac] The import com.liferay.documentlibrary cannot be resolved
 62    [javac] ----------
 63    [javac] 9. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 19)
 64    [javac]     import com.liferay.documentlibrary.FileSizeException;
 65    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 66    [javac] The import com.liferay.documentlibrary cannot be resolved
 67    [javac] ----------
 68    [javac] 10. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 20)
 69    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
 70    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 71    [javac] The import com.liferay.documentlibrary cannot be resolved
 72    [javac] ----------
 73    [javac] 11. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 21)
 74    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
 75    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 76    [javac] The import com.liferay.documentlibrary cannot be resolved
 77    [javac] ----------
 78    [javac] 12. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 337)
 79    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
 80    [javac]                      ^^^^^^^^^^^^^^^^^^
 81    [javac] DLLocalServiceUtil cannot be resolved
 82    [javac] ----------
 83    [javac] 13. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 692)
 84    [javac]     if (cause instanceof DuplicateFileException ||
 85    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 86    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
 87    [javac] ----------
 88    [javac] 14. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 692)
 89    [javac]     if (cause instanceof DuplicateFileException ||
 90    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
 91    [javac] DuplicateFileException cannot be resolved to a type
 92    [javac] ----------
 93    [javac] 15. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 697)
 94    [javac]     cause instanceof FileNameException ||
 95    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 96    [javac] Incompatible conditional operand types Throwable and FileNameException
 97    [javac] ----------
 98    [javac] 16. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 697)
 99    [javac]     cause instanceof FileNameException ||
100    [javac]                      ^^^^^^^^^^^^^^^^^
101    [javac] FileNameException cannot be resolved to a type
102    [javac] ----------
103    [javac] 17. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 698)
104    [javac]     cause instanceof FileSizeException ||
105    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
106    [javac] Incompatible conditional operand types Throwable and FileSizeException
107    [javac] ----------
108    [javac] 18. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 698)
109    [javac]     cause instanceof FileSizeException ||
110    [javac]                      ^^^^^^^^^^^^^^^^^
111    [javac] FileSizeException cannot be resolved to a type
112    [javac] ----------
113    [javac] 19. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 713)
114    [javac]     cause instanceof NoSuchFileException ||
115    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
117    [javac] ----------
118    [javac] 20. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 713)
119    [javac]     cause instanceof NoSuchFileException ||
120    [javac]                      ^^^^^^^^^^^^^^^^^^^
121    [javac] NoSuchFileException cannot be resolved to a type
122    [javac] ----------
123    [javac] ----------
124    [javac] 21. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/util/AdminSubscriptionSender.java (at line 17)
125    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
126    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
127    [javac] The import com.liferay.documentlibrary cannot be resolved
128    [javac] ----------
129    [javac] 22. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/util/AdminSubscriptionSender.java (at line 84)
130    [javac]     long kb = DLLocalServiceUtil.getFileSize(
131    [javac]               ^^^^^^^^^^^^^^^^^^
132    [javac] DLLocalServiceUtil cannot be resolved
133    [javac] ----------
134    [javac] ----------
135    [javac] 23. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 17)
136    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
137    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
138    [javac] The import com.liferay.documentlibrary cannot be resolved
139    [javac] ----------
140    [javac] 24. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 18)
141    [javac]     import com.liferay.documentlibrary.FileNameException;
142    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
143    [javac] The import com.liferay.documentlibrary cannot be resolved
144    [javac] ----------
145    [javac] 25. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 19)
146    [javac]     import com.liferay.documentlibrary.FileSizeException;
147    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
148    [javac] The import com.liferay.documentlibrary cannot be resolved
149    [javac] ----------
150    [javac] 26. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 20)
151    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
152    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
153    [javac] The import com.liferay.documentlibrary cannot be resolved
154    [javac] ----------
155    [javac] 27. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 21)
156    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
157    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
158    [javac] The import com.liferay.documentlibrary cannot be resolved
159    [javac] ----------
160    [javac] 28. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 229)
161    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
162    [javac]                      ^^^^^^^^^^^^^^^^^^
163    [javac] DLLocalServiceUtil cannot be resolved
164    [javac] ----------
165    [javac] 29. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 553)
166    [javac]     if (cause instanceof DuplicateFileException ||
167    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
168    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
169    [javac] ----------
170    [javac] 30. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 553)
171    [javac]     if (cause instanceof DuplicateFileException ||
172    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
173    [javac] DuplicateFileException cannot be resolved to a type
174    [javac] ----------
175    [javac] 31. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 554)
176    [javac]     cause instanceof FileNameException ||
177    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
178    [javac] Incompatible conditional operand types Throwable and FileNameException
179    [javac] ----------
180    [javac] 32. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 554)
181    [javac]     cause instanceof FileNameException ||
182    [javac]                      ^^^^^^^^^^^^^^^^^
183    [javac] FileNameException cannot be resolved to a type
184    [javac] ----------
185    [javac] 33. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 555)
186    [javac]     cause instanceof FileSizeException ||
187    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188    [javac] Incompatible conditional operand types Throwable and FileSizeException
189    [javac] ----------
190    [javac] 34. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 555)
191    [javac]     cause instanceof FileSizeException ||
192    [javac]                      ^^^^^^^^^^^^^^^^^
193    [javac] FileSizeException cannot be resolved to a type
194    [javac] ----------
195    [javac] 35. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 565)
196    [javac]     cause instanceof NoSuchFileException ||
197    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
198    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
199    [javac] ----------
200    [javac] 36. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 565)
201    [javac]     cause instanceof NoSuchFileException ||
202    [javac]                      ^^^^^^^^^^^^^^^^^^^
203    [javac] NoSuchFileException cannot be resolved to a type
204    [javac] ----------
205    [javac] ----------
206    [javac] 37. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 17)
207    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
208    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
209    [javac] The import com.liferay.documentlibrary cannot be resolved
210    [javac] ----------
211    [javac] 38. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 18)
212    [javac]     import com.liferay.documentlibrary.FileNameException;
213    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
214    [javac] The import com.liferay.documentlibrary cannot be resolved
215    [javac] ----------
216    [javac] 39. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 19)
217    [javac]     import com.liferay.documentlibrary.FileSizeException;
218    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
219    [javac] The import com.liferay.documentlibrary cannot be resolved
220    [javac] ----------
221    [javac] 40. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 20)
222    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
223    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
224    [javac] The import com.liferay.documentlibrary cannot be resolved
225    [javac] ----------
226    [javac] 41. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 21)
227    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
228    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
229    [javac] The import com.liferay.documentlibrary cannot be resolved
230    [javac] ----------
231    [javac] 42. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 241)
232    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
233    [javac]                      ^^^^^^^^^^^^^^^^^^
234    [javac] DLLocalServiceUtil cannot be resolved
235    [javac] ----------
236    [javac] 43. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 630)
237    [javac]     if (cause instanceof DuplicateFileException ||
238    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
239    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
240    [javac] ----------
241    [javac] 44. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 630)
242    [javac]     if (cause instanceof DuplicateFileException ||
243    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
244    [javac] DuplicateFileException cannot be resolved to a type
245    [javac] ----------
246    [javac] 45. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 631)
247    [javac]     cause instanceof FileNameException ||
248    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
249    [javac] Incompatible conditional operand types Throwable and FileNameException
250    [javac] ----------
251    [javac] 46. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 631)
252    [javac]     cause instanceof FileNameException ||
253    [javac]                      ^^^^^^^^^^^^^^^^^
254    [javac] FileNameException cannot be resolved to a type
255    [javac] ----------
256    [javac] 47. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 632)
257    [javac]     cause instanceof FileSizeException ||
258    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
259    [javac] Incompatible conditional operand types Throwable and FileSizeException
260    [javac] ----------
261    [javac] 48. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 632)
262    [javac]     cause instanceof FileSizeException ||
263    [javac]                      ^^^^^^^^^^^^^^^^^
264    [javac] FileSizeException cannot be resolved to a type
265    [javac] ----------
266    [javac] 49. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 642)
267    [javac]     cause instanceof NoSuchFileException ||
268    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
269    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
270    [javac] ----------
271    [javac] 50. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 642)
272    [javac]     cause instanceof NoSuchFileException ||
273    [javac]                      ^^^^^^^^^^^^^^^^^^^
274    [javac] NoSuchFileException cannot be resolved to a type
275    [javac] ----------
276    [javac] ----------
277    [javac] 51. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 17)
278    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
279    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
280    [javac] The import com.liferay.documentlibrary cannot be resolved
281    [javac] ----------
282    [javac] 52. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 34)
283    [javac]     String[] fileNames = DLLocalServiceUtil.getFileNames(
284    [javac]                          ^^^^^^^^^^^^^^^^^^
285    [javac] DLLocalServiceUtil cannot be resolved
286    [javac] ----------
287    [javac] 53. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 45)
288    [javac]     DLLocalServiceUtil.deleteDirectory(
289    [javac]     ^^^^^^^^^^^^^^^^^^
290    [javac] DLLocalServiceUtil cannot be resolved
291    [javac] ----------
292    [javac] 54. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 61)
293    [javac]     DLLocalServiceUtil.addDirectory(
294    [javac]     ^^^^^^^^^^^^^^^^^^
295    [javac] DLLocalServiceUtil cannot be resolved
296    [javac] ----------
297    [javac] 55. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 64)
298    [javac]     String[] fileNames = DLLocalServiceUtil.getFileNames(
299    [javac]                          ^^^^^^^^^^^^^^^^^^
300    [javac] DLLocalServiceUtil cannot be resolved
301    [javac] ----------
302    [javac] 56. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 74)
303    [javac]     byte[] bytes = DLLocalServiceUtil.getFile(
304    [javac]                    ^^^^^^^^^^^^^^^^^^
305    [javac] DLLocalServiceUtil cannot be resolved
306    [javac] ----------
307    [javac] 57. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 78)
308    [javac]     DLLocalServiceUtil.addFile(
309    [javac]     ^^^^^^^^^^^^^^^^^^
310    [javac] DLLocalServiceUtil cannot be resolved
311    [javac] ----------
312    [javac] 58. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 87)
313    [javac]     DLLocalServiceUtil.deleteDirectory(
314    [javac]     ^^^^^^^^^^^^^^^^^^
315    [javac] DLLocalServiceUtil cannot be resolved
316    [javac] ----------
317    [javac] ----------
318    [javac] 59. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 17)
319    [javac]     import com.liferay.documentlibrary.NoSuchDirectoryException;
320    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
321    [javac] The import com.liferay.documentlibrary cannot be resolved
322    [javac] ----------
323    [javac] 60. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 18)
324    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
325    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
326    [javac] The import com.liferay.documentlibrary cannot be resolved
327    [javac] ----------
328    [javac] 61. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 46)
329    [javac]     return DLLocalServiceUtil.getFileNames(
330    [javac]            ^^^^^^^^^^^^^^^^^^
331    [javac] DLLocalServiceUtil cannot be resolved
332    [javac] ----------
333    [javac] 62. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 50)
334    [javac]     catch (NoSuchDirectoryException nsde) {
335    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^
336    [javac] NoSuchDirectoryException cannot be resolved to a type
337    [javac] ----------
338    [javac] ----------
339    [javac] 63. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 17)
340    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
341    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
342    [javac] The import com.liferay.documentlibrary cannot be resolved
343    [javac] ----------
344    [javac] 64. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 18)
345    [javac]     import com.liferay.documentlibrary.FileNameException;
346    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
347    [javac] The import com.liferay.documentlibrary cannot be resolved
348    [javac] ----------
349    [javac] 65. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 19)
350    [javac]     import com.liferay.documentlibrary.FileSizeException;
351    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
352    [javac] The import com.liferay.documentlibrary cannot be resolved
353    [javac] ----------
354    [javac] 66. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 20)
355    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
356    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
357    [javac] The import com.liferay.documentlibrary cannot be resolved
358    [javac] ----------
359    [javac] 67. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 21)
360    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
361    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
362    [javac] The import com.liferay.documentlibrary cannot be resolved
363    [javac] ----------
364    [javac] 68. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 229)
365    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
366    [javac]                      ^^^^^^^^^^^^^^^^^^
367    [javac] DLLocalServiceUtil cannot be resolved
368    [javac] ----------
369    [javac] 69. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 544)
370    [javac]     if (cause instanceof DuplicateFileException ||
371    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
372    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
373    [javac] ----------
374    [javac] 70. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 544)
375    [javac]     if (cause instanceof DuplicateFileException ||
376    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
377    [javac] DuplicateFileException cannot be resolved to a type
378    [javac] ----------
379    [javac] 71. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 545)
380    [javac]     cause instanceof FileNameException ||
381    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
382    [javac] Incompatible conditional operand types Throwable and FileNameException
383    [javac] ----------
384    [javac] 72. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 545)
385    [javac]     cause instanceof FileNameException ||
386    [javac]                      ^^^^^^^^^^^^^^^^^
387    [javac] FileNameException cannot be resolved to a type
388    [javac] ----------
389    [javac] 73. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 546)
390    [javac]     cause instanceof FileSizeException ||
391    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
392    [javac] Incompatible conditional operand types Throwable and FileSizeException
393    [javac] ----------
394    [javac] 74. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 546)
395    [javac]     cause instanceof FileSizeException ||
396    [javac]                      ^^^^^^^^^^^^^^^^^
397    [javac] FileSizeException cannot be resolved to a type
398    [javac] ----------
399    [javac] 75. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 556)
400    [javac]     cause instanceof NoSuchFileException ||
401    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
402    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
403    [javac] ----------
404    [javac] 76. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 556)
405    [javac]     cause instanceof NoSuchFileException ||
406    [javac]                      ^^^^^^^^^^^^^^^^^^^
407    [javac] NoSuchFileException cannot be resolved to a type
408    [javac] ----------
409    [javac] ----------
410    [javac] 77. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 19)
411    [javac]     import com.liferay.documentlibrary.service.DLLocalService;
412    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
413    [javac] The import com.liferay.documentlibrary cannot be resolved
414    [javac] ----------
415    [javac] 78. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 582)
416    [javac]     public DLLocalService getDLLocalService() {
417    [javac]            ^^^^^^^^^^^^^^
418    [javac] DLLocalService cannot be resolved to a type
419    [javac] ----------
420    [javac] 79. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 583)
421    [javac]     return dlLocalService;
422    [javac]            ^^^^^^^^^^^^^^
423    [javac] DLLocalService cannot be resolved to a type
424    [javac] ----------
425    [javac] 80. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 591)
426    [javac]     public void setDLLocalService(DLLocalService dlLocalService) {
427    [javac]                                   ^^^^^^^^^^^^^^
428    [javac] DLLocalService cannot be resolved to a type
429    [javac] ----------
430    [javac] 81. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 592)
431    [javac]     this.dlLocalService = dlLocalService;
432    [javac]     ^^^^^^^^^^^^^^^^^^^
433    [javac] DLLocalService cannot be resolved to a type
434    [javac] ----------
435    [javac] 82. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 1200)
436    [javac]     @BeanReference(type = DLLocalService.class)
437    [javac]                           ^^^^^^^^^^^^^^
438    [javac] DLLocalService cannot be resolved to a type
439    [javac] ----------
440    [javac] 83. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 1201)
441    [javac]     protected DLLocalService dlLocalService;
442    [javac]               ^^^^^^^^^^^^^^
443    [javac] DLLocalService cannot be resolved to a type
444    [javac] ----------
445    [javac] ----------
446    [javac] 84. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 19)
447    [javac]     import com.liferay.documentlibrary.service.DLLocalService;
448    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
449    [javac] The import com.liferay.documentlibrary cannot be resolved
450    [javac] ----------
451    [javac] 85. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 322)
452    [javac]     public DLLocalService getDLLocalService() {
453    [javac]            ^^^^^^^^^^^^^^
454    [javac] DLLocalService cannot be resolved to a type
455    [javac] ----------
456    [javac] 86. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 323)
457    [javac]     return dlLocalService;
458    [javac]            ^^^^^^^^^^^^^^
459    [javac] DLLocalService cannot be resolved to a type
460    [javac] ----------
461    [javac] 87. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 331)
462    [javac]     public void setDLLocalService(DLLocalService dlLocalService) {
463    [javac]                                   ^^^^^^^^^^^^^^
464    [javac] DLLocalService cannot be resolved to a type
465    [javac] ----------
466    [javac] 88. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 332)
467    [javac]     this.dlLocalService = dlLocalService;
468    [javac]     ^^^^^^^^^^^^^^^^^^^
469    [javac] DLLocalService cannot be resolved to a type
470    [javac] ----------
471    [javac] 89. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 940)
472    [javac]     @BeanReference(type = DLLocalService.class)
473    [javac]                           ^^^^^^^^^^^^^^
474    [javac] DLLocalService cannot be resolved to a type
475    [javac] ----------
476    [javac] 90. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 941)
477    [javac]     protected DLLocalService dlLocalService;
478    [javac]               ^^^^^^^^^^^^^^
479    [javac] DLLocalService cannot be resolved to a type
480    [javac] ----------
481    [javac] ----------
482    [javac] 91. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 17)
483    [javac]     import com.liferay.documentlibrary.DuplicateDirectoryException;
484    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
485    [javac] The import com.liferay.documentlibrary cannot be resolved
486    [javac] ----------
487    [javac] 92. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 18)
488    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
489    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
490    [javac] The import com.liferay.documentlibrary cannot be resolved
491    [javac] ----------
492    [javac] 93. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 19)
493    [javac]     import com.liferay.documentlibrary.NoSuchDirectoryException;
494    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
495    [javac] The import com.liferay.documentlibrary cannot be resolved
496    [javac] ----------
497    [javac] 94. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 96)
498    [javac]     dlLocalService.addFile(
499    [javac]     ^^^^^^^^^^^^^^
500    [javac] DLLocalService cannot be resolved to a type
501    [javac] ----------
502    [javac] 95. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 219)
503    [javac]     dlLocalService.deleteFile(
504    [javac]     ^^^^^^^^^^^^^^
505    [javac] DLLocalService cannot be resolved to a type
506    [javac] ----------
507    [javac] 96. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 717)
508    [javac]     dlLocalService.addDirectory(
509    [javac]     ^^^^^^^^^^^^^^
510    [javac] DLLocalService cannot be resolved to a type
511    [javac] ----------
512    [javac] 97. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 730)
513    [javac]     byte[] bytes = dlLocalService.getFile(
514    [javac]                    ^^^^^^^^^^^^^^
515    [javac] DLLocalService cannot be resolved to a type
516    [javac] ----------
517    [javac] 98. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1042)
518    [javac]     dlLocalService.addDirectory(
519    [javac]     ^^^^^^^^^^^^^^
520    [javac] DLLocalService cannot be resolved to a type
521    [javac] ----------
522    [javac] 99. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1046)
523    [javac]     catch (DuplicateDirectoryException dde) {
524    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
525    [javac] DuplicateDirectoryException cannot be resolved to a type
526    [javac] ----------
527    [javac] 100. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1054)
528    [javac]     String[] fileNames = dlLocalService.getFileNames(
529    [javac]                          ^^^^^^^^^^^^^^
530    [javac] DLLocalService cannot be resolved to a type
531    [javac] ----------
532    [javac] 101. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1058)
533    [javac]     byte[] bytes = dlLocalService.getFile(
534    [javac]                    ^^^^^^^^^^^^^^
535    [javac] DLLocalService cannot be resolved to a type
536    [javac] ----------
537    [javac] 102. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1067)
538    [javac]     catch (DuplicateFileException dfe) {
539    [javac]            ^^^^^^^^^^^^^^^^^^^^^^
540    [javac] DuplicateFileException cannot be resolved to a type
541    [javac] ----------
542    [javac] 103. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1166)
543    [javac]     dlLocalService.addDirectory(
544    [javac]     ^^^^^^^^^^^^^^
545    [javac] DLLocalService cannot be resolved to a type
546    [javac] ----------
547    [javac] 104. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1169)
548    [javac]     String[] fileNames = dlLocalService.getFileNames(
549    [javac]                          ^^^^^^^^^^^^^^
550    [javac] DLLocalService cannot be resolved to a type
551    [javac] ----------
552    [javac] 105. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1176)
553    [javac]     dlLocalService.deleteDirectory(
554    [javac]     ^^^^^^^^^^^^^^
555    [javac] DLLocalService cannot be resolved to a type
556    [javac] ----------
557    [javac] 106. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1181)
558    [javac]     dlLocalService.deleteDirectory(
559    [javac]     ^^^^^^^^^^^^^^
560    [javac] DLLocalService cannot be resolved to a type
561    [javac] ----------
562    [javac] 107. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1214)
563    [javac]     dlLocalService.deleteDirectory(
564    [javac]     ^^^^^^^^^^^^^^
565    [javac] DLLocalService cannot be resolved to a type
566    [javac] ----------
567    [javac] 108. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1219)
568    [javac]     catch (NoSuchDirectoryException nsde) {
569    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^
570    [javac] NoSuchDirectoryException cannot be resolved to a type
571    [javac] ----------
572    [javac] 108 problems (108 errors)
573
574BUILD FAILED
575/home/pablo/development/liferay/liferay_svn/plugins/trunk/build-common-plugin.xml:45: The following error occurred while executing this line:
576/home/pablo/development/liferay/liferay_svn/plugins/trunk/build-common-plugin.xml:402: The following error occurred while executing this line:
577/home/pablo/development/liferay/liferay_svn/plugins/trunk/build-common.xml:93: Compile failed; see the compiler error output for details.
578
579Total time: 1 minute 4 seconds
580pablo@DELL:~/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet$
Ravi Kumar Gupta
RE: Knowledge base portlet dependencies??
July 28, 2011 11:56 PM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

Seems you are missing some jar files.
Walter Christian Guardia Casas
RE: Knowledge base portlet dependencies??
July 29, 2011 12:05 AM
Answer

Walter Christian Guardia Casas

Rank: Regular Member

Posts: 127

Join Date: May 5, 2010

Recent Posts

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
Pablo Miño
RE: Knowledge base portlet dependencies??
August 2, 2011 3:46 AM
Answer

Pablo Miño

Rank: Junior Member

Posts: 44

Join Date: January 10, 2011

Recent Posts

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$
Ravi Kumar Gupta
RE: Knowledge base portlet dependencies??
August 1, 2011 4:37 AM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

Hi..

I guess your username is pablo on your system. Assuming that, create a new file named build.pablo.properties and put with build.properties and change these properties
app.server.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29
app.server.lib.global.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29\\lib\\ext
app.server.type = tomcat
app.server.deploy.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29\\webapps
app.server.portal.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29\\webapps\\ROOT

change the path according to your system.

This should solve your problems.

Regards
Ravi
Pablo Miño
RE: Knowledge base portlet dependencies??
August 1, 2011 10:21 AM
Answer

Pablo Miño

Rank: Junior Member

Posts: 44

Join Date: January 10, 2011

Recent Posts

Ravi Kumar Gupta:
Hi..

I guess your username is pablo on your system. Assuming that, create a new file named build.pablo.properties and put with build.properties and change these properties
app.server.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29
app.server.lib.global.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29\\lib\\ext
app.server.type = tomcat
app.server.deploy.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29\\webapps
app.server.portal.dir = D:\\pFiles\\Liferay\\portal606-4003\\tomcat-6.0.29\\webapps\\ROOT

change the path according to your system.

This should solve your problems.

Regards
Ravi


My username is pablo, you are right.
I edited the build.pablo.properties like this:

1root@E6420:/home/pablo/development/liferay/liferay_svn/plugins/trunk# cat build.pablo.properties
2app.server.dir = /home/pablo/development/liferay/liferay_svn/output/bundles-6.1.x/tomcat-6.0.32
3app.server.lib.global.dir = /home/pablo/development/liferay/liferay_svn/output/bundles-6.1.x/tomcat-6.0.32/lib/ext
4app.server.type = tomcat
5app.server.deploy.dir = /home/pablo/development/liferay/liferay_svn/output/bundles-6.1.x/tomcat-6.0.32/webapps
6app.server.portal.dir = /home/pablo/development/liferay/liferay_svn/output/bundles-6.1.x/tomcat-6.0.32/webapps/ROOT
7root@E6420:/home/pablo/development/liferay/liferay_svn/plugins/trunk#


And then I ran ant, but I have many errors, I think "cannot be resolved" points that there is an unmet dependency.
I do not know where all the missing stuff is.

I've checked out from svn the portal and the plugins code, I've followed the instructions held in http://www.liferay.com/community/wiki/-/wiki/Main/Building+Liferay+distribution+files and building the portal succeeds but building the knowledge base portlet fails with many errors.

I even created build.root.properties and execute ant with both users, and the output is the same for both users.

  1root@E6420:/home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet# ant all
  2Buildfile: /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/build.xml
  3
  4all:
  5
  6clean:
  7   [delete] Deleting directory /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/classes
  8
  9clean-portal-dependencies:
 10
 11compile:
 12
 13merge:
 14    [mkdir] Created dir: /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/classes
 15     [copy] Copying 7 files to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/lib
 16     [copy] Copying 1 file to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/tld
 17     [copy] Copying 5 files to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/lib
 18
 19compile-java:
 20    [javac] Compiling 95 source files to /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/classes
 21    [javac] ----------
 22    [javac] 1. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 18)
 23    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
 24    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 25    [javac] The import com.liferay.documentlibrary cannot be resolved
 26    [javac] ----------
 27    [javac] 2. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 185)
 28    [javac]     byte[] bytes = DLLocalServiceUtil.getFile(
 29    [javac]                    ^^^^^^^^^^^^^^^^^^
 30    [javac] DLLocalServiceUtil cannot be resolved
 31    [javac] ----------
 32    [javac] 3. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 450)
 33    [javac]     DLLocalServiceUtil.addDirectory(
 34    [javac]     ^^^^^^^^^^^^^^^^^^
 35    [javac] DLLocalServiceUtil cannot be resolved
 36    [javac] ----------
 37    [javac] 4. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 471)
 38    [javac]     DLLocalServiceUtil.addFile(
 39    [javac]     ^^^^^^^^^^^^^^^^^^
 40    [javac] DLLocalServiceUtil cannot be resolved
 41    [javac] ----------
 42    [javac] 5. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 550)
 43    [javac]     DLLocalServiceUtil.addDirectory(
 44    [javac]     ^^^^^^^^^^^^^^^^^^
 45    [javac] DLLocalServiceUtil cannot be resolved
 46    [javac] ----------
 47    [javac] 6. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/lar/AdminPortletDataHandlerImpl.java (at line 575)
 48    [javac]     DLLocalServiceUtil.deleteDirectory(
 49    [javac]     ^^^^^^^^^^^^^^^^^^
 50    [javac] DLLocalServiceUtil cannot be resolved
 51    [javac] ----------
 52    [javac] ----------
 53    [javac] 7. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 17)
 54    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
 55    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 56    [javac] The import com.liferay.documentlibrary cannot be resolved
 57    [javac] ----------
 58    [javac] 8. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 18)
 59    [javac]     import com.liferay.documentlibrary.FileNameException;
 60    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 61    [javac] The import com.liferay.documentlibrary cannot be resolved
 62    [javac] ----------
 63    [javac] 9. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 19)
 64    [javac]     import com.liferay.documentlibrary.FileSizeException;
 65    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 66    [javac] The import com.liferay.documentlibrary cannot be resolved
 67    [javac] ----------
 68    [javac] 10. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 20)
 69    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
 70    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 71    [javac] The import com.liferay.documentlibrary cannot be resolved
 72    [javac] ----------
 73    [javac] 11. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 21)
 74    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
 75    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 76    [javac] The import com.liferay.documentlibrary cannot be resolved
 77    [javac] ----------
 78    [javac] 12. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 337)
 79    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
 80    [javac]                      ^^^^^^^^^^^^^^^^^^
 81    [javac] DLLocalServiceUtil cannot be resolved
 82    [javac] ----------
 83    [javac] 13. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 692)
 84    [javac]     if (cause instanceof DuplicateFileException ||
 85    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 86    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
 87    [javac] ----------
 88    [javac] 14. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 692)
 89    [javac]     if (cause instanceof DuplicateFileException ||
 90    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
 91    [javac] DuplicateFileException cannot be resolved to a type
 92    [javac] ----------
 93    [javac] 15. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 697)
 94    [javac]     cause instanceof FileNameException ||
 95    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 96    [javac] Incompatible conditional operand types Throwable and FileNameException
 97    [javac] ----------
 98    [javac] 16. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 697)
 99    [javac]     cause instanceof FileNameException ||
100    [javac]                      ^^^^^^^^^^^^^^^^^
101    [javac] FileNameException cannot be resolved to a type
102    [javac] ----------
103    [javac] 17. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 698)
104    [javac]     cause instanceof FileSizeException ||
105    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
106    [javac] Incompatible conditional operand types Throwable and FileSizeException
107    [javac] ----------
108    [javac] 18. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 698)
109    [javac]     cause instanceof FileSizeException ||
110    [javac]                      ^^^^^^^^^^^^^^^^^
111    [javac] FileSizeException cannot be resolved to a type
112    [javac] ----------
113    [javac] 19. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 713)
114    [javac]     cause instanceof NoSuchFileException ||
115    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
117    [javac] ----------
118    [javac] 20. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/portlet/AdminPortlet.java (at line 713)
119    [javac]     cause instanceof NoSuchFileException ||
120    [javac]                      ^^^^^^^^^^^^^^^^^^^
121    [javac] NoSuchFileException cannot be resolved to a type
122    [javac] ----------
123    [javac] ----------
124    [javac] 21. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/util/AdminSubscriptionSender.java (at line 17)
125    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
126    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
127    [javac] The import com.liferay.documentlibrary cannot be resolved
128    [javac] ----------
129    [javac] 22. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/admin/util/AdminSubscriptionSender.java (at line 84)
130    [javac]     long kb = DLLocalServiceUtil.getFileSize(
131    [javac]               ^^^^^^^^^^^^^^^^^^
132    [javac] DLLocalServiceUtil cannot be resolved
133    [javac] ----------
134    [javac] ----------
135    [javac] 23. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 17)
136    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
137    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
138    [javac] The import com.liferay.documentlibrary cannot be resolved
139    [javac] ----------
140    [javac] 24. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 18)
141    [javac]     import com.liferay.documentlibrary.FileNameException;
142    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
143    [javac] The import com.liferay.documentlibrary cannot be resolved
144    [javac] ----------
145    [javac] 25. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 19)
146    [javac]     import com.liferay.documentlibrary.FileSizeException;
147    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
148    [javac] The import com.liferay.documentlibrary cannot be resolved
149    [javac] ----------
150    [javac] 26. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 20)
151    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
152    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
153    [javac] The import com.liferay.documentlibrary cannot be resolved
154    [javac] ----------
155    [javac] 27. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 21)
156    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
157    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
158    [javac] The import com.liferay.documentlibrary cannot be resolved
159    [javac] ----------
160    [javac] 28. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 229)
161    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
162    [javac]                      ^^^^^^^^^^^^^^^^^^
163    [javac] DLLocalServiceUtil cannot be resolved
164    [javac] ----------
165    [javac] 29. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 553)
166    [javac]     if (cause instanceof DuplicateFileException ||
167    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
168    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
169    [javac] ----------
170    [javac] 30. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 553)
171    [javac]     if (cause instanceof DuplicateFileException ||
172    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
173    [javac] DuplicateFileException cannot be resolved to a type
174    [javac] ----------
175    [javac] 31. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 554)
176    [javac]     cause instanceof FileNameException ||
177    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
178    [javac] Incompatible conditional operand types Throwable and FileNameException
179    [javac] ----------
180    [javac] 32. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 554)
181    [javac]     cause instanceof FileNameException ||
182    [javac]                      ^^^^^^^^^^^^^^^^^
183    [javac] FileNameException cannot be resolved to a type
184    [javac] ----------
185    [javac] 33. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 555)
186    [javac]     cause instanceof FileSizeException ||
187    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
188    [javac] Incompatible conditional operand types Throwable and FileSizeException
189    [javac] ----------
190    [javac] 34. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 555)
191    [javac]     cause instanceof FileSizeException ||
192    [javac]                      ^^^^^^^^^^^^^^^^^
193    [javac] FileSizeException cannot be resolved to a type
194    [javac] ----------
195    [javac] 35. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 565)
196    [javac]     cause instanceof NoSuchFileException ||
197    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
198    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
199    [javac] ----------
200    [javac] 36. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/article/portlet/ArticlePortlet.java (at line 565)
201    [javac]     cause instanceof NoSuchFileException ||
202    [javac]                      ^^^^^^^^^^^^^^^^^^^
203    [javac] NoSuchFileException cannot be resolved to a type
204    [javac] ----------
205    [javac] ----------
206    [javac] 37. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 17)
207    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
208    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
209    [javac] The import com.liferay.documentlibrary cannot be resolved
210    [javac] ----------
211    [javac] 38. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 18)
212    [javac]     import com.liferay.documentlibrary.FileNameException;
213    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
214    [javac] The import com.liferay.documentlibrary cannot be resolved
215    [javac] ----------
216    [javac] 39. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 19)
217    [javac]     import com.liferay.documentlibrary.FileSizeException;
218    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
219    [javac] The import com.liferay.documentlibrary cannot be resolved
220    [javac] ----------
221    [javac] 40. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 20)
222    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
223    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
224    [javac] The import com.liferay.documentlibrary cannot be resolved
225    [javac] ----------
226    [javac] 41. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 21)
227    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
228    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
229    [javac] The import com.liferay.documentlibrary cannot be resolved
230    [javac] ----------
231    [javac] 42. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 241)
232    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
233    [javac]                      ^^^^^^^^^^^^^^^^^^
234    [javac] DLLocalServiceUtil cannot be resolved
235    [javac] ----------
236    [javac] 43. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 630)
237    [javac]     if (cause instanceof DuplicateFileException ||
238    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
239    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
240    [javac] ----------
241    [javac] 44. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 630)
242    [javac]     if (cause instanceof DuplicateFileException ||
243    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
244    [javac] DuplicateFileException cannot be resolved to a type
245    [javac] ----------
246    [javac] 45. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 631)
247    [javac]     cause instanceof FileNameException ||
248    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
249    [javac] Incompatible conditional operand types Throwable and FileNameException
250    [javac] ----------
251    [javac] 46. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 631)
252    [javac]     cause instanceof FileNameException ||
253    [javac]                      ^^^^^^^^^^^^^^^^^
254    [javac] FileNameException cannot be resolved to a type
255    [javac] ----------
256    [javac] 47. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 632)
257    [javac]     cause instanceof FileSizeException ||
258    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
259    [javac] Incompatible conditional operand types Throwable and FileSizeException
260    [javac] ----------
261    [javac] 48. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 632)
262    [javac]     cause instanceof FileSizeException ||
263    [javac]                      ^^^^^^^^^^^^^^^^^
264    [javac] FileSizeException cannot be resolved to a type
265    [javac] ----------
266    [javac] 49. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 642)
267    [javac]     cause instanceof NoSuchFileException ||
268    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
269    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
270    [javac] ----------
271    [javac] 50. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/display/portlet/DisplayPortlet.java (at line 642)
272    [javac]     cause instanceof NoSuchFileException ||
273    [javac]                      ^^^^^^^^^^^^^^^^^^^
274    [javac] NoSuchFileException cannot be resolved to a type
275    [javac] ----------
276    [javac] ----------
277    [javac] 51. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 17)
278    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
279    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
280    [javac] The import com.liferay.documentlibrary cannot be resolved
281    [javac] ----------
282    [javac] 52. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 34)
283    [javac]     String[] fileNames = DLLocalServiceUtil.getFileNames(
284    [javac]                          ^^^^^^^^^^^^^^^^^^
285    [javac] DLLocalServiceUtil cannot be resolved
286    [javac] ----------
287    [javac] 53. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 45)
288    [javac]     DLLocalServiceUtil.deleteDirectory(
289    [javac]     ^^^^^^^^^^^^^^^^^^
290    [javac] DLLocalServiceUtil cannot be resolved
291    [javac] ----------
292    [javac] 54. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 61)
293    [javac]     DLLocalServiceUtil.addDirectory(
294    [javac]     ^^^^^^^^^^^^^^^^^^
295    [javac] DLLocalServiceUtil cannot be resolved
296    [javac] ----------
297    [javac] 55. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 64)
298    [javac]     String[] fileNames = DLLocalServiceUtil.getFileNames(
299    [javac]                          ^^^^^^^^^^^^^^^^^^
300    [javac] DLLocalServiceUtil cannot be resolved
301    [javac] ----------
302    [javac] 56. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 74)
303    [javac]     byte[] bytes = DLLocalServiceUtil.getFile(
304    [javac]                    ^^^^^^^^^^^^^^^^^^
305    [javac] DLLocalServiceUtil cannot be resolved
306    [javac] ----------
307    [javac] 57. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 78)
308    [javac]     DLLocalServiceUtil.addFile(
309    [javac]     ^^^^^^^^^^^^^^^^^^
310    [javac] DLLocalServiceUtil cannot be resolved
311    [javac] ----------
312    [javac] 58. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/hook/upgrade/v1_1_0/util/KBArticleAttachmentsUtil.java (at line 87)
313    [javac]     DLLocalServiceUtil.deleteDirectory(
314    [javac]     ^^^^^^^^^^^^^^^^^^
315    [javac] DLLocalServiceUtil cannot be resolved
316    [javac] ----------
317    [javac] ----------
318    [javac] 59. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 17)
319    [javac]     import com.liferay.documentlibrary.NoSuchDirectoryException;
320    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
321    [javac] The import com.liferay.documentlibrary cannot be resolved
322    [javac] ----------
323    [javac] 60. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 18)
324    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
325    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
326    [javac] The import com.liferay.documentlibrary cannot be resolved
327    [javac] ----------
328    [javac] 61. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 46)
329    [javac]     return DLLocalServiceUtil.getFileNames(
330    [javac]            ^^^^^^^^^^^^^^^^^^
331    [javac] DLLocalServiceUtil cannot be resolved
332    [javac] ----------
333    [javac] 62. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/model/impl/KBArticleImpl.java (at line 50)
334    [javac]     catch (NoSuchDirectoryException nsde) {
335    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^
336    [javac] NoSuchDirectoryException cannot be resolved to a type
337    [javac] ----------
338    [javac] ----------
339    [javac] 63. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 17)
340    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
341    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
342    [javac] The import com.liferay.documentlibrary cannot be resolved
343    [javac] ----------
344    [javac] 64. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 18)
345    [javac]     import com.liferay.documentlibrary.FileNameException;
346    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
347    [javac] The import com.liferay.documentlibrary cannot be resolved
348    [javac] ----------
349    [javac] 65. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 19)
350    [javac]     import com.liferay.documentlibrary.FileSizeException;
351    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
352    [javac] The import com.liferay.documentlibrary cannot be resolved
353    [javac] ----------
354    [javac] 66. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 20)
355    [javac]     import com.liferay.documentlibrary.NoSuchFileException;
356    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
357    [javac] The import com.liferay.documentlibrary cannot be resolved
358    [javac] ----------
359    [javac] 67. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 21)
360    [javac]     import com.liferay.documentlibrary.service.DLLocalServiceUtil;
361    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
362    [javac] The import com.liferay.documentlibrary cannot be resolved
363    [javac] ----------
364    [javac] 68. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 229)
365    [javac]     InputStream is = DLLocalServiceUtil.getFileAsStream(
366    [javac]                      ^^^^^^^^^^^^^^^^^^
367    [javac] DLLocalServiceUtil cannot be resolved
368    [javac] ----------
369    [javac] 69. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 544)
370    [javac]     if (cause instanceof DuplicateFileException ||
371    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
372    [javac] Incompatible conditional operand types Throwable and DuplicateFileException
373    [javac] ----------
374    [javac] 70. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 544)
375    [javac]     if (cause instanceof DuplicateFileException ||
376    [javac]                          ^^^^^^^^^^^^^^^^^^^^^^
377    [javac] DuplicateFileException cannot be resolved to a type
378    [javac] ----------
379    [javac] 71. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 545)
380    [javac]     cause instanceof FileNameException ||
381    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
382    [javac] Incompatible conditional operand types Throwable and FileNameException
383    [javac] ----------
384    [javac] 72. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 545)
385    [javac]     cause instanceof FileNameException ||
386    [javac]                      ^^^^^^^^^^^^^^^^^
387    [javac] FileNameException cannot be resolved to a type
388    [javac] ----------
389    [javac] 73. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 546)
390    [javac]     cause instanceof FileSizeException ||
391    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
392    [javac] Incompatible conditional operand types Throwable and FileSizeException
393    [javac] ----------
394    [javac] 74. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 546)
395    [javac]     cause instanceof FileSizeException ||
396    [javac]                      ^^^^^^^^^^^^^^^^^
397    [javac] FileSizeException cannot be resolved to a type
398    [javac] ----------
399    [javac] 75. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 556)
400    [javac]     cause instanceof NoSuchFileException ||
401    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
402    [javac] Incompatible conditional operand types Throwable and NoSuchFileException
403    [javac] ----------
404    [javac] 76. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/section/portlet/SectionPortlet.java (at line 556)
405    [javac]     cause instanceof NoSuchFileException ||
406    [javac]                      ^^^^^^^^^^^^^^^^^^^
407    [javac] NoSuchFileException cannot be resolved to a type
408    [javac] ----------
409    [javac] ----------
410    [javac] 77. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 19)
411    [javac]     import com.liferay.documentlibrary.service.DLLocalService;
412    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
413    [javac] The import com.liferay.documentlibrary cannot be resolved
414    [javac] ----------
415    [javac] 78. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 582)
416    [javac]     public DLLocalService getDLLocalService() {
417    [javac]            ^^^^^^^^^^^^^^
418    [javac] DLLocalService cannot be resolved to a type
419    [javac] ----------
420    [javac] 79. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 583)
421    [javac]     return dlLocalService;
422    [javac]            ^^^^^^^^^^^^^^
423    [javac] DLLocalService cannot be resolved to a type
424    [javac] ----------
425    [javac] 80. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 591)
426    [javac]     public void setDLLocalService(DLLocalService dlLocalService) {
427    [javac]                                   ^^^^^^^^^^^^^^
428    [javac] DLLocalService cannot be resolved to a type
429    [javac] ----------
430    [javac] 81. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 592)
431    [javac]     this.dlLocalService = dlLocalService;
432    [javac]     ^^^^^^^^^^^^^^^^^^^
433    [javac] DLLocalService cannot be resolved to a type
434    [javac] ----------
435    [javac] 82. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 1200)
436    [javac]     @BeanReference(type = DLLocalService.class)
437    [javac]                           ^^^^^^^^^^^^^^
438    [javac] DLLocalService cannot be resolved to a type
439    [javac] ----------
440    [javac] 83. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleLocalServiceBaseImpl.java (at line 1201)
441    [javac]     protected DLLocalService dlLocalService;
442    [javac]               ^^^^^^^^^^^^^^
443    [javac] DLLocalService cannot be resolved to a type
444    [javac] ----------
445    [javac] ----------
446    [javac] 84. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 19)
447    [javac]     import com.liferay.documentlibrary.service.DLLocalService;
448    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
449    [javac] The import com.liferay.documentlibrary cannot be resolved
450    [javac] ----------
451    [javac] 85. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 322)
452    [javac]     public DLLocalService getDLLocalService() {
453    [javac]            ^^^^^^^^^^^^^^
454    [javac] DLLocalService cannot be resolved to a type
455    [javac] ----------
456    [javac] 86. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 323)
457    [javac]     return dlLocalService;
458    [javac]            ^^^^^^^^^^^^^^
459    [javac] DLLocalService cannot be resolved to a type
460    [javac] ----------
461    [javac] 87. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 331)
462    [javac]     public void setDLLocalService(DLLocalService dlLocalService) {
463    [javac]                                   ^^^^^^^^^^^^^^
464    [javac] DLLocalService cannot be resolved to a type
465    [javac] ----------
466    [javac] 88. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 332)
467    [javac]     this.dlLocalService = dlLocalService;
468    [javac]     ^^^^^^^^^^^^^^^^^^^
469    [javac] DLLocalService cannot be resolved to a type
470    [javac] ----------
471    [javac] 89. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 940)
472    [javac]     @BeanReference(type = DLLocalService.class)
473    [javac]                           ^^^^^^^^^^^^^^
474    [javac] DLLocalService cannot be resolved to a type
475    [javac] ----------
476    [javac] 90. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/base/KBArticleServiceBaseImpl.java (at line 941)
477    [javac]     protected DLLocalService dlLocalService;
478    [javac]               ^^^^^^^^^^^^^^
479    [javac] DLLocalService cannot be resolved to a type
480    [javac] ----------
481    [javac] ----------
482    [javac] 91. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 17)
483    [javac]     import com.liferay.documentlibrary.DuplicateDirectoryException;
484    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
485    [javac] The import com.liferay.documentlibrary cannot be resolved
486    [javac] ----------
487    [javac] 92. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 18)
488    [javac]     import com.liferay.documentlibrary.DuplicateFileException;
489    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
490    [javac] The import com.liferay.documentlibrary cannot be resolved
491    [javac] ----------
492    [javac] 93. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 19)
493    [javac]     import com.liferay.documentlibrary.NoSuchDirectoryException;
494    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
495    [javac] The import com.liferay.documentlibrary cannot be resolved
496    [javac] ----------
497    [javac] 94. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 96)
498    [javac]     dlLocalService.addFile(
499    [javac]     ^^^^^^^^^^^^^^
500    [javac] DLLocalService cannot be resolved to a type
501    [javac] ----------
502    [javac] 95. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 219)
503    [javac]     dlLocalService.deleteFile(
504    [javac]     ^^^^^^^^^^^^^^
505    [javac] DLLocalService cannot be resolved to a type
506    [javac] ----------
507    [javac] 96. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 717)
508    [javac]     dlLocalService.addDirectory(
509    [javac]     ^^^^^^^^^^^^^^
510    [javac] DLLocalService cannot be resolved to a type
511    [javac] ----------
512    [javac] 97. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 730)
513    [javac]     byte[] bytes = dlLocalService.getFile(
514    [javac]                    ^^^^^^^^^^^^^^
515    [javac] DLLocalService cannot be resolved to a type
516    [javac] ----------
517    [javac] 98. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1042)
518    [javac]     dlLocalService.addDirectory(
519    [javac]     ^^^^^^^^^^^^^^
520    [javac] DLLocalService cannot be resolved to a type
521    [javac] ----------
522    [javac] 99. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1046)
523    [javac]     catch (DuplicateDirectoryException dde) {
524    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
525    [javac] DuplicateDirectoryException cannot be resolved to a type
526    [javac] ----------
527    [javac] 100. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1054)
528    [javac]     String[] fileNames = dlLocalService.getFileNames(
529    [javac]                          ^^^^^^^^^^^^^^
530    [javac] DLLocalService cannot be resolved to a type
531    [javac] ----------
532    [javac] 101. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1058)
533    [javac]     byte[] bytes = dlLocalService.getFile(
534    [javac]                    ^^^^^^^^^^^^^^
535    [javac] DLLocalService cannot be resolved to a type
536    [javac] ----------
537    [javac] 102. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1067)
538    [javac]     catch (DuplicateFileException dfe) {
539    [javac]            ^^^^^^^^^^^^^^^^^^^^^^
540    [javac] DuplicateFileException cannot be resolved to a type
541    [javac] ----------
542    [javac] 103. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1166)
543    [javac]     dlLocalService.addDirectory(
544    [javac]     ^^^^^^^^^^^^^^
545    [javac] DLLocalService cannot be resolved to a type
546    [javac] ----------
547    [javac] 104. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1169)
548    [javac]     String[] fileNames = dlLocalService.getFileNames(
549    [javac]                          ^^^^^^^^^^^^^^
550    [javac] DLLocalService cannot be resolved to a type
551    [javac] ----------
552    [javac] 105. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1176)
553    [javac]     dlLocalService.deleteDirectory(
554    [javac]     ^^^^^^^^^^^^^^
555    [javac] DLLocalService cannot be resolved to a type
556    [javac] ----------
557    [javac] 106. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1181)
558    [javac]     dlLocalService.deleteDirectory(
559    [javac]     ^^^^^^^^^^^^^^
560    [javac] DLLocalService cannot be resolved to a type
561    [javac] ----------
562    [javac] 107. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1214)
563    [javac]     dlLocalService.deleteDirectory(
564    [javac]     ^^^^^^^^^^^^^^
565    [javac] DLLocalService cannot be resolved to a type
566    [javac] ----------
567    [javac] 108. ERROR in /home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet/docroot/WEB-INF/src/com/liferay/knowledgebase/service/impl/KBArticleLocalServiceImpl.java (at line 1219)
568    [javac]     catch (NoSuchDirectoryException nsde) {
569    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^
570    [javac] NoSuchDirectoryException cannot be resolved to a type
571    [javac] ----------
572    [javac] 108 problems (108 errors)
573
574BUILD FAILED
575/home/pablo/development/liferay/liferay_svn/plugins/trunk/build-common-plugin.xml:45: The following error occurred while executing this line:
576/home/pablo/development/liferay/liferay_svn/plugins/trunk/build-common-plugin.xml:402: The following error occurred while executing this line:
577/home/pablo/development/liferay/liferay_svn/plugins/trunk/build-common.xml:93: Compile failed; see the compiler error output for details.
578
579Total time: 5 seconds
580root@E6420:/home/pablo/development/liferay/liferay_svn/plugins/trunk/portlets/knowledge-base-portlet#


Where is all the missing stuff??

Thank you
Alberto Chaparro
RE: Knowledge base portlet dependencies??
August 1, 2011 1:02 PM
Answer

Alberto Chaparro

LIFERAY STAFF

Rank: Regular Member

Posts: 155

Join Date: April 25, 2011

Recent Posts

Hi Pablo,

Have you execute "ant all" for portal project before deploying plugins?

Perhaps classes with problem has been moved and you need to regenerate portal-service.jar with latest version of the portal.

Regards.
Pablo Miño
RE: Knowledge base portlet dependencies??
August 2, 2011 3:45 AM
Answer

Pablo Miño

Rank: Junior Member

Posts: 44

Join Date: January 10, 2011

Recent Posts

Alberto Chaparro:
Hi Pablo,

Have you execute "ant all" for portal project before deploying plugins?

Perhaps classes with problem has been moved and you need to regenerate portal-service.jar with latest version of the portal.

Regards.



Alberto,

Good sugestion but it didn't work either, I did a ant clean for both, the portal and the plugins then ant all for the portal and the plugins, the error is the same.
The portal builds OK because I am able to use it, but that plugin fails, others don't.
Ravi Kumar Gupta
RE: Knowledge base portlet dependencies??
August 2, 2011 5:48 AM
Answer

Ravi Kumar Gupta

Rank: Liferay Legend

Posts: 1303

Join Date: June 23, 2009

Recent Posts

Hi Alberto,

I actually support Pablo on this point.. KB Portlet build fails. I did not focus on that when I got errors and thought I might have missing some jars and hence did not report it to JIRA as well.

I will give it a try and update.

-Ravi
Jan Tošovský
RE: Knowledge base portlet dependencies??
December 22, 2011 7:43 AM
Answer

Jan Tošovský

Rank: Expert

Posts: 424

Join Date: July 22, 2010

Recent Posts

Any update on this?
with rev. 96449 I am getting slightly different compile errors:
 1    [javac] 1. ERROR in D:\liferay-portal-6.1.0_\src-plugins-trunk\portlets\know
 2ledge-base-portlet\docroot\WEB-INF\src\com\liferay\knowledgebase\service\impl\KB
 3ArticleServiceImpl.java (at line 202)
 4    [javac]     group.getDescriptiveName(themeDisplay.getLocale()));
 5    [javac]           ^^^^^^^^^^^^^^^^^^
 6    [javac] The method getDescriptiveName() in the type Group is not applicable
 7for the arguments (Locale)
 8    [javac] ----------
 9    [javac] 1 problem (1 error)

Jan
Imran Khalil
RE: Knowledge base portlet dependencies??
November 20, 2012 10:39 PM
Answer

Imran Khalil

Rank: Junior Member

Posts: 36

Join Date: October 21, 2012

Recent Posts

Any update... emoticon
Imran Khalil
RE: Knowledge base portlet dependencies??
November 20, 2012 10:41 PM
Answer

Imran Khalil

Rank: Junior Member

Posts: 36

Join Date: October 21, 2012

Recent Posts

Ravi Kumar Gupta:
Hi Alberto,

I actually support Pablo on this point.. KB Portlet build fails. I did not focus on that when I got errors and thought I might have missing some jars and hence did not report it to JIRA as well.

I will give it a try and update.

-Ravi


Any update on this??