• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Moxkiriyaプロジェクト事前開発用の作業部屋


Commit MetaInfo

修訂1379e1fb4eeeca55c7290aa19f80eca91826c851 (tree)
時間2018-09-29 10:54:14
作者Harold_Andoh <andolloyd@gmai...>
CommiterHarold_Andoh

Log Message

[Moxkiriya7]

  • InitialSettingDialogをConfigSettingDialogに名前を変更
    *
    クラスタ設定をデータベースに変更(StaleItemStateExceptionを回避するため)

Change Summary

差異

--- a/.classpath
+++ b/.classpath
@@ -7,8 +7,8 @@
77 <classpathentry kind="lib" path="lib/org/apache/derby/derby/10.12.1.1/derby-10.12.1.1.jar"/>
88 <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-api/2.14.5/jackrabbit-api-2.14.5.jar"/>
99 <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-bundle/2.14.5/jackrabbit-bundle-2.14.5.jar"/>
10- <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-core/2.14.5/jackrabbit-core-2.14.5.jar"/>
11- <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-data/2.14.5/jackrabbit-data-2.14.5.jar"/>
10+ <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-core/2.14.5/jackrabbit-core-2.14.5.jar" sourcepath="C:/usr/local/src/Apache_Jackrabbit/jackrabbit-2.14.5/jackrabbit-core/src/main/java"/>
11+ <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-data/2.14.5/jackrabbit-data-2.14.5.jar" sourcepath="C:/usr/local/src/Apache_Jackrabbit/jackrabbit-2.14.5/jackrabbit-core/src/main/java"/>
1212 <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-jcr-commons/2.14.5/jackrabbit-jcr-commons-2.14.5.jar"/>
1313 <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-spi/2.14.5/jackrabbit-spi-2.14.5.jar"/>
1414 <classpathentry kind="lib" path="lib/org/apache/jackrabbit/jackrabbit-spi-commons/2.14.5/jackrabbit-spi-commons-2.14.5.jar"/>
--- a/src/com/wiki/standalone/moxkiriya/Main.java
+++ b/src/com/wiki/standalone/moxkiriya/Main.java
@@ -19,7 +19,7 @@ import java.nio.file.Path;
1919 import java.nio.file.Paths;
2020 import java.util.ResourceBundle;
2121
22-import com.wiki.standalone.moxkiriya.dialog.InitialSettingsDialog;
22+import com.wiki.standalone.moxkiriya.dialog.ConfigSettingsDialog;
2323 import com.wiki.standalone.moxkiriya.util.FileIO;
2424
2525 import javafx.application.Application;
@@ -113,7 +113,7 @@ public class Main extends Application {
113113 * @throws Exception
114114 */
115115 private void showInitialSettingsDialog(Stage stage) throws Exception {
116- InitialSettingsDialog dialog = new InitialSettingsDialog();
116+ ConfigSettingsDialog dialog = new ConfigSettingsDialog();
117117 dialog.showDialog(stage, resources_);
118118 }
119119
--- a/src/com/wiki/standalone/moxkiriya/WikiMainWindow.fxml
+++ b/src/com/wiki/standalone/moxkiriya/WikiMainWindow.fxml
@@ -101,7 +101,7 @@
101101 <Button fx:id="buttonDeletePages" mnemonicParsing="false" onAction="#onActionButtonDeletePages" prefHeight="30.0" text="%key.Button.Delete.Pages" AnchorPane.bottomAnchor="15.0" AnchorPane.leftAnchor="150.0" />
102102 </children>
103103 </AnchorPane>
104- <AnchorPane id="EditAnchorPane" fx:id="AnchorPaneEdit" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="450.0" prefWidth="590.0" visible="false" AnchorPane.bottomAnchor="70.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="50.0" AnchorPane.topAnchor="75.0">
104+ <AnchorPane id="EditAnchorPane" fx:id="AnchorPaneEdit" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="450.0" prefWidth="590.0" visible="true" AnchorPane.bottomAnchor="70.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="50.0" AnchorPane.topAnchor="75.0">
105105 <children>
106106 <Label prefHeight="30.0" text="%key.Edit.Label.Title" AnchorPane.leftAnchor="150.0" AnchorPane.topAnchor="15.0" />
107107 <TextField fx:id="textFieldTitle" prefHeight="30.0" prefWidth="380.0" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="9.0" AnchorPane.topAnchor="45.0" />
@@ -109,8 +109,8 @@
109109 <TextArea fx:id="textAreaContents" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="330.0" prefWidth="815.0" visible="true" wrapText="true" AnchorPane.bottomAnchor="98.0" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="9.0" AnchorPane.topAnchor="110.0" />
110110 <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#onActionButtonSave" prefWidth="90.0" text="%key.Button.Save" AnchorPane.bottomAnchor="5.0" AnchorPane.rightAnchor="120.0" />
111111 <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#onActionButtonCancel" prefWidth="90.0" text="%key.Button.Cancel" AnchorPane.bottomAnchor="5.0" AnchorPane.rightAnchor="10.0" />
112- <TextField fx:id="textFieldAttachFile" disable="true" prefHeight="30.0" prefWidth="716.0" promptText="%key.Edit.TextField.InputPathname" AnchorPane.bottomAnchor="37.0" AnchorPane.leftAnchor="150.0" />
113- <Label disable="true" prefHeight="30.0" prefWidth="166.0" text="%key.Edit.Label.AttachFile" AnchorPane.bottomAnchor="65.0" AnchorPane.leftAnchor="152.0" AnchorPane.topAnchor="440.0" />
112+ <TextField fx:id="textFieldAttachFile" disable="true" prefHeight="30.0" prefWidth="716.0" promptText="%key.Edit.TextField.InputPathname" AnchorPane.bottomAnchor="37.0" AnchorPane.leftAnchor="150.0" AnchorPane.rightAnchor="108.0" />
113+ <Label disable="true" prefHeight="30.0" prefWidth="166.0" text="%key.Edit.Label.AttachFile" AnchorPane.bottomAnchor="65.0" AnchorPane.leftAnchor="150.0" />
114114 <Button disable="true" mnemonicParsing="false" prefHeight="30.0" prefWidth="45.0" text="..." AnchorPane.bottomAnchor="35.0" AnchorPane.rightAnchor="55.0" />
115115 </children>
116116 </AnchorPane>
--- a/src/com/wiki/standalone/moxkiriya/dialog/InitialSettingsDialog.fxml
+++ b/src/com/wiki/standalone/moxkiriya/dialog/ConfigSettingsDialog.fxml
@@ -8,7 +8,7 @@
88 <?import javafx.scene.paint.*?>
99 <?scenebuilder-preview-i18n-resource ../resources/moxkiriya.properties?>
1010
11-<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="260.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="com.wiki.standalone.moxkiriya.dialog.InitialSettingsDialogController">
11+<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="260.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="com.wiki.standalone.moxkiriya.dialog.ConfigSettingsDialogController">
1212 <children>
1313 <Label prefHeight="30.0" prefWidth="574.0" text="%key.Initial.Setting.Dialog.Message" AnchorPane.leftAnchor="25.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="15.0" />
1414 <Button id="ButtonOK" fx:id="buttonOK" maxHeight="-Infinity" maxWidth="-Infinity" mnemonicParsing="false" onAction="#onActionButtonOK" prefHeight="25.0" prefWidth="71.0" text="%key.Button.OK" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="50.0" />
--- a/src/com/wiki/standalone/moxkiriya/dialog/InitialSettingsDialog.java
+++ b/src/com/wiki/standalone/moxkiriya/dialog/ConfigSettingsDialog.java
@@ -1,6 +1,6 @@
11 /**
22 * Moxkiriya standalone Wiki.
3- * ApprootInputDialog.
3+ * ConfigSettingsDialog.
44 *
55 * @author Ryuhei Terada
66 * See the '<a href="{@docRoot}/copyright.html">Copyright</a>'
@@ -13,15 +13,15 @@ import javafx.stage.Stage;
1313 /**
1414 * ApprootInputDialog
1515 */
16-public class InitialSettingsDialog extends DialogBase {
16+public class ConfigSettingsDialog extends DialogBase {
1717 @Override
1818 protected String getFXML() {
19- return "InitialSettingsDialog.fxml";
19+ return "ConfigSettingsDialog.fxml";
2020 }
2121
2222 @Override
2323 protected DialogController getController() {
24- InitialSettingsDialogController controller = loader_.getController();
24+ ConfigSettingsDialogController controller = loader_.getController();
2525 controller.setWindow(scene_.getWindow());
2626
2727 return controller;
--- a/src/com/wiki/standalone/moxkiriya/dialog/InitialSettingsDialogController.java
+++ b/src/com/wiki/standalone/moxkiriya/dialog/ConfigSettingsDialogController.java
@@ -1,6 +1,6 @@
11 /**
22 * Moxkiriya standalone Wiki.
3- * ApprootInputDialogController.
3+ * ConfigSettingsDialogController.
44 *
55 * @author Ryuhei Terada
66 * See the '<a href="{@docRoot}/copyright.html">Copyright</a>'
@@ -25,9 +25,9 @@ import javafx.stage.DirectoryChooser;
2525 import javafx.stage.Window;
2626
2727 /**
28- * Approot入力ダイアログコントローラ
28+ * ConfigSettingダイアログコントローラ
2929 */
30-public class InitialSettingsDialogController extends DialogControllerBase {
30+public class ConfigSettingsDialogController extends DialogControllerBase {
3131 @FXML private TextField textFieldApproot;
3232 @FXML private Button buttonChooseDirectory;
3333 @FXML private CheckBox checkBoxClusterSetting;
--- a/src/com/wiki/standalone/moxkiriya/resources/moxkiriya.properties
+++ b/src/com/wiki/standalone/moxkiriya/resources/moxkiriya.properties
@@ -35,7 +35,7 @@ key.Hyperlink.Pagelist: Page list
3535 key.Hyperlink.Edit: Edit
3636 key.Hyperlink.EditAttachFiles: Edit Attach Files
3737
38-key.Initial.Setting.Dialog.Message: Moxkiriya initial settings.
38+key.Initial.Setting.Dialog.Message: Moxkiriya Configuration settings.
3939 key.Initial.Setting.Heading.Approot: Approot:
4040 key.Initial.Setting.Approot.textField.prompt.ChooseDirectory: Choose Approot Path.
4141 key.Initial.Setting.Heading.Cluster.setting: Cluster setting:
--- a/src/com/wiki/standalone/moxkiriya/resources/repository_cluster.xml
+++ b/src/com/wiki/standalone/moxkiriya/resources/repository_cluster.xml
@@ -183,9 +183,11 @@
183183 </Journal>
184184 -->
185185 <Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
186+ <param name="revision" value="${rep.home}/revision.log" />
186187 <param name="driver" value="${jdbc.driver}" />
187188 <param name="url" value="${dbserver.url}:${dbserver.port}/moxkiriyadb/journal/db;create=true"/>
188- <param name="schemaObjectPrefix" value="journal_"/>
189- </Journal> </Cluster>
189+ <param name="databaseType" value="derby"/>
190+ </Journal>
191+ </Cluster>
190192 </Repository>
191193