will and way

ただの自分用メモを人に伝える形式で書くことでわかりやすくまとめてるはずのブログ

2014-01-13から1日間の記事一覧

gitで追跡したくないファイルを設定する。

DBなどの設定ファイルなど、コミットしたくない場合の設定remoteの変更を受け入れる場合 #設定 git update-index --assume-unchanged hoge 受け入れない場合 git update-index --skip-worktree hoge

githubのコミットフックでredmineのリポジトリ更新

(pluginインストール済みの設定) hoge : gitリポジトリがある干すとネーム hogeorg : gitリポジトリの組織名 or ユーザー名 hogerepo : hogeorgによって管理されているリポジトリ 1. githubのdeploy keyを設定 sshkeyの作成 ssh-keygen -t rsa -N "" -f hoge…

Propertyファイルを複数選択する

複数読み込み <context:property-placeholder order="1" location="classpath:properties/hogehoge.properties" /> <context:property-placeholder order="2" location="classpath:properties/hugahuga.properties" /> 以上のようにして、複数ファイルを定義することが出来る。 hogehoge, hugahuga内に重複があるとSpringでは起動時にエラーになる。 肝はorder 環境…</context:property-placeholder></context:property-placeholder>