How to include additional files and folders (configuration files) during natural packaging of Java applications?
When creating a project, I installed an assembly file to create directories and copy additional files to the dist directory.
My regular builds (without my own packaging) will lead to this directory structure:
-> dist
-> lib
-> application.jar
-> config folder //additional folder
-> another additional folder //additional folder
Now I would like to create my own installer (setup) with such additional folders / files that were extracted with my application and runtime.
Basically, when my own installer is running, it will create these files:
-> app
-> lib
-> application.jar
-> package.cfg
-> runtime
-> jre
-> applcation.exe
-> application.ico
-> unins000.dat
-> unins000.exe
My additional files and folders are not included in my installer. I would like my installer with these additional files to be extracted, preferably like this
-> app
-> lib
-> config folder //additional folder
-> another additional folder //additional folder
-> application.jar
-> package.cfg
-> runtime
-> jre
-> applcation.exe
-> application.ico
-> unins000.dat
-> unins000.exe
, Ant Inno .