"net.borgwarner.ebi.externalapi.incgljseq");

Is the file name actually "incgljseq"? I usually add ".pcml" as the
extension.


In the file system, it is called "incgljseq.pcml". When referencing in Java,
it is "incgljseq". From what I read, the ProgramCallDocument class first
looks for a serialized version of the PCML file (incgljseq.pcml.ser), and if
not found looks for the regular file (incgljseq.pcml). In this scenario the
extension is optional in the Java code.




When exporting to JAR, "Export generated class files and resources" is
selected. What needs to happen for Eclipse to see the pcml file as a
resource for inclusion? Even with the pcml file in the .class folder, it
is
not in the exported JAR file. It appears more must be done than dropping
the
file in the correct folder.

It needs to be in the source folder in order to be exported.


I got it now. I used Thorbjørn's suggestion, and now have in my project:
src/net/borgwarner/ebi/externalapi/*.java,
bin/net/borgwarner/ebi/externalapi/*.class, and
resources/net/borgwarner/ebi/externalapi/*.pcml. The PCML file was copied
automatically to the bin... folder. I now see it in the JAR file with the
classes.

Thanks everybody. I'm slowly starting to get a feel for the nwe world!

--Loyd

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.