Friday, 1 August 2025

Move git submodul to it's own git repo

 Git 2.49.0.windows.1


After failing with filter-repo I got it done with the good old subtree, which I also used to do the opposite: Move a Git & Maven project as module to a parent project

I followed this Steps: Detach (move) subdirectory into separate Git repository


1. Create a new repo in BitBucket

2. Clone the new repo to local

3. Go to the bigRepo and do this:

git subtree split -P foldernameOfSubmodule -b newBranchName

The -b stuff is the branch, where the submodul is put, and which also has the history for this submodul

4.  Go to the cloned new repo and type:

 git pull path/to/oldrepo branchname

5. Go to old repo and remove the submodule

6. Remove the submodule from the submodule list in the pom

7. Add .gitignore and fix the pom in the new repo





Wednesday, 18 June 2025

 Portecle 1.11


When you change the JDK you often copy the old cacerts to hold on to your company intern certificates. But sometimes you need also the certs, which are coming with the new JDK.

To export and import the company certs with the command line is sometimes a pain. With the tool Portecle this gets easy and smooth.

Just export the the certificate \jre\lib\security\cacerts to the new JDK.



Thursday, 5 June 2025

Intellij: Use local module instead of maven dependency on JBoss

 Intellij 2025.1.1.1


Sometimes you want to use a dependency from your project workspace when running a server, in my case an old JBoss.

Unfortunately the JBoss does not get this right out of the box , so I made this change:

- right click on the JBoss in the Services tab

- Edit Configuration

- Deployment tab

- Edit artifact (in my case the ear:exploded)

- In the Output Layout mark the .war entry

- press the + element

- Choose Module Output

- Choose the module you want to be used


This way I got my JBoss running with the local module


Addendum:

Sometimes this stops working, unload and load seems to work most of the time to fix it




Monday, 12 May 2025

Intellij: Disable "Flip comparison" tipp for null checks

IntelliJ IDEA 2025.1.1.1 (Ultimate Edition)

Since a short amount of time IntelliJ wants me to change something like "x != null" to "null != x", because it likes the constant on the left side and null seems to be a constant for IntelliJ.

I really don't think this is something I should pay attention to and I wanted this new behavior gone in my IDE.

To disable this: Settings > Editor > Inspections > Java > Code style issues > Constant on wrong side of comparison




Friday, 18 April 2025

Installing Debian 12 on ASUS EeeBook X205TA

ASUS EeeBook X205TA
debian-12.10.0-i386-netinst
Rufus 4.7

After various attempts to install Linux at this hardware, mainly with this instruction: https://github.com/filirnd/x205ta, where I failed over and over again, I decided (after several months) to give this another try.

But this time with an 32 Bit Debian.

You will need 

- Rufus to create a bootable USB stick.
- Network during the installation process

Here my steps

- Disable Secure Boot in the Bios of the Asus

- Download debian-12.10.0-i386-netinst from https://www.debian.org/distrib/

- Use Rufus to create an USB stick (only important property was: Partition scheme to GPT)

- Install (it complains about 3 missing firmware files, I ignored)

- Fix audio with Terminal: sudo apt install firmware-intel-sound (found here: https://github.com/heikomat/linux/tree/cx2072x/cx2072x_fixes_and_manual)



For me this worked, hope it does also on your ASUS