Skip to content

Commit

Permalink
Merge pull request #64 from arashi01/integrate-sbt-netbeans
Browse files Browse the repository at this point in the history
Add sbt-netbeans plugin.
  • Loading branch information
arashi01 authored Dec 28, 2024
2 parents a79a7f0 + 765eb67 commit 0a51959
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -24,12 +8,17 @@ chromispos.jar
.mdoc/
.metals/
metals.sbt
nbproject/

# PowerShell specific files
PowerShell*/

# Build output directories
target/
dist/
build/

# Miscellaneous
null/
null/
derby.log
test.db
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 0a51959

Please sign in to comment.