Hi Margret,
I'm not sure this is possible with compile to library, it's interesting though and I'll have to check it out. You can do it with
Java libraries but I've not tried it. I suppose theoretically you could create a simple Java library just to contain and access the files, then add that to the project instead of copying the files to the files tab. I'm not sure it would save a lot of effort though.
Steve