Board index » jbuilder » how to add a jar
|
cpanon
JBuilder Developer |
|
cpanon
JBuilder Developer |
how to add a jar2006-10-03 07:39:37 AM jbuilder22 Hello I need to add signed jars to my project and have them copied to the output directory. I can put them in the project pane but they show "not part of active project" and even if I set the properties to copy it still does not copy. My manually created jars, copy fine. It compiles just fine. How do I make jars copy to the output directory and/or an active part of the project? tia. |
| Paul Furbacher [TeamB]
Java Developer |
2006-10-03 10:10:10 AM
Re:how to add a jar
cpanon wrote:
QuoteHello Just read the Help: Configuring and Using Libraries. -- Paul Furbacher (TeamB) Save time, search the archives: info.borland.com/newsgroups/ngsearch.html Is it in Joi Ellis's Faq-O-Matic? www.visi.com/~gyles19/fom-serve/cache/1.html Finally, please send responses to the newsgroup only. That means, do not send email directly to me. Thank you. |
| Paul Furbacher [TeamB]
Java Developer |
2006-10-03 01:53:45 PM
Re:how to add a jar
Paul Furbacher [TeamB] wrote:
Quotecpanon wrote: In any case, you never want to copy jars to the /classes folder. Anyway, trying creating an application archive. On the Content page, select "Include specific filters and files only", "Add files..." and select your JARs. But your choice of terms is not very clear: "active part of the project". What is that? -- Paul Furbacher (TeamB) Save time, search the archives: info.borland.com/newsgroups/ngsearch.html Is it in Joi Ellis's Faq-O-Matic? www.visi.com/~gyles19/fom-serve/cache/1.html Finally, please send responses to the newsgroup only. That means, do not send email directly to me. Thank you. {smallsort} |
| cpanon
Java Developer |
2006-10-05 08:38:46 AM
Re:how to add a jar
Hi Paul
I tried that however these are signed jars and when I wrap them in another jar it fails in an applet deployment. It seems plugin cannot reference the nested jar and find it signed. I have eliminated the manifest so it is just a jar with one item, the signed jar, which the browser/plug-in cannot see. Albeit it does copy jar-jar into the working directory. Any ideas? Paul Furbacher [TeamB] wrote: QuotePaul Furbacher [TeamB] wrote: |
| Paul Furbacher [TeamB]
Java Developer |
2006-10-05 10:24:40 AM
Re:how to add a jar
cpanon wrote:
QuoteHi Paul Gillmer found a solution. Search the archives for "signed jars Gillmer": Subject: JBuilder 9 and X issues w/ executables and JavaHelp Date: hu, 26 Feb 2004 You could try including all the JARs in the archive attribute of the applet defining HTML, and in the manifest.mf file of your JAR, include a Class-path: line. See these two links: applet archive attribute: mindprod.com/jgloss/applet.html manifest Class-path: entries: mindprod.com/jgloss/jar.html -- Paul Furbacher (TeamB) Save time, search the archives: info.borland.com/newsgroups/ngsearch.html Is it in Joi Ellis's Faq-O-Matic? www.visi.com/~gyles19/fom-serve/cache/1.html Finally, please send responses to the newsgroup only. That means, do not send email directly to me. Thank you. |
| Gillmer J. Derge [TeamB]
Java Developer |
2006-10-05 11:09:33 AM
Re:how to add a jar
Paul Furbacher [TeamB] wrote:
QuoteThis topic of signed JARs has come up in the signed JARs. The search I used to find my old messages was on groups.google.com advanced search, search for keywords = signed, groups = borland.public.jbuilder.*, author = Gillmer J. Derge. That finds 4 results. Read the full threads and the Sun forum threads they link to. -- Gillmer J. Derge [TeamB] |
