This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Posts tagged: war

New war modification tool

We have a new, useful tool for you!

With it, you can change the database configuration in already created WAR files. Since the configuration is encrypted, changing the username or password usually requires you to replace the configuration or create a new WAR file altogether. While that isn't a massive effort, it is unnecessary.

That’s why we’ve created a small tool to save you a bit of time. You can use it either with a graphical user interface (GUI) or via command-line parameters without the GUI. The tool was developed as a desktop application using standard JVx and the Swing UI.

Here is what it looks like:

WAR modification tool

WAR modification tool

If you are interested in the tool, just let us know! ;-)

Create WildFly Swarm applications from existing war files [part 2]

My first steps with WildFly swarm were very successful but I didn't solve my problem completely:

I tried to create a self-contained jar (fat jar) file from an existing war file, with minimal effort. The idea was that our product VisionX could create such jar files with some mouse clicks.

This wasn't possible because the project is in a very early phase, ANT wasn't supported and it wasn't planned.

I solved the problem for my use-case and published the result at github.

The project contains an Eclipse project with an ant task and a fully functional ANT build. It has a dependency to ivy, because ivy was used for dependency resolution. Ivy is not needed if you want to work with a copy of all dependencies, e.g. our VisionX will do this.

The code isn't production ready but it works like a charm. The test war file has 56MB and the created jar is around 78MB.

Just play around with the code :)