|
|
I have two projects open. One builds a jar file with the other references through a required library definition. Whenever I rebuild the jar project, the other project gets an IOexception saying the jar is corrupt. What's going on? |
| JBuilder, at least on some platforms, holds jar files open past execution. I don't know if this is JBuilder doing this deliberately, or the JVM.
This problem can also happen when you have two projects open, and one project references jars built by the other. If you go back to the project which owns the jars and attempt to rebuild, JBuilder can corrupt the jars due to the other project still having the jar files open.
The application runs just as well by reading the individual class files direct from disk, and that's what I do until I'm doing the final builds for customers. (I'll have the project create the jars, as you do, but I don't define them as required libraries, I let it use the class files.)
| |
| [Append to This Answer] | |
| 2002-Mar-19 10:48am |
| Previous: |
|
| Next: |
|
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||