Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Build Instructions"

Line 15: Line 15:
 
=== Build Local Higgins Development Environment  ===
 
=== Build Local Higgins Development Environment  ===
  
'''Base requirements:''' Java JRE/SDK
 
  
#'''Download Maven (Required for building)'''
 
#:Download Link: [http://maven.apache.org/download.html http://maven.apache.org/download.html]
 
#:Follow installation instructions for platform.
 
#:Add "<MAVEN_INSTALL_PATH>/bin" directory to system PATH environment.
 
#'''Download and install OpenAnzo'''
 
#:Download Link: [http://www.openanzo.org/downloads.html http://www.openanzo.org/downloads.html]
 
#:Extract and copy to appropriate path.
 
#:Startup OpenAnzo server: "<OPENANZO_INSTALL_PATH>/startAnzo.bat"
 
#'''Download and install latest Apache Tomcat, setup configuration'''
 
#:Download Link: [http://tomcat.apache.org/download-70.cgi http://tomcat.apache.org/download-70.cgi]
 
#:Change local http port to 8088
 
#:*Extract Tomcat archive and copy to appropriate path.
 
#:*Edit: "<TOMCAT_INSTALL_PATH>/conf/server.xml"
 
#:*Update: Line #70
 
#:* <pre>ORIGINAL: &lt;Connector port="8080" protocol="HTTP/1.1"
 
CHANGED: &lt;Connector port="8088" protocol="HTTP/1.1"</pre>
 
#;Add local server user account
 
#:Edit: "&lt;TOMCAT_INSTALL_PATH&gt;/conf/tomcat-users.xml"
 
#:Add entry inside of &lt;tomcat-users&gt; block
 
#:''(NOTE: Change "<u>myUserName</u>" and "<u>myUserPass</u>" to whatever you want them to be)''
 
#:Example:
 
<code>&lt;user username="myUserName"
 
password="myUserPass" roles="manager-gui,manager-script,admin,admin-gui,manager,tomcat,admin-script"/&gt;
 
Start Apache Tomcat server via: "&lt;TOMCAT_INSTALL_PATH&gt;/bin/startup.bat"
 
#'''Create maven profile'''
 
  
Edit: "&lt;USER_HOME_DIRECTORY&gt;/.m2/settings.xml"<br>Make sure the following code exists within the &lt;settings&gt; block:<br>
+
== Misc: ==
<pre class="code">&lt;profiles&gt;
+
  &lt;profile&gt;
+
      &lt;id&gt;local&lt;/id&gt;
+
      &lt;properties&gt;
+
        &lt;chromium.bin&gt;/opt/google/chrome/chrome&lt;/chromium.bin&gt;
+
        &lt;tomcat.url&gt;http://localhost:8088/manager/text/&lt;/tomcat.url&gt;
+
        &lt;tomcat.username&gt;myUserName&lt;/tomcat.username&gt;
+
        &lt;tomcat.password&gt;myUserPass&lt;/tomcat.password&gt;
+
      &lt;/properties&gt;
+
  &lt;/profile&gt;
+
&lt;/profiles&gt;</pre>
+
''(NOTE: "myUserName" and "myUserPass" should match to the entries you entered for the line in the tomcat-users.xml file from step 3.)''<br>
+
  
#'''Download Nginx and setup configuration'''
+
* [[Higgins 1.x Developer Page]] - internal committers page - archived version
 
+
* [[Related Communities]]  
Download Link:&nbsp;[http://nginx.org/en/download.html http://nginx.org/en/download.html]<br>Extract Nginx archive and copy to appropriate path.
+
 
+
#;Configure nginx.conf file
+
#:Edit: "&lt;NGINX_INSTALL_PATH&gt;/conf/nginx.conf"
+
#:Inside of "server" section, replace the entire "location /" block with the following entries:<pre class="code">location / {
+
</pre>
+
 
+
access_log off; proxy_pass http://localhost:8044/; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /cometd { access_log off; proxy_pass http://localhost:8080/cometd/; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /hdsp { access_log off; proxy_pass http://localhost:8088/hdsp/; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /test-project { access_log off; proxy_pass http://localhost:8078/test-project; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
+
 
+
#:Inside of "server" section, just after "listen" and "server_name" properties, add:<pre class="code">client_max_body_size 40M;
+
</pre>
+
 
+
client_body_buffer_size 128k;
+
 
+
Start nginx via "&lt;NGINX_INSTALL_PATH&gt;/nginx.exe"
+
 
+
#'''Checkout Higgins R2 project'''
+
 
+
SVN Repo:&nbsp;[https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/H2 https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/H2]
+
 
+
#'''Perform base build of PDS client'''
+
#:From a shell:<pre class="code">&gt; cd &lt;HIGGINS_INSTALL_PATH&gt;/org.eclipse.higgins.pds.client
+
</pre>
+
 
+
&gt; mvn clean install -P local
+
 
+
&lt;/meta&gt;
+
 
+
Misc:
+
 
+
*[[Higgins 1.x Developer Page]] - internal committers page - archived version  
+
*[[Related Communities]]
+
  
 
[[Category:Higgins_-_About]]
 
[[Category:Higgins_-_About]]

Revision as of 18:02, 25 April 2011

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Higgins logo 76Wx100H.jpg
Bugzilla

Mailing lists:

Get the Code

SVN Repo: https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/H2

Build Local Higgins Development Environment

Misc:

Back to the top