Changeset 393 for trunk/zoo-project


Ignore:
Timestamp:
Mar 15, 2013, 2:16:47 AM (12 years ago)
Author:
djay
Message:

Remove temporary file created when running service in background. Make compilation of JAVA support works using XCode 4.4.

Location:
trunk/zoo-project/zoo-kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/configure.ac

    r370 r393  
    317317        then
    318318                JAVA_LDFLAGS="-framework JavaVM"
    319                 JAVA_CPPFLAGS="-I/Developer//SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"
     319                JAVA_CPPFLAGS="-I/Applications/Xcode.app/Contents/Developer//Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/"
    320320        else
    321321                if test -d "$JDKHOME/jre/lib/i386";
  • trunk/zoo-project/zoo-kernel/service_conf.y

    r379 r393  
    1313#include <ctype.h>
    1414#include <service.h>
    15   //#include <vector>
    1615
    1716static int tmp_count=1;
  • trunk/zoo-project/zoo-kernel/service_internal.c

    r392 r393  
    13591359    /* We need to write the ExecuteResponse Document somewhere */
    13601360    FILE* output=fopen(stored_path,"w");
     1361    if(output==NULL){
     1362      /* If the file cannot be created return an ExceptionReport */
     1363      char tmpMsg[1024];
     1364      sprintf(tmpMsg,_("Unable to create the file : \"%s\" for storing the ExecuteResponse."),stored_path);
     1365      map * errormap = createMap("text",tmpMsg);
     1366      addToMap(errormap,"code", "InternalError");
     1367      printExceptionReportResponse(m,errormap);
     1368      freeMap(&errormap);
     1369      free(errormap);
     1370      xmlCleanupParser();
     1371      zooXmlCleanupNs();
     1372      return;
     1373    }
    13611374    xmlChar *xmlbuff;
    13621375    int buffersize;
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r392 r393  
    19751975         
    19761976          sprintf(storageNameOnServer,"%s/%s",path->value,fileNameOnServer);
    1977           printf("\n\nName on server %s\n",storageNameOnServer);
    19781977#ifdef DEBUG
    19791978          fprintf(stderr,"Name on server %s\n",storageNameOnServer);
     
    23042303    FILE* f3=fopen(fbkp,"wb+");
    23052304    free(fbkp);
    2306     free(fbkp1);
    23072305    fseek(f2,0,SEEK_END);
    23082306    long flen=ftell(f2);
     
    23132311    fclose(f2);
    23142312    fclose(f3);
     2313    unlink(fbkp1);
     2314    free(fbkp1);
    23152315  }
    23162316
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png