[svn] 3025: Add libs/player/ 10 directory to the library path in the team apps flex-config.xml file.

Revision: 3025
Author: [email protected]
Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
Log Message:
Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
Modified Paths:
blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
blazeds/trunk/qa/features/full.properties
blazeds/trunk/qa/features/httpService.properties
blazeds/trunk/qa/resources/config/flex-config.xml
Removed Paths:
blazeds/trunk/qa/features/nist.properties
blazeds/trunk/qa/features/webService.properties

Revision: 3025
Author: [email protected]
Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
Log Message:
Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
Modified Paths:
blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
blazeds/trunk/qa/features/full.properties
blazeds/trunk/qa/features/httpService.properties
blazeds/trunk/qa/resources/config/flex-config.xml
Removed Paths:
blazeds/trunk/qa/features/nist.properties
blazeds/trunk/qa/features/webService.properties

Similar Messages

  • [svn] 3037: Update flex-config. xml files used by the team and qa webapps to use the {targetPlayerMajorVersion} token instead of a hardcoded player version in the library-path and external-library-path .

    Revision: 3037
    Author: [email protected]
    Date: 2008-08-29 06:54:15 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Update flex-config.xml files used by the team and qa webapps to use the {targetPlayerMajorVersion} token instead of a hardcoded player version in the library-path and external-library-path. This will allow the correct playerglobal.swc to be located when the target player version is set in the flex-config.xml or passed to mxmlc or compc.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/resources/config/flex-config.xml

    Unfortunately I don't have the
    "org.eclipse.swt.win32.win32.x86_3.1.2.jar" file. On my computer
    the folder is not set up the same way (C:\Program Files\Adobe\Flex
    Builder 2\plugins) instead it is set up as (C:\Program
    Files\Adobe\Flex Builder 2\metadata\plugins) but I've looked in
    everything and that file just isn't in there. I've re downloaded it
    twice. Still not there. Is there anything else i can do.

  • [svn:osmf:] 17548: Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually  (e.g.

    Revision: 17548
    Revision: 17548
    Author:   [email protected]
    Date:     2010-09-01 14:09:14 -0700 (Wed, 01 Sep 2010)
    Log Message:
    Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually (e.g. for static plugins).
    Modified Paths:
        osmf/trunk/libs/samples/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • [svn:osmf:] 11292: Removing 'libs' as a library path from the Flex Builder project properties.

    Revision: 11292
    Author:   [email protected]
    Date:     2009-10-30 02:28:09 -0700 (Fri, 30 Oct 2009)
    Log Message:
    Removing 'libs' as a library path from the Flex Builder project properties.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.actionScriptProperties
        osmf/trunk/framework/MediaFramework/.flexLibProperties

    Revision: 11292
    Author:   [email protected]
    Date:     2009-10-30 02:28:09 -0700 (Fri, 30 Oct 2009)
    Log Message:
    Removing 'libs' as a library path from the Flex Builder project properties.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.actionScriptProperties
        osmf/trunk/framework/MediaFramework/.flexLibProperties

  • [svn:bz-trunk] 10167: Add tests to test the enforce-endpoint-validation system setting in services-config .xml.

    Revision: 10167
    Author:   [email protected]
    Date:     2009-09-11 13:43:18 -0700 (Fri, 11 Sep 2009)
    Log Message:
    Add tests to test the enforce-endpoint-validation system setting in services-config.xml.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/build.xml
    Added Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/user_classes/qa/CustomNetConnection.as
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/services-config.xml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/services-config.xml

    Revision: 10167
    Author:   [email protected]
    Date:     2009-09-11 13:43:18 -0700 (Fri, 11 Sep 2009)
    Log Message:
    Add tests to test the enforce-endpoint-validation system setting in services-config.xml.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/build.xml
    Added Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/user_classes/qa/CustomNetConnection.as
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/services-config.xml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/services-config.xml

  • [svn] 3159: fix to target the correct player in the external library path for the packaged build file

    Revision: 3159
    Author: [email protected]
    Date: 2008-09-09 12:53:37 -0700 (Tue, 09 Sep 2008)
    Log Message:
    fix to target the correct player in the external library path for the packaged build file
    Modified Paths:
    flex/sdk/trunk/frameworks/build_framework.xml

    Hi Gaurang,
    Were you able to resolve your issue?
    Hope the following links help:
    /message/7579461#7579461 [original link is broken]
    Re: Required JAR files:
    Regards,
    Dao

  • [svn] 3867: Add new user-agent info to the sample services-config.xml file.

    Revision: 3867
    Author: [email protected]
    Date: 2008-10-24 07:13:10 -0700 (Fri, 24 Oct 2008)
    Log Message:
    Add new user-agent info to the sample services-config.xml file.
    Modified Paths:
    blazeds/trunk/resources/config/services-config.xml

    Resolved! The problem was in the php code the wizard had generated as an example and that I had edited in Dreamweaver. I had tried to start a session and set session objects in the php code. I developed if() { statements} to check the session variable before executing the function in some of my data services. Apparently the wizard does not like this. I removed all references to session. I reconfigured the input types and the return types for each service. With the code now clean the wizard created the example code and placed the proper package in the scr.services package. I still have custom php code and it executes.
    Things I learned:
    If the php code stops when a session variable is not available in the if statement and the data service is refreshed, the wizard will not "look" beyond the if statement.
    Functions downstream of a session variable misshap will show in the data services window but the functions will have a circle icon to the left of the function name and each variable to be passed to the php code will be declared as type = Object in Flashbuilder. The input types and return types will have to be reconfigured for each non-functioning function. Simply commenting out a portion of the php code and attempting a refresh will not make it work again.
    When the wizard is unable to refresh properly because of a stop in the php code it stops working completely so additional refreshes or creation of code is not carried out.
    I decided to create a My SQL table for user and other identifiers rather than attempting the session object again.
    Sorry, I did not make screen shots as I solved this problem. I hope the solution is not hard to visualize.
    Thanks for looking and considering how to help me. I hope my solution works for you.

  • How do I add a jar file into the build path of the compiler?

    Hey,
    I'm trying to import a jar file into the build path of the compilation process, but it does not find the packages or the classes that are in it.
    I think I don't add it right...
              ArrayList<String> options=new ArrayList<String>();
              options.add("-d");
              options.add(targetDirectory);
              options.add("-classpath");
              for(String str:includeDirectory)
                   options.add(str);
              if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call());
                    ....and I've tried this way:
         public void setTargetDirectory(String targetDirectory) {
              this.targetDirectory = "-d " + targetDirectory;
         private void compile(Iterable<? extends JavaFileObject> compilationUnits) throws Exception {
              ArrayList<String> options = new ArrayList<String>();
              options.add(targetDirectory);
              String classPath="-cp ";// tried this also with "-classpath"
              for (String str : includeDirectory)
                   classPath+=str+":";
              options.add(classPath);
         if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call())
              // throw new Exception("Compilation Error");
         }Thanks in advance,
    Adam.
    Edited by: Adam-Z. on Feb 24, 2010 5:41 AM
    Edited by: Adam-Z. on Feb 24, 2010 5:42 AM

    Thank you for your reply,
    Q: Are there .class files in that directory in that jar file? (the compiler doesn't ( can't )) look for directories, it can just look for specific files , and scan to get a list of all files matching certain criteria. So if there are no class files, it will say the package doesn't exist, even if there is a directory, possibly containing other files.yes there are class files in the jar, the tree structure:
    j2MeDataChunkGenerator_Plugin\(lots of class files)
    META-INF\manifest.mf
    and thats it.
    , your code will only work on windows because other platforms use a different path separator. You should use java.io.File.pathSeparator not explicit ';" when building your classpath. (this is unrelated to your problem, but you should correct it)will do, thanks.
    Q: Is that error in your post formatted by your own diagnostics? (we could possibly help you better if we didn't have to guess!!)I would not post my own error code, this text is generated by the compiler diagnostic.
    {code}
         System.err.println(" Error details: " + diagnostic.getMessage(null));
    {code}
    Q: Is line 3 of ImageCroper_Editor.java (sic) an import statement? (we could possibly help you better if we didn't have to guess!!)it is an import error... didn't the error message stated that it is an import problem? wired, I'm sure before it did. anyway it is an import error.
    Also you don't show us what the variable includeDirectory is in terms of type, and contents, that might be helpful. (we could possibly help you better if we didn't have to guess!!)It has only one String object: "D:\%Important Documents\WorkSpaces\PacMan\ApplicationManager\Plug-in\Data Chunk Designer.jar"
    the last file on the classpath list.
    Q: Have you proven this? that i did post, in this long line of text.
    Q: Is the compiler finding other classes (in other packages) in that same jar file?No. all the class files are in the jar, they all have entries that start with "j2MeDataChunkGenerator_Plugin\*.class", and since I get 47 errors I guess it does not load any other class.
    thank you for you comments, the problem with having these errors, is that I can't even get a piece of information where this error is coming from, only that it is an import loading error package not found, what does that mean? that the jar was not loaded in compilation(no error about this), that the jar is corrupted(no error about this), that the path is incorrect(it is correct I made sure), that there is no such package in the jar(There is), that the compiler does not load the package(does it even do that?), really I can't even guess why this happens, I've been at this on and of all day today, really annoying.
    Thanks,
    Adam.

  • Could not find agent library on the library path or in the local directory

    Hi all,
    I'm trying to write a jvmti agent that write any information in a mysql db. I've written a simple agent that work correctly and now I'll try to insert the mysqlpp library in my agent:
    1) I've added #include <mysql++.h>
    2) and I've added mysqlpp::Connection      conn(false); (global variable)
    I've modify my Makefile and the compiler and linker work correctly but when I test the agent the VM says "Could not find agent library on the library path or in the local directory"
    Below the code:
    -- analizer.cpp --
    #include <iostream>
    #include <stdlib.h>
    #include <jni.h>
    #include <string.h>
    #include <jvmti.h>
    #include <mysql++.h>
    #include "ClassDetail.cpp"
    #define CFN(ptr) checkForNull(ptr, __FILE__, __LINE__);
    static void checkForNull(void *ptr, const char* file, int line) {
        if(ptr == NULL) {
            std::cerr << "ERROR : NullPointerException in " << file <<":"<< line<<"\n";
            abort();
    static char* getErrorName(jvmtiEnv *jvmti, jvmtiError err) {
        jvmtiError errNum;
        char *name;
        errNum = jvmti->GetErrorName(err, &name);
        if( errNum != JVMTI_ERROR_NONE) {
            std::cerr << "ERROR : errore nel reprire l'error name " << errNum;
            abort();
        return name;
    #define CJVMTIE(jvmti, err) checkJvmtiError(jvmti, err, __FILE__, __LINE__);
    static void checkJvmtiError(jvmtiEnv *jvmti, jvmtiError err, const char* file, int line) {
        if(err != JVMTI_ERROR_NONE) {
            char *name = getErrorName(jvmti, err);
            std::cout << "ERROR : JVMTI error " << err << "("<<name<<") in "<<file<<":"<<line;
            abort();
    static void vmInit(jvmtiEnv *jvmti_env, JNIEnv *jni, jthread thread);
    static void startGCEvent(jvmtiEnv *jvmti_env);
    static void finishGCEvent(jvmtiEnv *jvmti_env);
    static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData);
    jrawMonitorID           lock;
    int                     gc_count;
    long                    heapSize = 0;
    bool                    heapCheck = false;
    mysqlpp::Connection      conn(false);
    JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
        std::cout<<"OnLoad\n";
        jint                rc;
        jvmtiEnv            *jvmti = NULL;
        jvmtiError          err;
        jvmtiCapabilities   capabilities;
        jvmtiEventCallbacks callbacks;
        rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION);
        if( rc != JNI_OK) {
            std::cout << "ERROR : Errore nell'ottenere 'environment rc = " << rc;
            return -1;
        CFN(jvmti);
        err = jvmti->GetCapabilities(&capabilities);
        CJVMTIE(jvmti, err);
        CFN(&capabilities);
        capabilities.can_generate_garbage_collection_events = true;
        capabilities.can_tag_objects = true;
        CJVMTIE(jvmti, jvmti->AddCapabilities(&capabilities));
        CJVMTIE(jvmti, jvmti->CreateRawMonitor("agent lock", &lock));
        callbacks.VMInit = &vmInit;
        callbacks.GarbageCollectionStart = &startGCEvent;
        callbacks.GarbageCollectionFinish = &finishGCEvent;
        CJVMTIE(jvmti, jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)));
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_START, NULL);
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_FINISH, NULL);
        return 0;
    JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm)
        std::cout<<"OnUnload\n";
    static void JNICALL worker(jvmtiEnv *jvmti, JNIEnv *jni, void *p) {
        std::cout << "worker";
        for (;;) {
            CJVMTIE(jvmti, jvmti->RawMonitorEnter(lock));
            while (gc_count == 0) {
                CJVMTIE(jvmti, jvmti->RawMonitorWait(lock, 0));
                jvmti->RawMonitorExit(lock);
            gc_count = 0;
            jvmti->RawMonitorExit(lock);
            /* Perform arbitrary JVMTI/JNI work here to do post-GC cleanup */
            if(!heapCheck) {
                heapCheck = true;
                jint        count;
                jclass    *classes;
                CJVMTIE(jvmti, jvmti->GetLoadedClasses(&count, &classes));
                ClassDetail *details = (ClassDetail*)calloc(sizeof(ClassDetail), count);
                for(int i = 0; i < count; i++) {
                    char *sig;
                    CJVMTIE(jvmti, jvmti->GetClassSignature(classes, &sig, NULL));
    CFN(sig);
    details[i] = ClassDetail(strdup(sig));
    CJVMTIE(jvmti, jvmti->SetTag(classes[i], (jlong)(ptrdiff_t)(void*) (&details[i])));
    heapSize = 0;
    CJVMTIE(jvmti, jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, &heapObject, NULL));
    std::cout << "Heap Memory : " << heapSize<<'\n';
    heapCheck = false;
    static void vmInit(jvmtiEnv jvmti, JNIEnv jni, jthread thread) {
    jclass clazz = jni->FindClass("java/lang/Thread");
    jmethodID mid = jni->GetMethodID(clazz, "<init>", "()V");
    jthread _thread = jni->NewObject(clazz, mid);
    CJVMTIE(jvmti, jvmti->RunAgentThread(_thread, &worker, NULL, JVMTI_THREAD_MAX_PRIORITY));
    static void startGCEvent(jvmtiEnv *jvmti) {
    static void finishGCEvent(jvmtiEnv *jvmti) {
    std::cout << "****************************************************************** <<<<<<<<<<<< Finito gc\n";
    gc_count++;
    CJVMTIE(jvmti,jvmti->RawMonitorEnter(lock));
    CJVMTIE(jvmti,jvmti->RawMonitorNotify(lock));
    CJVMTIE(jvmti,jvmti->RawMonitorExit(lock));
    static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData) {
    if(tag != (jlong) 0) {
    std::cout << "Tag : " << tag<< '\n';
    ClassDetail detail = (ClassDetail) (void*) (ptrdiff_t) tag;
    char *sig = detail->getSignature();
    std::cout << "Class " << sig << " size : " << size<<'\n';
    heapSize += size;
    return JVMTI_ITERATION_CONTINUE;
    -- ClassDetail.cpp --class ClassDetail {
    private:
    char* signature;
    public:
    ClassDetail(char* signature){
    this->signature = signature;
    char* getSignature() { return this->signature;}
    --Makefile--########################################################################
    # Sample GNU Makefile for building JVMTI Demo waiters
    # Example uses:
    # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparc]
    # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9]
    # gnumake JDK=<java_home> OSNAME=linux [OPT=true]
    # gnumake JDK=<java_home> OSNAME=win32 [OPT=true]
    # Source lists
    LIBNAME=analizer
    SOURCES=analizer.cpp
    MYSQLPP_LIB_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/lib/
    MYSQLPP_HEADER_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/include/mysql++
    MYSQL_PATH=/opt/mysql-5.0.51a-linux-i686-icc-glibc23
    # Solaris Sun C Compiler Version 5.5
    ifeq ($(OSNAME), solaris)
    # Tell gnumake which compilers to use
    CC=cc
    CXX=CC
    # Sun Solaris Compiler options needed
    COMMON_FLAGS=-mt -KPIC
    # Check LIBARCH for any special compiler options
    LIBARCH=$(shell uname -p)
    ifeq ($(LIBARCH), sparc)
    COMMON_FLAGS+=-xarch=v8 -xregs=no%appl
    endif
    ifeq ($(LIBARCH), sparcv9)
    COMMON_FLAGS+=-xarch=v9 -xregs=no%appl
    endif
    ifeq ($(OPT), true)
    CXXFLAGS=-xO2 $(COMMON_FLAGS)
    else
    CXXFLAGS=-g $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.o)
    # Library name and options needed to build it
    LIBRARY=lib$(LIBNAME).so
    LDFLAGS=-z defs -ztext
    # Libraries we are dependent on
    LIBRARIES= -lc
    # Building a shared library
    LINK_SHARED=$(LINK.cc) -G -o $@
    endif
    # Linux GNU C Compiler
    ifeq ($(OSNAME), linux)
    # GNU Compiler options needed to build it
    COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
    # Options that help find errors
    COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
    ifeq ($(OPT), true)
    CXXFLAGS=-O2 $(COMMON_FLAGS)
    else
    CXXFLAGS=-g $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.o)
    # Library name and options needed to build it
    LIBRARY=lib$(LIBNAME).so
    LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
    LDFLAGS += -lmysqlpp
    # Libraries we are dependent on
    LIBRARIES=
    # Building a shared library
    LINK_SHARED=$(LINK.cc) -shared -o $@
    endif
    # Windows Microsoft C/C++ Optimizing Compiler Version 12
    ifeq ($(OSNAME), win32)
    CC=cl
    # Compiler options needed to build it
    COMMON_FLAGS=-Gy -DWIN32
    # Options that help find errors
    COMMON_FLAGS+=-W0 -WX
    ifeq ($(OPT), true)
    CXXFLAGS= -Ox -Op -Zi $(COMMON_FLAGS)
    else
    CXXFLAGS= -Od -Zi $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.obj)
    # Library name and options needed to build it
    LIBRARY=$(LIBNAME).dll
    LDFLAGS=
    # Libraries we are dependent on
    LIBRARIES=
    # Building a shared library
    LINK_SHARED=link -dll -out:$@
    endif
    # Common -I options
    CXXFLAGS += -I.
    #CXXFLAGS += -I../agent_util
    CXXFLAGS += -I$(JDK)/include -I$(JDK)/include/$(OSNAME)
    CXXFLAGS += -I$(MYSQLPP_HEADER_PATH) -I$(MYSQL_PATH)/include -L$(MYSQLPP_LIB_PATH) -I$(MYSQLPP_LIB_PATH)
    # Default rule
    all: $(LIBRARY)
    # Build native library
    $(LIBRARY): $(OBJECTS)
         $(LINK_SHARED) $(OBJECTS) $(LIBRARIES)
    # Cleanup the built bits
    clean:
         rm -f $(LIBRARY) $(OBJECTS)
    # Simple tester
    test: all
         LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -jar jvmti-test.jar
         #LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -version
    # Compilation rule only needed on Windows
    ifeq ($(OSNAME), win32)
    %.obj: %.cpp
         $(COMPILE.cc) $<
    endif

    Did you make sure your library (call it x) starts is named libx.so (atleast, on linux, possibly libx.dll on windows, not sure)? It will not load otherwise, and you must specify -agentlib:x (rather than saying libx.so). Yes, it is "funny" how it gives the same uninformative error message for a wide variety of errors. It will also give you this same error message if there are still unresolved symbols upon loading your library (which would be my second guess).

  • How to get the full path of the fmx's directory.

    Hi all,
    I will ship my project to a customer. So I must install forms runtime at the customer's machine.
    I put all of the fmx files of my project into a certain directory at the customer's machine, and I create a desktop shortcut of the forms runtime. In the "start in" field of the shortcut property I put the full path of the directory where I put the fmx files. And in the target field of the shortcut property I put after the ifrun60.exe the name of the fmx file which to call first.
    Now , in one of my forms file I want to get the full path of this directory because I must call Ora_Ffi.Load_Library. And the library which I want to load resides on that directory.
    So how to get programatically the directory where the fmx files reside.
    I know that there is the registry entry FORMS60_PATH, but we plan to ship many projects to that customer; so if I use the FORMS60_PATH variable then there will be an error because there will be many directories. And the customer can launch many of the projects at the same time.
    So how to get it.
    Thank you very much indeed.

    If you are using the d2kwutil library, then you can use the win_api_environment.Get_Working_Directory() function.
    If not, I doubt that there is anyway to get it since the get_application_property(current_form) does not return the full path of the form as it used to in prior versions of Oracle forms such as 4.5.

  • [svn:bz-trunk] 14752: Remove the unnecessary dependency of blazeds-team app on data project.

    Revision: 14752
    Revision: 14752
    Author:   [email protected]
    Date:     2010-03-14 13:29:27 -0700 (Sun, 14 Mar 2010)
    Log Message:
    Remove the unnecessary dependency of blazeds-team app on data project.
    Modified Paths:
        blazeds/trunk/development/eclipse/projects/java/blazeds-team.war/.classpath

    I like it so far, good job I'll still always stick to the CLI for my package management most likely, but it's nice to have good GUIs out there, I always keep my eye out for them, and this is good so far. One small suggestion is for the AUR package, I don't think it should automatically add stuff to the daemons line in rc.conf, just my opinion. The install script should tell you to do it, but not actually do it, in my opinion, that's how every other package I see does it, but that's a minor issue

  • TS1967 I followed all the steps in this and it mostly worked, the problem was the library is missing the last 3 and a half months of music adds and ratings. Is there any way to get them back?

    Seriously this kind of *****. I have lots of music and freaked when it was all gone and I'm still freaking that I have to find the last 3 and a half months of music and rate it all over again. What can I do?
    When I plugged my iPod in it said there was songs on the iPod not in the library and I clicked the option to add them to my library but it didn't seem to work.

    check out this post by Zevoneer.
    also, there are PhoneView and iRip.
    edit: and start backing up !! you might want to bookmark this article for future reference: The Complete Guide to Backing Up your iTunes Library

  • How do I add a new ipod to my iTunes library without loosing the original ipod connection, how do I add a new ipod to my iTunes library without loosing the original ipod connection

    I have a new iPod touch, that I want to sync with my existing iTunes Library. However, I want to keep my old classic ipod (for use in the house); can I have two registered to one library without loosing or wiping my library?

    mtneer wrote:
    It has everything to do with it.
    The OP wants both iPods to carry the contents of the library but was afraid that syncing the second iPod would somehow mess up either the library or the first iPod - not, of course, the case since no information from the iPod is transferred to the library.
    Your suggestion is applicable for people who want a second iPod to carry a different selection of songs.

  • [svn] 2716: SDK-15848 - Conditional compilation constants defined in flex-config. xml are never used if a single constant is specified on the command line

    Revision: 2716
    Author: [email protected]
    Date: 2008-08-04 01:18:12 -0700 (Mon, 04 Aug 2008)
    Log Message:
    SDK-15848 - Conditional compilation constants defined in flex-config.xml are never used if a single constant is specified on the command line
    * There's a possibility this will break a conditional complication test which disallows overwriting an existing definition -- I don't know if that will break the build, but the test should be removed either way.
    * Using append syntax ("-define+=" on the command line or ant tasks, or append="true" in flex-config) and redefining a value works now if you use an already-defined namespace and name.
    * So your flex-config may have -define=CONFIG::debug,false, and you may want -define+=CONFIG::debug,true from the commandline build, or FB build.
    * Made the ASC ConfigVar fields final as a sanity check since overwriting is now allowed. It would be harder to track changes and subtle bugs if they were mutable. This means that you must build a new ConfigVar object if you need to make changes.
    Bugs: SDK-15848
    QA: Yes. Please read the updated javadocs in CompilerConfiguration. Tests need to be added to validate that overwriting is allowed, and happens correctly in different situations: I believe the order should be that flex-config is overwritten by a custom config (can we have more than one user config? is the order deterministic? I forget...), is overwritten by commandline or OEM. Did I miss any? (I didn't write code which changes this, it works however the existing configuration system allows overwriting and appending; if we have tests for that, maybe we don't need them duplicated for this feature.)
    Doc: Yes. Please read the updated javadocs in CompilerConfiguration.
    Reviewer: Pete
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15848
    http://bugs.adobe.com/jira/browse/SDK-15848
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ConfigVar.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java

    Please note: I AM USING:
    JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    And that's what's supposed to fix this problem in the first place, right??

  • [svn:bz-trunk] 16330: QA: Yes - Ran test locally and it was failing but tested condition was true - there is no services-config .xml file

    Revision: 16330
    Revision: 16330
    Author:   [email protected]
    Date:     2010-05-26 07:55:41 -0700 (Wed, 26 May 2010)
    Log Message:
    QA: Yes - Ran test locally and it was failing but tested condition was true - there is no services-config.xml file
    Doc: No
    Checkintests: NA
    Details: Updated expected error message to match current error.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/NoServicesConfigFileTest/error.t xt

    I have uploaded detail.txt at below url.
    http://m.uploadedit.com/b041/1413264342685.txt
    Hi Mahesh,
    According to log file, I find the message ‘The setup100.exe.config file was not found, therefore the DTSWizard and SQLWatson app config files were not replaced’. It seems that the SQL Server setup file is not complete. Please check that if the SQL Server
    setup file is corrupted, if it is corrupted, please download it again and reinstall SQL Server 2008 R2.
    However, if there’s no problem with the setup file, please check that if there is third-party software such as anti-virus software on your computer blocking the process of SQL Server installation. In addition, make sure that you choose ‘Run as administrator’
    to launch the setup and configure SQL Server service accounts appropriately with administrator permission during the installation.
    For more details about this error, please review the following similar thread.
    http://answers.flyppdevportal.com/categories/sqlserver/sqlsetupandupgrade.aspx?ID=ad794a97-09ae-4aae-9d68-0b06f9af3e16
    Thanks,
    Lydia Zhang

Maybe you are looking for

  • I have a lot of questions on the ipod ...

    Ok well.. i have a ipod video 30gb. Well idk how, but water got into the screens and the part were you connected the usb port in. The ipod [when not connected] keeps charging and not charging. Now, my ipod had just lost about 20 gb worth of stuff. Ho

  • Call ABAP program on R3 system from BW system

    Hi How can I call abap program residing on the R3 system from the BW system ? It is simple program (select single from table) returning or not one record. Regards Adam

  • Please continue to carry WAVY-TV and WVBT-TV!

    All, as of 11PM / 7 Jan 13 Verizon has yet to come to an agreement with WAVY and WVBT for continued broadcasting.  Please contact Verizon at 1-800-837-4966 and WAVY at 1-800-948-7240 and ask them to work it out!!  The current agreement ends on 10 Jan

  • How to gain more storage (usage) space (like GBs) back my iPad?

    I deleted apps off my iPad but I still see that the used GB isn't back on here..... I want to know how do I get back my space?

  • SAP Netweaver trial version from internet

    Gurus - I have finally managed to install the trail version of SAP 7.0 in my home PC running on XP Home I am only able to access the system from my home network.  When I am outside of the network am not able to access it.  I think I have to configure