How can I include data text files with ant in a jar file?

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-16T19:55:26Z Indexed on 2010/05/16 20:00 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

In my src folder there is another folder called data which contains data1.txt and data2.txt. The application loads a graph from these files in the initialization so I want to include these files in my final jar. I use ant to produce the jar file.

© Stack Overflow or respective owner

Related posts about ant

Related posts about txt