Eclipse Java Deployment: how to add auto-generate file to Jar file
I have finished my project, and now I have deployed it to jar file. But I have met a problem:

My program auto generate a file (For example: data.sav) in Eclipse, it appears at the foremost project folder. When I deploy, this file doesn't contain to jar file. So, it start with no data.

After I run and do sth, it has made data.sav again. But, I don't see this file in that jar file. I say this because I hope I will overwrite my old data.sav to new data.sav.

So, please teach me, how to include "data.sav" to jar file.  I don't see this option when deploy in Eclipse.

Thanks :)
Eclipse Java Deployment: how to add auto-generate file to Jar file
===

I have finished my project, and now I have deployed it to jar file. But I have met a problem:

My program auto generate a file (For example: data.sav) in Eclipse, it appears at the foremost project folder. When I deploy, this file doesn't contain to jar file. So, it start with no data.

After I run and do sth, it has made data.sav again. But, I don't see this file in that jar file. I say this because I hope I will overwrite my old data.sav to new data.sav.

So, please teach me, how to include "data.sav" to jar file.  I don't see this option when deploy in Eclipse.

Thanks :)