diff --git a/.gitignore b/.gitignore index 0f1c2cc..1458638 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,3 @@ -/build.xml -/nbproject/ -/Bitrockimages/ -/dist/ -/build/ -/manifest.mf -derby.log -test.db -/chromispos.xml -/chromispos.xml.backup -/src-pos.zip -/src-beans/uk/chromis/fixedimages/Thumbs.db -chromispos.jar -/chromisLiquibase.log -/log4j.xml - # IDE specific files .idea/ .vscode/ @@ -24,12 +8,17 @@ chromispos.jar .mdoc/ .metals/ metals.sbt +nbproject/ # PowerShell specific files PowerShell*/ # Build output directories target/ +dist/ +build/ # Miscellaneous -null/ \ No newline at end of file +null/ +derby.log +test.db diff --git a/README.md b/README.md index 8ad51d3..b054315 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,17 @@ The project can be imported for development and compilation by any IDE that supp 6. The **Scala (Metals)** extension will detect the `build.sbt` file and prompt you to import the project. Click * *Import build**. +#### NetBeans (`chromisery-pos` Module Only) + +The `chromisery-pos` module can be imported into NetBeans to allow editing of `*.form` files using the GUI editor. The +instructions below assume that the project is already set up and the `chromisery-pos` module has been compiled. From the +project root: + +1. Execute `sbt netbeans`. +2. Open NetBeans. +3. Select **File** > **Open Project...** +4. Navigate to, and select the `chromisery-pos` module directory. + ## Acknowledgments We would like to acknowledge the authors and contributors of the following projects, which have laid the foundation for diff --git a/build.sbt b/build.sbt index 33a1e49..ac491e4 100644 --- a/build.sbt +++ b/build.sbt @@ -21,6 +21,7 @@ lazy val `chromisery-pos` = project .in(file("modules/chromisery-pos")) .gplv3Licensed .enablePlugins(JFXPlugin) + .enablePlugins(NetbeansPlugin) .settings(jfxModules ++= Set(JFXModule.Fxml, JFXModule.Web, JFXModule.Swing)) .settings(javaCompilerOptions) .settings( diff --git a/project/plugins.sbt b/project/plugins.sbt index c715b0a..078c6de 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,3 +6,4 @@ addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.4") //addSbtPlugin("org.openjfx" % "sbt-javafx" % "0.0.13" from "https://repo.openjfx.io/maven/releases") // Download from OpenJFX repo //addSbtPlugin("io.github.davidgregory084" % "sbt-jpackage" % "0.1.2" from "https://jitpack.io") addSbtPlugin("africa.shuwari.sbt" % "sbt-openjfx" % "0.1.0") +addSbtPlugin("africa.shuwari.sbt" % "sbt-netbeans" % "0.1.0")