<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>2.4. テスト環境における展開</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Developers_Guide-4.1.1-ja-JP-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.1.1');
              
              addID('Apache_CloudStack.4.1.1.books');
	      addID('Apache_CloudStack.4.1.1.Developers_Guide');
              </script><link rel="home" href="index.html" title="CloudStack 開発者ガイド" /><link rel="up" href="building-with-maven.html" title="第2章 CloudStack をビルドするための Maven の利用" /><link rel="prev" href="building-with-maven-steps.html" title="2.3. ビルド手順" /><link rel="next" href="developer-introduction.html" title="第3章 Introduction to the CloudStack API" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.apache.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://cloudstack.apache.org/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="building-with-maven-steps.html"><strong>戻る</strong></a></li><li class="next"><a accesskey="n" href="developer-introduction.html"><strong>次へ</strong></a></li></ul><div xml:lang="ja-JP" class="section" id="building-with-maven-deploy" lang="ja-JP"><div class="titlepage"><div><div><h2 class="title">2.4. テスト環境における展開</h2></div></div></div><div class="para">
		以下の2つの手順によりコンパイルされた CloudStack コードは展開されます。
	</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
				データベースを構成していない、もしくはプロパティを以下のように編集している場合
			</div><div class="para">
				
<pre class="programlisting">mvn -P developer -pl developer -Ddeploydb</pre>
			</div></li><li class="listitem"><div class="para">
				その場合、 CloudStack 管理サーバーを起動させる必要があります。デバッガを起動させるには以下のようにします。
			</div><div class="para">
				
<pre class="programlisting">export MAVEN_OPTS="-Xmx1024 -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"</pre>
			</div><div class="para">
				
<pre class="programlisting">mvn -pl :cloud-client-ui jetty:run</pre>
			</div></li></ol></div><div class="warning"><div class="admonition_header"><h2>警告</h2></div><div class="admonition"><div class="para">
			データベースの内容を編集する場合はデータセンターに対し過去に設定した情報全体を削除することができます。
		</div></div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="building-with-maven-steps.html"><strong>戻る</strong>2.3. ビルド手順</a></li><li class="up"><a accesskey="u" href="#"><strong>上に戻る</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>ホーム</strong></a></li><li class="next"><a accesskey="n" href="developer-introduction.html"><strong>次へ</strong>第3章 Introduction to the CloudStack API</a></li></ul></body></html>
