Revision 4646
Added by daigle almost 16 years ago
metacat-source-build.html | ||
---|---|---|
69 | 69 |
may want to develop and submit code to the Metacat repository</li> |
70 | 70 |
</ul> |
71 | 71 |
|
72 |
<p>In order to check out Metacat, you will need both Subversion (SVN) and CVS clients |
|
73 |
installed and configured on your system. This is because, while Metacat has been |
|
74 |
migrated to SVN, some of its supporting libraries (eml, utlities and seek) have not |
|
75 |
yet been migrated. Eventually, SVN will be the only versioning client you will need. |
|
76 |
You will need to make sure you have the appropriate permissions on these systems</p> |
|
72 |
<p>You will also need Apache Ant to do the build. If you have not already |
|
73 |
installed Ant and you are running Ubuntu/Debian, you can get it by typing:</p> |
|
74 |
<div class="code">sudo apt-get install ant</div> |
|
77 | 75 |
|
78 |
<p>For more information on installing SVN and CVS, please visit the following sites: |
|
76 |
<p>Otherwise, you can get ant from |
|
77 |
<a href="http://ant.apache.org/">The Apache Ant homepage</a></p> |
|
79 | 78 |
|
80 |
<ul> |
|
81 |
<li><a href="http://subversion.tigris.org">The Subversion homepage</a></li> |
|
82 |
<li><a href="http://ximbiot.com/cvs/wiki/">The Ximbiot CVS homepage</a></li> |
|
83 |
</ul> |
|
79 |
<p>If you are checking out Metacat code from the SVN repository, you will need both |
|
80 |
Subversion (SVN) and CVS clients installed and configured on your system. Both are needed |
|
81 |
because, while Metacat has been migrated to SVN, some of its supporting libraries (eml, |
|
82 |
utilities and seek) have not yet been migrated. Eventually, SVN will be the only versioning |
|
83 |
client you will need. You will need to make sure you have the appropriate accounts on these |
|
84 |
systems. You won't have to worry about SVN or CVS if you are installing from a Metacat |
|
85 |
source distribution. These have all the required dependencies built in.</p> |
|
84 | 86 |
|
85 |
</p>You will also need Apache Ant to do the build. If you have not already |
|
86 |
installed Ant, you can get it at: |
|
87 |
<p>If you have not already installed Subversion and you are running Ubuntu/Debian, you can |
|
88 |
get it by typing:</p> |
|
89 |
<div class="code">sudo apt-get install subversion</div> |
|
90 |
|
|
91 |
<p>Otherwise, you can get if from <a href="http://subversion.tigris.org">The Subversion homepage</a></p> |
|
87 | 92 |
|
88 |
<ul> |
|
89 |
<li><a href="http://ant.apache.org/">The Apache Ant homepage</a></li> |
|
90 |
</ul> |
|
93 |
<p>If you have not already installed CVS and you are running Ubuntu/Debian, you can |
|
94 |
get it by typing:</p> |
|
95 |
<div class="code">sudo apt-get install cvs</div> |
|
96 |
|
|
97 |
<p>Otherwise, you can get it from <a href="http://ximbiot.com/cvs/wiki/">The Ximbiot CVS homepage</a></p> |
|
98 |
|
|
91 | 99 |
|
92 | 100 |
<a name="GetSource"></a><div class="header1">Get Metacat Source</div> |
93 | 101 |
|
... | ... | |
103 | 111 |
<p>Extract the Metacat package files on Linux systems by typing: |
104 | 112 |
<div class="code">tar -xvzf metacat-src-X.X.X.tar.gz</div> |
105 | 113 |
<p>or, on Windows, use your system unzip utility to extract the zip file.</p> |
106 |
<p>You should see the full Metacat source tree.</p>
|
|
114 |
<p>Rename the metacat-X.X.X directory to metacat.</p>
|
|
107 | 115 |
|
108 | 116 |
<a name="SVN"></a><div class="header2">SVN Checkout</div> |
109 | 117 |
<p>To check out the code from SVN, go to the directory where you would like the code |
110 | 118 |
to live and type:</p> |
111 | 119 |
<div class="code">svn co https://code.ecoinformatics.org/code/metacat/tags/METACAT_<rev> metacat</div> |
112 |
Where <rev> is the version of the code you want to check out (like 1_9). </p> |
|
120 |
<p>Where <rev> is the version of the code you want to check out (like 1_9). </p>
|
|
113 | 121 |
|
114 | 122 |
<p>If you are trying to check out the head, type:</p> |
115 | 123 |
<div class="code">svn co https://code.ecoinformatics.org/code/metacat/trunk metacat</div> |
... | ... | |
136 | 144 |
|
137 | 145 |
<a name="DoAntBuild"></a><div class="header2">Do Ant Build</div> |
138 | 146 |
<p>In the <metacat_src_dir>, run: </p> |
139 |
<div class="code">ant fullclean build-metacat</div>
|
|
147 |
<div class="code">ant clean build-metacat</div> |
|
140 | 148 |
|
141 | 149 |
<p>You will see the individual modules get built. You will be prompted |
142 | 150 |
for your cvs password several times. You should see a "BUILD SUCCESSFUL" |
Also available in: Unified diff
Add metacat source build instructions and apache configuration instructions.