Currently I'm building a small personal project in Java which is a simple file server. I've implemented basic internationalization with usage of ResourceBundle
. I'm using .properties
files to store messages in different languages.
Till now I was using Vscode built-in java compilation process which was copying .properties
files into its corresponding directory in the output. However now I'd like to write a build script for that project.
My command looks like this:
javac -d ./bin -cp ./src ./src/**/*.java
.
This command however doesn't take .properties
files into account. I searched web whether javac
has ability to somehow process/include this files into output but found no answer. I know I can use Maven or Ant, but I'd like to make this project without usage of additional tools.