Ignore:
Timestamp:
03/08/10 21:24:12 (2 years ago)
Author:
sys
Message:

OO classLoader : crée un subClassLoader si utile pour Uno et/ou Scenair impl le nécessite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_Transform/src/com/scenari/s/co/transform/oo/impl/OoConnection.java

    r14620 r15079  
    153153        /** Mémoire du fExternalUriReferenceTranslator. */ 
    154154        protected XExternalUriReferenceTranslator fExternalUriReferenceTranslator; 
    155          
     155 
    156156        /** Process en cours. */ 
    157157        protected Process fOoProcess = null; 
     
    343343         */ 
    344344        public void freedInPool() throws Exception { 
    345                 if(fAutoLaunch && fHeadless && fOoProcess != null && fUsageCount >= 5) { 
     345                if (fAutoLaunch && fHeadless && fOoProcess != null && fUsageCount >= 5) { 
    346346                        fComponentContext = null; 
    347347                        fServiceMgr = null; 
     
    437437                        String vOfficeExePath = OoFinder.getPath() + "/" + (ISWIN ? "soffice.exe" : (ISMAC ? "soffice.bin" : "soffice")); 
    438438                        File vOfficeExe = new File(vOfficeExePath); 
    439                         if (vOfficeExe == null) throw new Exception("no OpenOffice executable found! (searching for '" + vOfficeExePath + "')"); 
     439                        if (vOfficeExe == null || !vOfficeExe.canRead()) throw new Exception("no OpenOffice executable found! (searching for '" + vOfficeExePath + "')"); 
    440440 
    441441                        if (fMaxCnxAttempts <= 0) { 
Note: See TracChangeset for help on using the changeset viewer.