From 528b6dd3c208b84084561832748f04eb47e3d73c Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Tue, 23 Feb 2021 04:13:25 +0100 Subject: [PATCH] Maven IJ Designer post --- .gitignore | 1 + content/posts/2021-02-23-maven-ij-designer.md | 98 +++++++++++++++++++ docs/sitemap.xml | 72 +++++++++----- 3 files changed, 145 insertions(+), 26 deletions(-) create mode 100644 content/posts/2021-02-23-maven-ij-designer.md diff --git a/.gitignore b/.gitignore index f32553a..6b34485 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ hugo.darwin hugo.linux # End of https://www.toptal.com/developers/gitignore/api/hugo +docs/index.xml diff --git a/content/posts/2021-02-23-maven-ij-designer.md b/content/posts/2021-02-23-maven-ij-designer.md new file mode 100644 index 0000000..35a98e5 --- /dev/null +++ b/content/posts/2021-02-23-maven-ij-designer.md @@ -0,0 +1,98 @@ +--- +title: "2021 02 23 Maven Ij Designer" +date: 2021-02-23T03:59:59+01:00 +categories: + - software +tags: + - hacking + - english + - software engineering + - maven + +summary: Ever wanted to compile IntelliJ IDEA GUI-Designer forms with maven? I've found a 2021 solution. +showTOC: false +--- + +In 2021 I worked in a small team of students on an old fashioned Java swing application. To design our forms rather fast, we chose to opt for the IJ-GUI designer. + +That was a rather annoying mistake, trying to package that thing just hours before the deadline. +We then opted to just let IntelliJ compile the .forms into .java directly, which then cluttered our version control. + +So today I present you a minimal `pom.xml` compiling forms on the fly. A complete minimal working example can be found on my private git: [git.tobiasmanske.de](https://git.tobiasmanske.de/user/rad4day/public/intellij-forms-maven-example/tree/) + +```xml + + + 4.0.0 + + de.tobiasmanske + example + 1.0-SNAPSHOT + + + 11 + 11 + 203.7148.57 + + + + + jetbrains.releases + https://www.jetbrains.com/intellij-repository/releases + + + jetbrains.3rdparty + https://dl.bintray.com/jetbrains/intellij-third-party-dependencies + + + + + + + maven-antrun-plugin + 3.0.0 + + + compile + + + + + + + + + + + + + + + + + + run + + + + + + + + + com.jetbrains.intellij.java + java-gui-forms-rt + ${intellij.version} + + + com.jetbrains.intellij.java + java-compiler-ant-tasks + ${intellij.version} + + + +``` + +That's all for today, I hope this helped you, so that you don't struggle with it for as long. diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 759a1c5..0647cbe 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -2,9 +2,54 @@ + + https://tobiasmanske.de/posts/2021-02-23-maven-ij-designer/ + 2021-02-23T03:59:59+01:00 + + https://tobiasmanske.de/categories/ - 2020-12-05T00:00:00+00:00 + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/tags/english/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/tags/hacking/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/tags/maven/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/posts/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/categories/software/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/tags/software-engineering/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/tags/ + 2021-02-23T03:59:59+01:00 + + + + https://tobiasmanske.de/ + 2021-02-23T03:59:59+01:00 @@ -17,11 +62,6 @@ 2020-12-05T00:00:00+00:00 - - https://tobiasmanske.de/posts/ - 2020-12-05T00:00:00+00:00 - - https://tobiasmanske.de/tags/studium/ 2020-12-05T00:00:00+00:00 @@ -32,16 +72,6 @@ 2020-12-05T00:00:00+00:00 - - https://tobiasmanske.de/tags/ - 2020-12-05T00:00:00+00:00 - - - - https://tobiasmanske.de/ - 2020-12-05T00:00:00+00:00 - - https://tobiasmanske.de/posts/2020-08-30-studium-tips/ 2020-08-31T00:00:00+00:00 @@ -67,11 +97,6 @@ 2020-01-02T00:00:00+00:00 - - https://tobiasmanske.de/tags/english/ - 2020-01-02T00:00:00+00:00 - - https://tobiasmanske.de/categories/events/ 2020-01-02T00:00:00+00:00 @@ -117,11 +142,6 @@ 2019-03-21T00:00:00+00:00 - - https://tobiasmanske.de/tags/hacking/ - 2018-04-07T00:00:00+00:00 - - https://tobiasmanske.de/tags/hardware/ 2018-04-07T00:00:00+00:00