Porting the Pentaho to Eclipse_ee to run

Source: Internet
Author: User
Tags tomcat server

Porting the Pentaho to Eclipse_ee to run

This paper uses environmental win7 (64bit) +jdk8.92

Eclipse_ee version MARS2

Java environment variable Configuration

Java_home = C:\Program files\java\jdk1.8.0_92 (Java installation directory)

CLASSPATH =.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar

path= = C:\programdata\oracle\java\javapath;d:\mysql\mysql-5.7.11-winx64\bin; F:\pentaho\apache-maven-3.3.3\bin; F:\pentaho\apache-ant-1.9.7\bin;%java_home%\bin;%java_home%\jre\bin; E:\pdm\ojdbc14.jar; E:\app\Z8652\product\11.2.0\client_1; e:\app\z8652\product\11.2.0\client_1\bin;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;% Systemroot%\system32\windowspowershell\v1.0\

1, open Eclipse_ee version, specify the location of workspace, click OK

2. Create a Web project, point File–new-dynamicweb Project

3, enter the project name, click Next

4. Default option, click Next

5, change the webcontent to WebApps, click Finish

6. Then copy the Pentaho-style and Sw-style under Biserver-ce/tomcat/webapps to the WebApps directory of your Tomcat server, Copy all files under the Pentaho file to the WebApps directory under the project

7. Open the Web. xml file under Web-inf and note the following code

<!--<! DOCTYPE web-apppublic "-//sun Microsystems, INC.//DTD Web Application 2.3//en" "http://java.sun.com/ Dtd/web-app_2_3.dtd ">-->

Set the path for Solution-path, the path where Biserver-ce\pentoho-solutios is located

<context-param>

<param-name>solution-path</param-name>

<param-value>e:\Pentaho\biserver-ce\Pentaho-solutions</ Param-value>

</context-param>

8. New server project, File-new-other or CTRL + N

9. Select Server, click Next

10, click Next

11, click Add All, and then click Finish

Workaround to view JRE selection is not currently installed JDK version

Import the source code into the project, after the generation of six

New User Library (Dev-lib/test-lib) (this method is primarily used for importing jar packages, and other methods can be used)

Right-click Project

Point new input name point OK

Select, click Add External JARs ... Select the corresponding directory in the selection window

Test-lib, like adding dev-lib, no longer describes

When these movements are done, it is found that the TEST-SRC on the pentaho-platform-extensions has a red fork, removing the Hamcrest-library-1.1.jar from the Dev-lib.

Source: https://github.com/pentaho/pentaho-platform/tree/6.1

Pentaho running data in Eclipse Download: http://pan.baidu.com/s/1bLPWAi Password: 9GCD

Porting the Pentaho to Eclipse_ee to run

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.