ate a resource file into the final JAR
You don't often get email from ulf.zi...@cosoco.de<mailto:ulf.zi...@cosoco.de>.
Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi Stephen,
thanks for your inspiration.
I'm using an ANT project. I never manag
I moved to Maven a couple if years ago - it really is pretty painless and the
benefits vastly outweigh the learning curve, especially when it comes to
importing libraries into your project.
On 23 June 2024 19:05:33 BST, Ulf Zibis wrote:
>Hi Stephen,
>
>thanks for your inspiration.
>
>I'm using
Hi Stephen,
thanks for your inspiration.
I'm using an ANT project. I never managed how to go with Maven. So my file
structure is:
Project
+ src
+ Java ...
+ test
+ Java ...
+ resources
+ Palm8BitColors.pal
+ TestData
+ ...
So you mean, that I should move the resource file into the src
Are you using a Java with Maven project? Assuming so, the process for
what you are asking is a two step one:
1) Ensure the files you wish to access are located under the
src/main/resources folder as shown here:
https://i0.wp.com/www.dineshonjava.com/wp-content/uploads/2016/10/Maven-dirctory-struc
Hi,
I have a resource file im my project under the folder "resources".
From my code, the file is accessed by:
FileInputStream rs = new FileInputStream(new
File("resources/Palm8BitColors.pal"));
This works fine, when I run the application under NetBeans IDE.
But the resource file is not includ