1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OpenCmsをデバッグ

Last updated at Posted at 2017-01-05

gitからソースを持ってくる

git clone https://github.com/alkacon/opencms-core.git

イクリプスをインストール
Eclipse IDE for Java Developers
gitで落としてきたソースをGradleとしてインポート

warを作る

gradle war

warがここに出来ている
..\BuildCms\distributions\opencms.war

Tomcatをダウンロードする
tomcatのwabappsフォルダーにwarを置く

コマンドプロンプトを立ち上げる

パスを調整する
例)

set CATALINA_BASE=C:\server\apache-tomcat-8.5.9
set CATALINA_HOME=C:\server\apache-tomcat-8.5.9
set CATALINA_TMPDIR=C:\server\apache-tomcat-8.5.9\temp
set CLASSPATH=C:\server\apache-tomcat-8.5.9\bin\bootstrap.jar;C:\server\apache-tomcat-8.5.9\bin\tomcat-juli.jar

jpdaでtomcatを起動

C:\server\apache-tomcat-8.5.9\bin>catalina.bat jpda start

以下のURLにアクセス
http://localhost:8080/opencms/setup/

ウィザードに従ってすすめる
終わったら、以下のURLにアクセス
http://localhost:8080/opencms/opencms/system/login/

user:Admin pass:adminでログイン

イクリプスの設定
Run->Run Configurations...->Remote Java Applicatior
Debugをクリック

これでデバッグ出来ます

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?