Ant fails to compile modules which use interfaces

Hi, I am having a major problem compiling flex modules with ANT.
I will try to give ALL necessary information so we can avoid days of useless novice questions.
I have an application that uses many modules.  They DO compile perfectly in flash builder.
First question.  How can I get flashbuilder 4.7 to show me the command line which it uses for mxmlc?  If I could see this, I could do everything myself.
Second question:  What is wrong with my work below?
I have a module which looks like this:
<?xml version="1.0" encoding="utf-8"?>
<s:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
implements="com.hof.lobby.modules.IVolatileAssets"
width="400" height="300"
creationComplete="onDummy(event)"
>
I have inside this module various other properties which are themselves instances typed as various other interfaces.
when I build the main applicaiton, everything is fine.
I created a macrodef in ANT to build all my modules efficiently.
    <macrodef name="buildModule">
        <attribute name="module-name" default="none" />
        <attribute name="module-package" default="none" />
              <attribute name="out-path" default="." />
        <sequential>
                  <echo message="building @{module-name} to @{out-path}/@{module-name}.swf" />
                  <mxmlc file="${APP_ROOT}/src/@{module-package}/@{module-name}.mxml"
                               output="${DEPLOY_DIR}/@{out-path}/@{module-name}.swf"
                               keep-generated-actionscript="false"
                               incremental="false"
                               debug="true"
                               fork="true"
                               load-externs="${ANT_ROOT}/link-report.xml"
                               optimize="false"
                               >
                            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                            <compiler.library-path dir="${HOF_COMMON_ROOT}" append="true">
                                      <include name="bin"/>
                            </compiler.library-path>
                            <compiler.library-path dir="${APP_ROOT}" append="true">
                                      <include name="libs"/>
                            </compiler.library-path>
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="../bundles/{locale}" />
                </compiler.library-path>
                            <source-path path-element="${APP_ROOT}/src/locale/{locale}"/>
            </mxmlc>
        </sequential>
    </macrodef>
    <target name="modulesDebug" depends="lobbyDependencies" description="Build the lobby modules for debug">
              <!--<buildModule module-name="InboxDlg" module-package="com/hof/lobby/modules/dlgs" out-path="modules3/dlgs"/>-->
              <buildModule module-name="VolatileAssets" module-package="com/hof/lobby/modules" out-path="modules3"/>
          </target>
So then when i run this target, i get the following output:
modulesDebug:
     [echo] building VolatileAssets to modules3/VolatileAssets.swf
    [mxmlc] Loading configuration file F:\var\sdk\flex_sdk_4.5.1.21328A\frameworks\flex-config.xml
    [mxmlc] F:\var\projects\hof\svn2.-----.com\lobby\branches\3.1.39.0\src\com\hof\lobby\modules\Vola tileAssets.mxml(-1):  Error: Interface IVolatileAssets was not found.
    [mxmlc] <?xml version="1.0" encoding="utf-8"?>
BUILD FAILED
F:\var\projects\hof\svn2.-----.com\lobby\branches\3.1.39.0\build.xml:98: The following error occurred while executing this line:
F:\var\projects\hof\svn2.-----.com\lobby\branches\3.1.39.0\build.xml:51: mxmlc task failed.
Total time: 7 seconds
If i remove the implements attribute in the module component definition then i get a cascading failure for EVERY SINGLE interface in the module.
Basically something is causing ANT to fail to load the class def for ANY interface in the module.
What on earth am I doing wrong?
Please help.
Thank you.

I am replying to my own thread because I absolutely HATE IT when i see a post with the exact problem that I have and no answer.
here is the answer to the problem:
I had to create an external config file and load it with
<load-config filename="${basedir}/config/ModuleConfig.xml"/>
the contents of ModuleConfig.xml re-define nearly every framework configuration.  none of them seem non standard to me...
Basically I just defined everything to be what it SHOULD be and loaded this config file after I apply the default flex-config.xml from the sdk.
do what I posted below and it will work.
so now, my macrodef is:
    <macrodef name="buildModule">
        <attribute name="module-name" default="none" />
        <attribute name="module-package" default="none" />
              <attribute name="out-path" default="." />
              <attribute name="debug" default="true" />
        <sequential>
                  <echo message="building @{module-name} to @{out-path}/@{module-name}.swf" />
                  <mxmlc file="${APP_ROOT}/src/@{module-package}/@{module-name}.mxml"
                               output="${DEPLOY_DIR}/@{out-path}/@{module-name}.swf"
                               keep-generated-actionscript="false"
                               incremental="true"
                               debug="@{debug}"
                               fork="true"
                               optimize="false"
                               size-report="${basedir}/reports/@{module-name}-size_report.xml"
                               >
                            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                            <load-config filename="${basedir}/config/ModuleConfig.xml"/>
            </mxmlc>
        </sequential>
    </macrodef>
and my ModuleConfig file is:
<flex-config xmlns="http://www.adobe.com/2006/flex-config">
  <compiler>
    <warn-no-constructor>false</warn-no-constructor>
    <accessible>true</accessible>
    <fonts>
      <managers>
        <manager-class>flash.fonts.JREFontManager</manager-class>
        <manager-class>flash.fonts.BatikFontManager</manager-class>
        <manager-class>flash.fonts.AFEFontManager</manager-class>
        <manager-class>flash.fonts.CFFFontManager</manager-class>
      </managers>
    </fonts>
    <source-path>
      <path-element>${basedir}/src/locale/{locale}</path-element>
      <path-element>${basedir}/src</path-element>
    </source-path>
    <debug>true</debug>
    <theme>
      <filename>${FLEX_HOME}frameworks/themes/Spark/spark.css</filename>
    </theme>
    <namespaces>
      <namespace>
        <uri>http://ns.adobe.com/mxml/2009</uri>
        <manifest>${FLEX_HOME}frameworks/mxml-2009-manifest.xml</manifest>
      </namespace>
      <namespace>
        <uri>library://ns.adobe.com/flex/spark</uri>
        <manifest>${FLEX_HOME}frameworks/spark-manifest.xml</manifest>
      </namespace>
      <namespace>
        <uri>library://ns.adobe.com/flex/mx</uri>
        <manifest>${FLEX_HOME}frameworks/mx-manifest.xml</manifest>
      </namespace>
      <namespace>
        <uri>http://www.adobe.com/2006/mxml</uri>
        <manifest>${FLEX_HOME}frameworks/mxml-manifest.xml</manifest>
      </namespace>
    </namespaces>
    <library-path>
      <path-element>${FLEX_HOME}frameworks/locale/{locale}</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/rpc.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/osmf.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/spark.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/charts.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/framework.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/spark_dmv.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/sparkskins.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/textLayout.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/advancedgrids.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/authoringsupport.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/flash-integration.swc</path-element>
      <path-element>${FLEX_HOME}frameworks/libs/mx/mx.swc</path-element>
      <path-element>  ---- proprietary libs - redacted ----  </path-element>
    </library-path>
    <external-library-path>
      <path-element>${FLEX_HOME}frameworks/libs/player/10.2/playerglobal.swc</path-element>
    </external-library-path>
    <locale>
      <locale-element>en_US</locale-element>
      <locale-element>es_ES</locale-element>
      <locale-element>fr_FR</locale-element>
      <locale-element>it_IT</locale-element>
    </locale>
  </compiler>
  <target-player>10.2</target-player>
  <swf-version>11</swf-version>
  <static-link-runtime-shared-libraries>false</static-link-runtime-shared-libraries>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/framework.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/framework_4.5.1.21489.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>framework_4.5.1.21489.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/textLayout.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>textLayout_2.0.0.232.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/osmf.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/osmf_1.0.0.16316.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>osmf_1.0.0.16316.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/spark.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/spark_4.5.1.21489.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>spark_4.5.1.21489.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/sparkskins.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/sparkskins_4.5.1.21328.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>sparkskins_4.5.1.21328.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/rpc.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/rpc_4.5.1.21328.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>rpc_4.5.1.21328.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/charts.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/charts_4.5.1.21328.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>charts_4.5.1.21328.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/spark_dmv.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/spark_dmv_4.5.1.21328.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>spark_dmv_4.5.1.21328.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/mx/mx.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/mx_4.5.1.21489.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>mx_4.5.1.21489.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <runtime-shared-library-path>
    <path-element>${FLEX_HOME}frameworks/libs/advancedgrids.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/advancedgrids_4.5.1.21328.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>advancedgrids_4.5.1.21328.swz</rsl-url>
    <policy-file-url />
  </runtime-shared-library-path>
  <file-specs>
    <path-element>${APP_ROOT}/src/@{module-package}/@{module-name}.mxml</path-element>
  </file-specs>
  <output>${DEPLOY_DIR}/@{out-path}/@{module-name}.swf</output>
</flex-config>

Similar Messages

  • VMPlayer 3.1.5: Failed to compile module vmmon

    Hi,
    yesterday I updated VMPlayer but after that it doesn't work. When I try to start the program it advice me that 'Before you can run VMware, several modules must be compiled and loaded into the running kernel'. I select the 'Install' button but the procedure fails immediately during the compiling of the 'Virtual Machine Monitor'.
    The problem seems to be the vmmon module.
    Oct 10 10:49:57.775: app-3076052672| Log for VMware Workstation pid=1942 version=7.1.5 build=build-491717 option=Release
    Oct 10 10:49:57.775: app-3076052672| The process is 32-bit.
    Oct 10 10:49:57.775: app-3076052672| Host codepage=UTF-8 encoding=UTF-8
    Oct 10 10:49:57.775: app-3076052672| Logging to /tmp/vmware-root/setup-1942.log
    Oct 10 10:49:58.133: app-3076052672| modconf query interface initialized
    Oct 10 10:49:58.134: app-3076052672| modconf library initialized
    Oct 10 10:49:58.218: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.226: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.248: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.276: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.297: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.394: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.402: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.410: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.419: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.427: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.496: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.505: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.513: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.521: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.530: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.536: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.558: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.652: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.660: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.668: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.676: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.685: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.690: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.712: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.878: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.887: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.896: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.905: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.913: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:59.512: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:59.513: app-3076052672| Building module vmmon.
    Oct 10 10:49:59.525: app-3076052672| Extracting the sources of the vmmon module.
    Oct 10 10:49:59.582: app-3076052672| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-$
    Oct 10 10:50:05.007: app-3076052672| Failed to compile module vmmon!
    I try to compile the modules with the command vmware-modconfig --console --install-all but it returns me:
    $ sudo vmware-modconfig --console --install-all
    Password:
    Stopping VMware services:
    VMware USB Arbitrator done
    VM communication interface socket family done
    Virtual machine communication interface done
    Virtual machine monitor done
    Blocking file system done
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
    make -C /lib/modules/3.0-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.0-ARCH'
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:47:44: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:103:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:113:17: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat]
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:117:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:120:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64’ [-Wformat]
    make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.0-ARCH'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
    Unable to install vmmon

    I am Gianluca wrote:It works!
    Thank you very much BxS
    I use VMware for a long time, it normally needs patchs for new kernels, Workstation 8 and Player 4 for now don't need any, they simple work out of the box, very nice

  • Function module which uses both BAPI's for sales order create and change

    Please name the function module which uses both BAPI's for sales order create and change.
    BAPI_SALESORDER_CREATEFORMDAT2
    BAPI_SALESORDERCHANGE

    Yup.
    you must write a piece of code for this.
    with if else condition.first check if SO is exsist than use second FM to change it else create new SO from first FM.
    logic somethig like this.
    Amit.

  • Datasources with function module which uses table type

    hi..
    I am creating a datasource which extracts data using a function module from xRPM to BW. When creating the function module it gives an error " TABLES parameters are obsolete!" while trying to specify the extract structure. I searched in SDN and learnt that we need to use table types and use that in the changing tab.Not sure how that works and where we need to use the extract structure for this.
    Could someone please explain this to me and let me know how i can create my datasource using this type of function module.

    Hi,
    in your case you need the tables parameter, as the service api expects the result of the fm in a table called e_t_data. Of course table parameters are obsolet but you can just ignore the warning and it will work.
    regards
    Siggi
    PS: Extraction fm must follow a strict interface definition.
    Message was edited by:
            Siegfried Szameitat

  • How can I compile program which uses packages?

    Hi,
    I'm building a program using JBuilder9. I can successfully run using that IDE, but after I try to run it manually (run class file which compiled from JBuilder) by typing "javac myMainClass" it cannot find serveral packages which I put those packages' folder on the same root directory of myMainClass. Thank you.

    Man, you should probably read the following:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
    Anyways, the first thing to do is to determine the current value of CLASSPATH (that is a system variable and it depends on your OS how you change/get its value).
    Next thing is to determine WHAT you need to add:
    For each used package check if its (root directory/jar) is in your CLASSPATH. If not add it, e.g.
    - you have a package my.test.package in C:\temp\myJar.jar then add C:\temp\myJar.jar
    - you have a package my.test.package in C:\temp, i.e. your fs structure is C:\temp\my\test\package, then add C:\temp
    For beginners, it's usually a good idea to have your CLASSPATH contain a dot (".") ...

  • Call Code Module which uses Dll

    I have a CVI .c file that has a function using a DLL. When run from CVI, it works perfectlly
    Then I use TestStand to call the same function. When I comment out the DLL call ---> it works fine!
    However, when I use the DLL, the error show up (as the attachment) when I tried to execute a single pass.
    I did verify the module call by Edit the Source Code and I had include the dll.h & dll.lib in the Tscivrun!
    I do not what else to do, please help!

    The error was not attached (previewing strips it out for some reason).  As for the error itself, I am not sure what to look at yet; it will depend on the error.
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • [Resolved] Distributing a Python module that uses C shared libs?

    I did some research on distutils, and I managed to find fairly detailed instructions for how one could distribute a Python module with C extensions. However, I have a Python module which uses ctypes to run code from C shared libraries (more specifically: SDL, and related libraries).
    Basically, this is what I have:
    pslab.py # requires ctypes wrapper modules below
    sdl.py # ctypes wrapper modules require respective shared libs below
    sdlmixer.py
    sdlimage.py
    sdlttf.py
    # This is for Linux -- .dll for Windows, .dylib for OSX.
    libSDL.so
    libSDL_mixer.so
    libSDL_image.so
    libSDL_ttf.so
    Is there a "standard" way to distribute modules of this type (maybe some undocumented distutils method, or something I failed to find)?
    The Python files are not the problem (distutils can handle them), but I need a way to install the appropriate shared libs for the platform in question (if necessary), so that ctypes wrapper modules can find and load them.
    Last edited by Goran (2012-08-14 08:51:19)

    You could distribute those files ... but I wouldn't recommend it.
    I believe the closest thing to a "standard" is simply to list sdl as a dependency.  A package distributor should not try to manage dependencies for users (only inform them of the dependencies).  That is either up to the user, or (more often) the distro's package management system.
    If I download a program that uses gtk, I don't expect it to include all of the gtk too.  Rather, the documentation would simply specify that gtk is a dependency.  Are you going to also distribute copies of the python interpreter?  Perhaps I'm missing something, but why would sdl be any different than python itself?  It's assumed (or speficied) that the user needs to have these installed for your package to work.
    Last edited by Trilby (2012-08-13 23:44:44)

  • What is the function module which is used to trigger email

    Hi ALL,
    can u send me the function module which has to trigger email when sales order was saved.
    kindly send me the inputs
    thanks & regards
    naveen
    Moderator Message: Basic Question. Thread locked.
    Edited by: kishan P on Nov 11, 2010 10:56 AM

    Hi,
    This needs to coded in the Save User Exit of the Sales Order Include MV45AFZZ (USEREXIT_SAVE_DOCUMENT) and use the Function Module "SO_DOCUMENT_SEND_API1" to trigger a mail.
    Please try this and let me know if any.
    Regards,
    Srinivas
    Moderator Message: Do not answer Basic Question.
    Edited by: kishan P on Nov 11, 2010 10:58 AM

  • Which  Function Module is used for converting the DATE in BDC

    HI,
    Which  Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.

    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.  "in ur format '.
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • Which compiler does JDeveloper use?

    When I try to compile (rebuild) a file I get "Fatal Error: compiler internal error". This file compiles just fine when I use javac.exe that came with jdk1.3. I have set up the jdk1.3 as instructed in the JDeveloper 3.2.2 release notes. In an effort to determine which compiler is being used, I have renamed all javac.exe files on my entire system and also ojc.exe. I would think that this would keep the file from compiling at all, but I can still do a "rebuild".
    So I really have 2 questions:
    Where is JDeveloper finding a compiler?
    How can I resolve this fatal error?
    Any advice would be appreciated.

    How does weblogic determine which DDL to use when          > creating JMS persistent store?
              The DDL is stored in the weblogic.jar, and a particular DDL is chosen automically based on driver meta-data.
              Version 9.0 (out in beta), provides the option of administratively configuring the DDL file location.
              For unsupported drivers, versions prior to 9.0 require manually running a DDL file to create the JDBC store's backing tables (see JMS doc).
              Tom Barnes, BEA

  • Generic Extractor using Function module with Complex Interface

    Hi,
    Has anyone created Generic extractor using Function module with Complex Interface?
    What is the difference between Complex and Simple interface in Function module?
    Pls explain.
    Thanks,
    Gopal

    Hi,
    Go through this link.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    GTR

  • Which function module is used?

    Hi all,
    The function module C1CA_SD_INTERFACE_TO_EHS_NEW is used to generate messages to the workflow inbox.
    From this function module how or which function module is used to get the information to the inbox documents..
    Please reply to my above question...
    Thanks & regards,
    Sunil.

    Hello Sunil
    It is not so clear to me what your are looking for. If you take a look here (as an example)
    http://www.se80.co.uk/sapfms/c/c1ca/c1ca_sd_interface_to_ehs_new.htm
    you will find a "documentation"  of this function module.
    I have copied only thee most important part here of the docu on this link:
    "This is the central function module for linking the R/3 component Product Safety (EHS-SAF) to the R/3 component Sales and Distribution (SD). The function module is used to generate report shipping orders using data from SD. An example of a report is a material safety data sheet. "
    The "inbook" in some "sense" is EHS and there transaction CVD1 and only if you have performed a correct EHS set up.
    What "workflow inbox" are you looking for?? Those of the SAP SD messages ??
    Could you please explain a little bit there you are "struggeling"?
    With best regards
    C.B.
    Edited by: Christoph Bergemann on Apr 9, 2011 9:06 AM

  • Which function module is used for transfering form one version to another

    HI
    COULD ANYBODY TEL ME
    WHICH FUNCTION MODULE IS USED FOR TRNASFORING FROM ONE VERSION TO ANOTHER VERSION.................

    Hi Chaithu,
    Go to SE37,enter your function module, click on where used list button on the application bar.
    All the program used your function module used is displayed.
    Regards,
    Venkat.

  • [solved] question about two soundcards which use the same module

    Hi
    I have two external soundcards, an Edirol UA-25 and a MAudio Transit. Both use the snd_usb_audio kernel driver. When I only had the MAudio, I configured it to be soundcard number 2 with the following in /etc/modprobe/modprobe.conf
    options snd-usb-audio index=2
    Now I'd like to have one be soundcard number 2 and the other one soundcard number 3. The internal soundcard is number 0, my tv card is number 1, I don't want to change that.
    How can I do this?
    Last edited by Army (2011-08-26 16:31:10)

    Ok, works. For documention, here's what I did:
    If you have two (or more) soundcards, which use the same kernel module, this is what you need in your modprobe.conf (or call this file just like you want, it only has to be in /etc/modprobe.d and has to be called *.conf)
    options snd-usb-audio index=2,3 vid=0x0582,0x0763 pid=0x0074,0x2006
    This is what I have now. Index is the number of the card, e.g. you see those numbers in alsamixer when you press F6. The vids and pids you can get with
    lsusb -v|grep idVendor # this is for the idv
    lsusb -v|grep idProduct # this is for the idp
    Just pick the line which stands for the soundcard, put these ids into the *.conf file and you're done. Now it doesn't matter in which order you plugin the soundcards, they get the right index.
    Quite easy after all

Maybe you are looking for