Project

General

Profile

1 4528 daigle
<!--
2
  * sitemaps.html
3
  *
4
  *      Authors: Michael Daigle
5
  *    Copyright: 2008 Regents of the University of California and the
6
  *               National Center for Ecological Analysis and Synthesis
7
  *  For Details: http://www.nceas.ucsb.edu/
8
  *      Created: 2008 November 4
9
  *      Version:
10
  *    File Info: '$ '
11
  *
12
  *
13
-->
14
<HTML>
15
<HEAD>
16
<TITLE>Setting Up a Metacat Eclipse Project</TITLE>
17
<!-- unfortunately, we have to look for the common css file in the
18
     user docs directory.  This is because the user docs deploy to
19
     the top level of the metacat docs on the knb web server -->
20
<link rel="stylesheet" type="text/css" href="../user/common.css">
21
<link rel="stylesheet" type="text/css" href="./default.css">
22
</HEAD>
23
<BODY>
24
  <table width="100%">
25
    <tr>
26
      <td class="tablehead" colspan="2"><p class="label">Setting Up a Metacat Eclipse Project</p></td>
27
      <td class="tablehead" colspan="2" align="right">
28
        <a href="./metacat-dev-hardware.html">Back</a> | <a href="./index.html">Home</a> |
29
        <a href="./testing-metacat.html">Next</a>
30
      </td>
31
    </tr>
32
  </table>
33
34 5154 daigle
  Run metacat on eclipse
35
36
37
Download eclipse ganymede:
38
	go to http://www.eclipse.org/downloads/packages/release/ganymede/sr2
39
	choose Eclipse IDE for Java Developers
40
	extract tar.gz to /Applications/eclipse
41
42
Get svn plugin:
43
	in eclipse, go to Help/Software Updates
44
	add the following update site: http://subclipse.tigris.org/update_1.6.x
45
		Note this may change for newer versions.
46
		Check at http://subclipse.tigris.org/ for newer versions
47
	Choose to install all the packages under that site
48
49
Check out metacat code:
50
	in eclipse go to the svn repository view
51
	click in window under svn repositories and chosse "add svn repository"
52
	add https://code.ecoinformatics.org/code/metacat
53
	add https://code.ecoinformatics.org/code/utilities
54
	add https://code.ecoinformatics.org/code/seek
55
	for each, open tree and right click on trunk
56
	choose "checkout from svn"
57
	check out as a project using the wizard
58
	choose java project
59
	create a new project in workspace.
60
	Note, if you want to check out a certain branch or tag, browse to that tag in the tree and follow the same steps as above.
61
62
Set met
63
64
Set up Tomcat:
65
	go to http://tomcat.apache.org and get tomcat 6.0 binary tar.gz and extract
66
	(or on ubuntu, do apt-get install tomcat)
67
	get tomcat eclipse plugin at: http://www.eclipsetotale.com/tomcatPlugin.html
68
		extract zip and move resulting dir into <eclipse_home>/plugins directory
69
		restart eclipse
70
	In eclipse preferences, go to tomcat
71
		Set version to correct value (6 recommended)
72
		Set tomcat home to directory where you just installed tomcat
73
74
75
76 4528 daigle
  <br>
77
  <a href="./metacat-dev-hardware.html">Back</a> | <a href="./index.html">Home</a> |
78
  <a href="./testing-metacat.html">Next</a>
79
  </ul>
80
81
</BODY>
82
</HTML>