3
When compiling my project on Netbeans
the files are generated in this way:
./dist
./dist/meuProjeto.jar
./dist/readme.txt
./dist/lib
./dist/lib/dependencia1.jar
./dist/lib/dependencia2.jar
And I want it to be generated without the folder lib
, thus:
./dist
./dist/meuProjeto.jar
./dist/readme.txt
./dist/dependencia1.jar
./dist/dependencia2.jar
I know you have to change the build.xml
, but I couldn’t find anything that referred to how to alter the fate of .jar
dependent.
My intention is not to generate only one
.jar
, but generate the.jar
and its dependency libraries in the same folder.– Gleison
@Gleison I’ve thought about doing this too, but I’ve had a lot of problems accessing dependency [.jar], you’ll notice this if you work with files. To do exactly what you want I did not get a solution. I hope I helped in some way. Hug.
– Elyel Rubens da Rosa