• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision72 (tree)
Time2015-08-21 00:39:55
Authort_nakayama1971

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/framework/pjBat/src/project/batch/ProjectBatch.java (revision 71)
+++ trunk/framework/pjBat/src/project/batch/ProjectBatch.java (revision 72)
@@ -13,14 +13,14 @@
1313 import org.apache.logging.log4j.Logger;
1414 import org.apache.logging.log4j.ThreadContext;
1515
16-import project.common.master.AppConfig;
17-import project.common.master.Msg;
1816 import batch.base.BaseBatch;
1917 import batch.base.BatchParameter;
2018 import core.config.Env;
2119 import core.config.Factory;
2220 import core.util.DateUtil;
23-import core.util.bean.Tuple;
21+import core.util.bean.Pair;
22+import project.common.master.AppConfig;
23+import project.common.master.Msg;
2424
2525 /**
2626 * バッチ作成のための親抽象クラス
@@ -203,12 +203,10 @@
203203 LOGGER.fatal(msg);
204204 }
205205
206- List<Tuple<String>> list = getOutputFiles();
206+ List<Pair<String, String>> list = getOutputFiles();
207207 if (list != null) {
208- for (final Tuple<String> file : list) {
209- if (0 < file.length()) {
210- LOGGER.fatal(file.get(0));
211- }
208+ for (final Pair<String, String> file : list) {
209+ LOGGER.fatal(file.left());
212210 }
213211 }
214212 }
--- trunk/framework/pjBat/src/project/batch/BatStatus.java (revision 71)
+++ trunk/framework/pjBat/src/project/batch/BatStatus.java (revision 72)
@@ -111,6 +111,7 @@
111111 }
112112
113113 } catch (final IllegalArgumentException ex) {
114+ LogManager.getLogger().info(ex.getMessage());
114115 BatchStatus.printUsage(this.getClass().getName());
115116 Runtime.getRuntime().exit(Batch.RET_PARAM_ERROR);
116117 }
--- trunk/framework/pjBat/src/project/batch/ProjectPerform.java (revision 71)
+++ trunk/framework/pjBat/src/project/batch/ProjectPerform.java (revision 72)
@@ -130,6 +130,7 @@
130130 }
131131
132132 } catch (final PhysicalException ex) {
133+ LogManager.getLogger().info(ex.getMessage());
133134 exitCode = Batch.RET_FAILED;
134135 } catch (final SQLException th) {
135136 ThrowableUtil.error(th);