Hello,
 
Sorry for wasting time again... i found the magic build.bat !

________________________________

Von: Kerschbaum Michael 
Gesendet: Mittwoch, 05. August 2009 16:30
An: [email protected]
Betreff: WG: 


Hello,
 
Sorry for wasting your Time, after installing SVN for eclipse i saw that
2 or 3 file more where changed. Updating also them brings success to my
tests. But there is one question left. How do you build the jars ? Using
Maven ? Maven in Eclipse ? Other Tools ? Would be nice if you can give
me a hint of creating the jar Files out of the daily build ?!
 
mfg Michael 

________________________________

Von: Kerschbaum Michael 
Gesendet: Mittwoch, 05. August 2009 13:51
An: [email protected]
Betreff: WG: 


Hello,
 
Or is a special problem of my environment. I replaced only 3 class files
in the original 1.7 batik ?! The 3 File where the comment is 1) Now
closes streams when it is done reading the image.... Perhaps thats the
problem ? Should the Stream closed elsewhere or at the
SVGImageElementBridge#createImageGraphicsNode ?
 
My Problem was that i am not able to create jar Files from the current
build, so i replaced 3 Files in the original 1.7 source.

________________________________

Von: Kerschbaum Michael 
Gesendet: Mittwoch, 05. August 2009 13:46
An: [email protected]
Betreff: 


Hello Thomas,
 
2 or 3 weeks ago you fixed the SVGImageElementBridge so that the Stream
should be released after a PNG or a JPEG, etc. was opened. I tested it
now but without success. Then i looked into your changes... I saw that
there a 3 ways in the method createImageGraphicsNode... but the
reference.release(); is only called in one of that 3 ways ?! The finally
block at the end is not executed if a return is made ! Or is this if
wrong ?? Because the tie is called, but the super.close will not be
executed because wasClosed is only set to true in the overwritten close
method ??
 
    public synchronized void tie() throws IOException {
            isTied = true;
            if (wasClosed) {
                super.close();
                // System.err.println("Closing stream - from tie");
            }
        }
 
If i call release in any of the 3 ways the image is closed and can be
overwritten outside of the application while its viewed ... (I clean the
cache everytime i load a new svg)
 
mfg Michael


 
  • WG: Kerschbaum Michael
    • WG: Kerschbaum Michael
    • WG: Kerschbaum Michael

Reply via email to