Revision 4715
Added by daigle almost 16 years ago
building-metacat.html | ||
---|---|---|
65 | 65 |
<li>build.tomcat.dir - Metacat will look for some HttpServlet libraries in the local |
66 | 66 |
Tomcat directories. Make sure this value is set to your local Tomcat installation |
67 | 67 |
directory.</li> |
68 |
<li>dev.deploy.dir - the automated development build (dev-install) will deploy your
|
|
68 |
<li>app.deploy.dir - the automated installation build (install) will deploy your
|
|
69 | 69 |
war file for you and clean up old application directories. Make sure this is set |
70 | 70 |
to the directory where Tomcat looks for its applications.</li> |
71 | 71 |
<li>cvsroot - if your cvs user is different than the user you are using to build metacat, |
... | ... | |
113 | 113 |
</ul> |
114 | 114 |
|
115 | 115 |
<a name="AutomatedBuild"></a><div class="header1">Automated Build</div> |
116 |
<p>There is an ant target called "dev-install" that was created specifically for |
|
117 |
local develoment building and deploying. What it does is: |
|
116 |
<p>The ant "install" target controls deploying Metacat locally. This can be |
|
117 |
used for source distributions or code that was checked out of the repository. |
|
118 |
What is does is:</p> |
|
118 | 119 |
<ul> |
119 | 120 |
<li>Builds the Metacat project, resulting in a war file.</li> |
120 |
<li>Moves the war file to the dev.deploy.dir that you set in build.properties</li>
|
|
121 |
<li>Removes the existing application directory from the dev.deploy.dir.</li>
|
|
121 |
<li>Moves the war file to the app.deploy.dir that you set in build.properties</li>
|
|
122 |
<li>Removes the existing application directory from the app.deploy.dir.</li>
|
|
122 | 123 |
</ul> |
123 | 124 |
Typical usage would be something like:</p> |
124 |
<div class="code">ant fullclean dev-install</div>
|
|
125 |
<div class="code">ant fullclean install</div> |
|
125 | 126 |
|
126 | 127 |
<a name="ManualBuild"></a><div class="header1">Manual Build</div> |
127 | 128 |
<p>You can also build the Metacat war file and deploy manually. To build and create the |
Also available in: Unified diff
change metacatconfigure.html to metacat-configure.html