Menu

#11 wtkPackage ignores encoding

open
nobody
None
5
2006-07-12
2006-07-12
Barak Naveh
No

This patch corrects the problem posted at
http://sourceforge.net/tracker/index.php?func=detail&aid=1218210&group_id=67420&atid=517826

To use it, rebuild antenna with the attached source
files instead of ones in the antenna distribution.

Discussion

  • Barak Naveh

    Barak Naveh - 2006-07-12

    WtkPackage.java

     
  • Barak Naveh

    Barak Naveh - 2006-07-12

    PostProcessor.java

     
  • gao ming

    gao ming - 2008-11-26

    in the addManifest() function of WtkPackage.java , should add fis.close()

    fis.close(); //should close the FileInputStream

    jos.flush();
    jos.close();
    utility.delete(jarFile);
    utility.copy(tmp, jarFile);
    }
    catch (Exception ex) {
    ex.printStackTrace();
    throw new BuildException("Error re-ordering manifest " + ex.getMessage(), ex);
    }

    if fis not be closed, the last two statement utility.delete(jarFile) and utility.copy(tmp, jarFile) will have no effect.

     
MongoDB Logo MongoDB