jeff.parent
2009-06-04 15:51:41 UTC
So I'm sure this isn't so much a netbeans issue as a general java issue but I can't find the resolution anywhre.
I have a non-java file (a DTD file for XML) that I want to include into my project. I then want to be able to access that file at runtime by either including it into the JAR file or having it live next to my class files when I install my project. The install path is user definable so I can not hardcode the location of the file. Does anyone know how I can access a file that is included in my project?
I have a non-java file (a DTD file for XML) that I want to include into my project. I then want to be able to access that file at runtime by either including it into the JAR file or having it live next to my class files when I install my project. The install path is user definable so I can not hardcode the location of the file. Does anyone know how I can access a file that is included in my project?