Ant fails to compile the modules that use the interfaces

Hi, I have a major problem to compile flex with ANT modules.

I'll try to give ALL the necessary information, so we can avoid unnecessary questions novice days.

I have an application that uses a lot of modules.  They compile perfectly in flash builder.

First question.  How can I get flashbuilder 4.7 to show me the command line that he uses for mxmlc?  If I could see it, I could do it all myself.

Second question: what is the problem with my work below?

I have a module that looks like this:

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:fx s:Module ' 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)" "

>

Inside this module, I have several other properties that are themselves instances of type various other interfaces.

When I build the main application, all right.

I created a macrodef of ANT to build all my modules effectively.

< name macrodef = "buildModule" >

< attribute name = "module name" default = "none" / >

< attribute name = "module-package" default = "none" / >

< attribute name = "out-path" default = "'." / > "

< sequence >

< echo message = "building @{module-name} for @{out-path}/@{module-name}.swf" / >} "

"< file="${APP_ROOT}/src/@{module-package}/@{module-name}.mxml mxmlc ".

output="${DEPLOY_DIR}/@{out-path}/@{module-name}.swf".

Keep-generated-actionscript = "false".

incremental = "false".

Debug = 'true '.

fork = "true".

external load-trainees = "${ANT_ROOT}" / link - report.xml ' "

optimize = "false".

>

< filename="${FLEX_HOME}/frameworks/flex-config.xml"/ load-config >

< path-element source-path = "${FLEX_HOME} / frameworks" / >

< compile .library-path dir = "${HOF_COMMON_ROOT}" append = "true" >

< name = 'bin' / >

< / compile .library-path >

< compile .library-path dir = "${APP_ROOT} ' append ="true">

< name = 'java' / >

< / compile .library-path >

< compile .library-path dir = "${FLEX_HOME} ' / managers ' append ="true">"

< name = 'java' / >

"" < name = "... /bundles/ {local}" / >

< / compile .library-path >

< path-element source-path = "${APP_ROOT} / src/locale / {local}" / >

< / mxmlc >

< / sequential >

< / macrodef >

< target name = "modulesDebug" depends = "lobbyDependencies" description = "Building the Hall modules for debug" >

<!-< buildModule-module = module package "InboxDlg" name = "com/hof/Hall/modules/dlgs" off-path = "modules3/dlgs" / >-->

< buildModule-name of the module = module package 'VolatileAssets' = ' com/hof/Hall/modules' off-path = "modules3" / >

< / target >

Then, when I run this goal, I get the following result:

modulesDebug:

[echo] building modules3/VolatileAssets.swf VolatileAssets

[mxmlc] F:\var\sdk\flex_sdk_4.5.1.21328A\frameworks\flex-config.xml configuration file

[mxmlc] F:\var\projects\hof\svn2.---.com\lobby\branches\3.1.39.0\src\com\hof\lobby\modules\Vola tileAssets.mxml(-1): Error: IVolatileAssets Interface 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 during the execution of this line:

F:\var\projects\hof\svn2.---.com\lobby\branches\3.1.39.0\build.XML:51: mxmlc task impossible.

Total time: 7 seconds

If I remove the implements attribute in the definition of the module component, then I get a failure cascaded to EVERY SINGLE interface in the module.

Basically something is causing ANT to fail to load the def for ANY interface class in the module.

What on earth am I doing wrong?

Help, please.

Thank you.

I answer my own thread because I absolutely HATE when I see a message with the problem I have and no response.

Here is the answer to the problem:

I had to create an external configuration file and load it with

the content of ModuleConfig.xml re - defines almost every configuration framework.  None of them seem to non-standard for me...

Basically I defined just to be what it SHOULD be and responsible for the config file after I applied the default flex - config.xml in the SDK.

do what I posted below and it will work.

so now my macrodef is:

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 ".

>

and my ModuleConfig file:

http://www.Adobe.com/2006/flex-config">

fake

true

flash.fonts.JREFontManager

flash.fonts.BatikFontManager

flash.fonts.AFEFontManager

flash.fonts.CFFFontManager

${basedir} / src/locale / {local}

${basedir} / src

true

${FLEX_HOME}frameworks/themes/Spark/spark.css

http://ns.Adobe.com/MXML/2009

${FLEX_HOME} frames/mxml-2009 - manifest.xml

Library://ns.Adobe.com/Flex/spark

Frames/spark - manifest.xml ${FLEX_HOME}

Library://ns.Adobe.com/Flex/MX

Frames/mx - manifest.xml ${FLEX_HOME}

http://www.Adobe.com/2006/MXML

Frames/mxml - manifest.xml ${FLEX_HOME}

Managers or the locale ${FLEX_HOME} / {local}

${FLEX_HOME}frameworks/libs/rpc.swc

${FLEX_HOME}frameworks/libs/osmf.swc

${FLEX_HOME}frameworks/libs/spark.swc

${FLEX_HOME}frameworks/libs/charts.swc

${FLEX_HOME}frameworks/libs/framework.swc

${FLEX_HOME}frameworks/libs/spark_dmv.swc

${FLEX_HOME}frameworks/libs/sparkskins.swc

${FLEX_HOME}frameworks/libs/textLayout.swc

${FLEX_HOME}frameworks/libs/advancedgrids.swc

${FLEX_HOME}frameworks/libs/authoringsupport.swc

${FLEX_HOME}frameworks/libs/flash-integration.swc

${FLEX_HOME}frameworks/libs/mx/mx.swc

-owners libs - redacted-

${FLEX_HOME}frameworks/libs/player/10.2/playerglobal.swc

en_US

es_ES

en_US

IT_IT

10.2

11

fake

${FLEX_HOME}frameworks/libs/framework.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/framework_4.5.1.21489.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

framework_4.5.1.21489.SWZ

${FLEX_HOME}frameworks/libs/textLayout.swc

http://fpdownload.Adobe.com/pub/SWZ/tlf/2.0.0.232/textLayout_2.0.0.232.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

textLayout_2.0.0.232.swz

${FLEX_HOME}frameworks/libs/osmf.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/osmf_1.0.0.16316.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

osmf_1.0.0.16316.SWZ

${FLEX_HOME}frameworks/libs/spark.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/spark_4.5.1.21489.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

spark_4.5.1.21489.SWZ

${FLEX_HOME}frameworks/libs/sparkskins.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/sparkskins_4.5.1.21328.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

sparkskins_4.5.1.21328.SWZ

${FLEX_HOME}frameworks/libs/rpc.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/rpc_4.5.1.21328.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

rpc_4.5.1.21328.SWZ

${FLEX_HOME}frameworks/libs/charts.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/charts_4.5.1.21328.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

charts_4.5.1.21328.SWZ

${FLEX_HOME}frameworks/libs/spark_dmv.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/spark_dmv_4.5.1.21328.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

spark_dmv_4.5.1.21328.SWZ

${FLEX_HOME}frameworks/libs/mx/mx.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/MX_4.5.1.21489.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

MX_4.5.1.21489.SWZ

${FLEX_HOME}frameworks/libs/advancedgrids.swc

http://fpdownload.Adobe.com/pub/SWZ/Flex/4.5.1.21328/advancedgrids_4.5.1.21328.SWZ

http://fpdownload.Adobe.com/pub/SWZ/crossdomain.XML

advancedgrids_4.5.1.21328.SWZ

${APP_ROOT}/src/@{module-package}/@{module-name}.mxml

${DEPLOY_DIR}/@{out-path}/@{module-name}.swf

Tags: Flex

Similar Questions

  • WS TP fails to compile the kernel 3.10.0 - 0-generic [SOLVED]

    Host: Ubuntu 13.10 kernel 3.10.0 - 0-generic

    VMware modules fail to rely on this core

    The end of the vmware Installer log

    2013-06-28 01:56:35, 080] stop VMware services:
    Demon of authentication makes VMware
    VM communication interface socket family is
    Virtual machine communication interface is
    Virtual machine monitor makes
    File system is blocking

    [2013-06-28 01:56:35, 542] Starting VMware services:
    Virtual machine monitor failed
    Virtual machine communication interface is
    VM communication interface socket family is
    File system is blocking
    Virtual Ethernet failed
    Demon of authentication makes VMware

    The vmware Installer full log attached as a .tar file.

    Kernel engineers can work on that?  Guess it must be done before the final release, but it would be much sooner.

    There is a patch for the kernel rc 3.10 posted WS 9.0.2 forum but the author (if I read him correctly) seems to say that he didn't need the vmblock module which does not work for me.

    Follow thisL

    https://wiki.archlinux.org/index.php/VMware

    Host: Ubuntu 13.10 Kernel (sallets) 3.10.0 - 2-generic

    Client: Windows 8 x 65

    Comments have VMware Tools installed and has been fully patched.

  • How to trace a module that uses shared server sessions?

    I have an application (Esri ArcGIS Server 9.3.1) I want the trace. Oracle is at 11.2.0.2.0. Our OEM's to 10.2.0.4.0.

    When I start a trace for the OEM (ArcSOC.exe) module, I can see a trace file begin to grow larger. But there seems to be a trace file that already exists (example: < instance >s00022493.trc). To isolate only the length of time, I am interested by that activity, I would like to start with a fresh trace file. Is it possible to do? Should I remove the currently active trace files or which would cause a failure?

    When tracing to a dedicated server session, I noticed that a new trace file will be created with "ora" in its name. Of course not so much with shared server stuff, if it is followed by a module or a particular session. When the shared server model is used, it seems Oracle wants to reuse existing trace files. And as trace removal a get pretty big, it would be difficult to open the trace file in an editor and delete the pre-existing activity, older people I don't want to work with.

    See http://www.oracle-base.com/articles/10g/SQLTrace10046TrcsessAndTkprof10g.php in various ways. Remove the trace file before you begin. See http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#i20110

  • fail to compile the shared library vorbis for BB10

    I'm using the SDK native on Windows 7 and downloaded the source from Github OggVorbis-Blackberry code. I create a shared library project and import the source code to IDE, but finally get a static version. The makefile contains built in a static library it is not shared. How to solve the problem? I don't know how to use autotools in Windows 7. Can I rebuild the autoconf and automake files in Linux and copy files to Windows 7? Thank you.

    If you are not fluent with the Makefiles then use managed build.

    > I create a shared library project and import the source code of the IDE, but finally get a static version.

    Make sure you have - here shared key:

  • FAILED TO CREATE THE INTERFACE ORACLE DATA INTEGRATOR PROJECT

    Hello

    I'm new to ODI & I started to learn by following the links

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_11g/odi_master_work_repos/odi_master_work_repos.htm

    I did creating the repository master & repository work successfully by the following scenario in the link above. Later, I followed the link below

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_11g/odi_project_ff-to-FF/odi_project_flatfile-to-flatfile.htm

    in this scenario, when I'm creating interface, I got two errors

    Gravity Message object
    Fatal target target temporary DataStore datastore has no name.
    Critics target DataStore No. IKM is selected for this interface.

    But, I chose IKM SQL to ADD the FILES in the tree structure Module knowledge in respect of integration after selecting I click on save and then new open pop-up window and you are prompted for the name of the file by clicking the search icon I have chosen a path, and I gave him the name of file then recorded... After having done that also, I face the same mistakes. So someone please help me to overcome this problem

    Thank you
    Gunuru

    Hi Gunuru,

    Problem 1:
    In your interface, go to the mapping tab.
    Click "Target data store" on the top right of your screen and then enter a name for the data (bottom) store.

    Problem 2:
    Your probably forgotten point 4 and point 5 of this article: http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_ff-to-ff/odi_project_flatfile-to-flatfile.htm#t6

    Just click the workflow tab, click your staging area and choose your IKM.
    You must also choose a LKM on the part of the source.

    It will be useful.

    Kind regards
    JeromeFr

  • Flex 4.1 export of custom components in an Application or Module if used in the Module only?

    According to me, Miss me something here:

    "Because a module is loaded into a child domain, it has definitions of classes that are not in the area of the main application. For example, the first module to load the PopUpManager class becomes the owner of the PopUpManager class for the whole application because it records the Manager with the SingletonManager. If later another module tries to use the PopUpManager, Adobe® Flash® Player throws an exception.

    This technique also applies to components. The module that uses the first has the class of the component definition in its field. Therefore, if another module tries to use a component that has already been used by another module, its definition do not match the existing definition. To avoid a mismatch of definitions of element, create an instance of the component in the main application. The result is that the definition of the component is the property of the main application and can be used by modules in any field of the child. »

    I thought that if I use a component in one module then I won't be able to use it in application modules or a brother and I would be able to use it only in the Submodule of this module as the component definitions are in the scope of module which is a child of the scope of the application.

    So I just do a simple example: application with 2 moduleLoaders and 2 modules both using the same 3 components:

    (1) ButtonBar

    (2) DataGrid

    (3) CustomSkinnableComponent (empty, just extends SkinnableComponent) with custom skin (with a Rect 200 x 200 px, extends skin).

    I start the application--> two modules load without problem. Wasn't this supposed to cause error with the second loading module because the first module contains the definitions of components? Or does not result in an error because the component definitions match and match because my component is in the same project in flex, and in this case there is no problem. Problem will be if I have 2 or more RSL with the same definitions of package and class, but different features?

    I do not really understand how to cause incompatibility of definitions component so I can watch to avoid that it... can someone please explain?

    I'm confused and I thought I knew this kind of things. What Miss me?

    Also one last thing:

    I thought that if a module contains component definitions which means it is swf should grow in size-> due to the use of modules. If the application contains the definitions of components would not be what it means the application swf will grow in size and then-> why should I use a module? To save the memory of bodies and images/fonts embeded in the module?

    Bearing also in mind that the skin of a component is also a class definition and I incorporate some large images in there, and I use this skin in 2 modules, wouldn't that require skin to be implemented-> big size of swf application and no module swf as it should?

    Please someone shed some light in my foggy mind

    Post edited by: FM_Flame

    Pretty much:

    public var foo:Object;

    public function runTest (): void

    {

    If (Application.application.foo is nothing)

    Application.application.foo = new SomeClass();

    on the other

    trace (test (application.application.foo));

    }

    If you click the first button, then the second, you should see a type

    incompatibility.

  • LOOK for iOS, 'HelloWorld' fails to compile

    Flash CS 5.5 v11.5.1.349

    Windows 7 Professional SP 1

    I get the compile error when you post AIR for iOS (Flash Cs 5.5). It does not, what is wrong, said simply that he was unable to compile the files.

    "Error creating files.
    Failed to compile... »

    The application is simple - is the example Hello World in the help section, but it still does not work. (Of course, I have all the necessary certificates created.) What is even more interesting, the same fla without changing file compiles well on Flash CS5.5 my colleague, even if (11.5.1.349) versions are identical.

    The only time I get that error is when a file is in use (or Windows thinks it's) because he has started or selected in Windows Explorer, then you will fail to compile the SWF itself. Otherwise, do not hit browse and specifically defining the path to export product also the error for me.

    Is generated all SWF? If so, it has a size (> 0Ko)?

    One thing you should definitely do more than overlay latest Adobe Flash CS5.5 AIR. This will ensure that you have all the latest patches and updates to AIR for iOS. This may solve your problem.

    Download the SDK here:

    http://www.Adobe.com/devnet/air/air-SDK-download.html

    Instructions on layering (disregard the version number difference, simply use the correct number of AIR, you're coming to overlap instead, from 13 to 16):

    http://helpx.Adobe.com/x-productkb/multi/overlay-air-SDK-Flash-Professional.html

    I also recommend to download and update Flash CS5.5 to have the latest version of Flash Player. This is so you can target and test using the version 16 (11.3 flash drive). Here is the download page for the Flash Player the latest debuggers, playerglobal.swc, etc.. :

    http://www.Adobe.com/support/flashplayer/downloads.html

    There is not a lot of information out there on how to install it in Flash CS5.5 but I'll give you the general jist:

    -Close Flash Pro

    -Install 2 browser plugins (activeX and plugin according to the debuggers)

    -Download the "projector content Debugger" and crush the FlashPlayerDebugger.exe in this default path: C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Players\Debug

    -Download the "projector" and crush the FlashPlayer.exe in this default path: C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Players\Release

    -Download the playerglobal.swc (make sure that it has named exactly that), then navigate to the default path: C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0

    -Create a folder in this path called "FP11.3" and place the playerglobal.swc in there.

    -Navigate to the default folder C:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\Players

    -Duplicate the last FlashPlayer1x_x.xml file and name it FlashPlayer11_3.xml.

    -Change the file. Change the lines accordingly, the parts in bold are the changes:

    Flash Player 11.3

    Now you can restart flash and your target publication, you should see Flash Player 11.3 as target.

    To check 11.3 is installed correctly open a new AS3 document and paste this code and then run it using the DEBUGGER.

    Do not simply press CTRL +, it is just a player. Use CTRL + SHIFT + ENTER. You should now see the version followed 11.

    Here is the script code of the simple framework:

    import flash.system.Capabilities;

    trace (Capabilities.version);

    For using the debugger (CTRL + SHIFT + ENTER) I see: WIN 11,3,300,257

    For me using just came out (CTRL + ENTER): WIN 10,2,153,2

  • Fail to create the web service with the type of data defined by the user using the jwsc Ant task!

    Hello everyone!

    I used JAXWS to create WSDL from a file of Jehovah's witnesses.

    It's my TJ:
    -----------------------------------------------------------------------------------
    package ws;

    Import javax.jws.WebService;
    Import javax.jws.WebMethod;
    ws import. MyDataType;

    *@WebService*
    * public class MyWebService {*}
    public MyWebService()
    *{*
    *}*
    *@WebMethod*
    public MyDataType MyWebMethod (MyDataType mdt)
    *{*
    * / / mdt.setS ("I got it!"); *
    return mdt;
    *}*
    *}*
    -----------------------------------------------------------------------------------


    and this is my type of data:
    -----------------------------------------------------------------------------------
    package ws;

    * public class MyDataType {*}


    String ^ s;
    public MyDataType()
    *{*

    *}*
    * public String getS() {*}
    return s;
    *}*

    * Sets public Sub (String s) {*}
    This.s = s;
    *}*
    *}*
    -----------------------------------------------------------------------------------



    and that's my Ant build.xml
    -----------------------------------------------------------------------------------
    * < by default of the project = "all" > *.
    * < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
    * < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
    * < classpath > *.
    * < path id = "weblogic.classpath" > * "
    * < pathelement path = "WEBLOGIC_HOME" / >. *
    * < fileset dir = "${weblogic.jar.classpath}" > *.
    * < include name = "weblogic.jar" / > *.
    * < / fileset > *.
    * < / path > *.
    * < / classpath > *.
    * < / taskdef > *.
    * < target name = "all" depends = "clean, build-service" / > *.
    * < name target 'clean' = > *.
    * < delete dir = "output" / > *.
    * < / target > *.
    * < name target = 'build-service' > *.
    * <!-add jwsc and related tasks here - > *.
    * < jwsc srcdir = "" destdir = "wsoutput" > * "
    * < jws file = "MyWebService.java" type = "JAXWS" / > * "
    * < / jwsc > *.
    * < / target > *.
    * <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
    * < / project > *.
    -----------------------------------------------------------------------------------

    I have run the Ant task, but I get this error:
    -----------------------------------------------------------------------------------
    BuildFile: build.xml

    clean:

    build service:
    [jwsc] TJ: processing module /MyWebService
    [jwsc] The analysis of source files
    [jwsc] The analysis of source files
    [jwsc] 1 TJS files processing for the module /MyWebService
    * [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
    [jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
    [jwsc] Treatment of the web services JAX - WS 1...
    * [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
    ...................
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
    -----------------------------------------------------------------------------------

    Please help me solve this problem.
    Thank you
    Mojir

    I tried to compile your source code and received the same exception.
    However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.

    Please try the ant script below and let me know the result:

    **
    *     *
    *
    *



    <>
    srcdir = "${source.dir}" "

    DESTDIR = "${Build.dir} '"
    keepGenerated = 'true '.
    classpath = "${Class.Path} '"
    Debug = 'true '.
    verbose = "false" >

         


              

    Thank you
    Sandeep

  • frmcmp cannot compile the modules containing SQL code that connected to the database

    Hello

    I checked several hundred messages of the forum on the net without finding a solution.

    I have a Linux server with 11.1 WebLogics (11 GR 1 material) and FormsRuntime installed.

    I am logged in as root.

    I put all the environment variables based on the values in default.env.

    In addition, I updated TERM and ORACLE_TERM vt220. And TNS_ADMIN to the location of the sqlnet.ora and tnsnames.ora.

    I compiled a simple .pll containing only the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    a: = 1;

    END;

    command:

    frmcmp_batch module = TESTLIBPLAIN.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBPLAIN.plx compile_all = Yes = Yes = No. batch connection

    result: successful compilation. generated .plx.

    now, I'm trying to compile an another .pll containing just the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    Select 1 in the doubles.

    END;

    command:

    frmcmp_batch module = TESTLIBSQL.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBSQL.plx compile_all = Yes = Yes = No. batch connection

    result: error:

    "

    11 forms (form of the compiler) Version 11.1.1.3.0 (Production)

    Copyright (c) 1982, 2010, Oracle and/or its affiliates.  All rights reserved.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

    With partitioning, OLAP and Data Mining options

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.1.3.0 - Production procedure generator

    Oracle virtual graphics system Version 11.1.1.3.0 (Production)

    Oracle Multimedia Version 11.1.1.3.0 (Production)

    Oracle tools integration Version 11.1.1.2.0 (Production)

    Common tools Oracle area Version 11.1.1.3.0

    Oracle CORE Production 11.1.0.7.0

    Compile the library TESTLIB.

    Invalidate the body TEST procedure...

    Compilation of body TEST procedure...

    ERROR on line 5, column 1 0

    Ignored SQL statement

    Library TESTLIB closing...

    Errors on TEST:

    PL/SQL ERROR on line 5, column 1 0

    Ignored SQL statement

    Could not generate the library.

    FRM-30312: unable to compile the library.

    "

    the two libraries differ by having used SQl commands or not.

    I tried to compile some more complex .pll and .fmb containg the SQL code. I get similar error messages. The messages that I receive for each module are the same, I would get when compiling the module with FormBuilder 9i (Windows) without being connected to the database.

    So my first thought was, this frmcmp_batch is unable to connect to the database.

    BUT:

    From frmcmp_batch with an invalid user, password, or database name not existing (resp. not in tnsnames.ora), results in appropriate error messages (not found TNS, refusal to sign etc.).

    With myuser/mypassword@mydb I don' t get this kind of messages.

    sqlplus myuser/mypassword@mydb works.

    myuser can access all objects in the database mydb.

    mydb tnsping works.

    When I check v$ session on mydb while (!) frmcmp_batch is running, I see that it is in fact a db session, created from myuser: DB-User = myuser, terminal = myappsever, osuser = root, remote process = frmcmp_batch.  And State of the current session of the db is ACTIVE.

    As a result, frmcmp_batch fails with error messages that I expect that when there is no connection to the base, if it is connected!

    Any ideas what could be wrong with my setup?

    Help appreciated.

    Jean

    I found the solution. Seems, fmrcmp 11g can connect to, but compiles not on the 9i database. With the help of a Database 11 g resolves the problem :-)

  • Compilation of modules failed on the Linux 2.6.30 kernel

    Hello

    I'm on the latest kernel of development (2.6.30rc4) and the compilation of the modules has failed.

    I read the post of this discussion: http://communities.VMware.com/message/1236652

    The attachment named souce.tar.gz compiles this module:

    vmmon-only
    vmnet-only

    But the only vmblock module fail on compiling with this error:

    Using 2.6.x kernel build system.

    make: entering directory '/ tmp/vmware-root/modules/vmblock-only.

    do /lib/modules/2.6.30-020630rc4-generic/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. modules of

    make [1]: entering directory '/usr/src/linux-headers-2.6.30-020630rc4-generic '.

    CC /tmp/vmware-root/modules/vmblock-only/linux/block.o

    CC /tmp/vmware-root/modules/vmblock-only/linux/control.o

    /tmp/vmware-root/modules/vmblock-only/Linux/control.c: in function 'SetupProcDevice ':

    /tmp/vmware-root/modules/vmblock-only/Linux/control.c:159: error: 'struct proc_dir_entry' has no member named 'owner '.

    /tmp/vmware-root/modules/vmblock-only/Linux/control.c:171: error: 'struct proc_dir_entry' has no member named 'owner '.

    make [2]: * /tmp/vmware-root/modules/vmblock-only/linux/control.o error 1

    make [1]: * error 2

    make [1]: leaving directory '/usr/src/linux-headers-2.6.30-020630rc4-generic '.

    make: * http://vmblock.ko error 2

    make: leaving directory '/ tmp/vmware-root/modules/vmblock-only.

    Cannot install vmblock

    Operating system: 64 x 86 Ubuntu 9.04 (Jaunty)

    Kernel Runnng: Linux 2.6.30 - 020630rc4-amd64 (of http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc4/ ( )

    Software: VMware-Player - 2.5.2 - 156735.x86_64

    I listen to it for testinghttp://communities.vmware.com/images/emoticons/grin.gif

    Bye bye...

    Hello!  I started this thread on the other forum you mentioned.

    I have not used the player, but here's a patch for VMware Workstation 6.5.2 for Linux 2.6.30 kernel:

    http://communities.VMware.com/thread/208963

    This should help with problems of module on 2.6.30.  I tested on Linux 2.6.30 - rc4.

    Player and Workstation share the same modules?

    Josh

  • Would it not correct to say that the PCI-6110 can be set to 'redeclenchables' but the PXI-6115 module cannot use this property?

    Would it not correct to say that the PCI-6110 can be set to 'redeclenchables' but the PXI-6115 module cannot use this property?  If Yes, where is it documented the series cards can do trigger?  For example, is it possible to configure the trigger on the PXI-6124?

    Hi Joel_Neptune,

    The PCI-6110 and other materials as the PXI-6115 S series and SMU-6124 do not natively support NOR-DAQmx analog input alarm. However, you can use one of the generalist counters/timers of the Council to generate a reenclenchees pulse train, then use this as the sample clock pulse train. This transportation example shows how:

    LabVIEW\examples\DAQmx\Synchronization\Multi-Function.llb\Multi-Function-Ctr Retrigg Pulse Train generation for the Clock.vi sample

    In addition, the new material of the simultaneous sampling X series are supported trigger analog input without using a separate task of counters/timers.

    Brad

  • Failed deploying EJB project that uses the library on Glassfish

    < font size = 4 > Hi,
    I have an application of multi project that I'm developing and I'm having issues test it. I've set up an EAR, WAR, EJB and two pots of library. The EJB contains classes that use components of the library of jars or implement classes abstract library jars. I added the jars of library for the EJB compilation libraries. Next, I added also the jars of library for the libraries of the EAR. However, when I will then deploy the EAR on the Glassfish server, I get this error, displayed in the Glassfish log: < / police > < br >

    < font size = 2 > < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass < / police > < br >
    < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass < / police > < br >
    < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass < / police > < br >
    < font color = "red" > WARNING: error in the treatment of the annotation: java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClas < / police > < br >
    < font color = "red" > SEVERE: class [com/foo/sdk/base/InterfaceClass] not found. Error loading [class com.foo2.BeanFooClass] < / police > < br >
    < font color = "red" > SEVERE: Exception when deploying the application [FooEAR] < / police > < br >
    < font color = "red" > SEVERE: [BeanFoo.jar] is not a valid ejb jar: it contains zero ejb. < / police > < br >
    Note:
    1. a valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.
    2 EJB3 + beans entity (@Entity) are a POJO and please pack them as library jar.
    3. If the jar file contains valid EJB which are annotated with EJB annotations level component (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see if annotations have been processed correctly.
    java.lang.IllegalArgumentException: invalid [BeanFoo.jar] ejb jar: it contains zero ejb.
    Note:
    1. a valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.
    2 EJB3 + beans entity (@Entity) are a POJO and please pack them as library jar.
    3. If the jar file contains valid EJB which are annotated with EJB annotations level component (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see if annotations have been processed correctly.
    at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:76)
    at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:128)
    at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:730)
    at com.sun.enterprise.deployment.Application.visit(Application.java:1768)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:799)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:277)
    at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:240)
    at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:170)
    at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:93)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:826)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:768)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ 1.execute(CommandRunnerImpl.java:355)
    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl.access$ 1200 (CommandRunnerImpl.java:96)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1247)
    to com.sun.enterprise.v3.admin.CommandRunnerImpl$ ExecutionContext.execute (CommandRunnerImpl.java:1235)
    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:679)

    < font color = "red" > SEVERE: Exception when deploying the application [FooEAR]: [FooBean.jar] is not a valid ejb jar: it contains zero ejb. < / police > < br >
    Note:
    1. a valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.
    2 EJB3 + beans entity (@Entity) are a POJO and please pack them as library jar.
    3. If the jar file contains valid EJB which are annotated with EJB annotations level component (@Stateless, @Stateful, @MessageDriven, @Singleton), check server.log for see if annotations have been processed correctly. < / police > < br >

    < font size = 4 > I use these technologies:
    The IDE NetBeans 7.0 for Java EE
    GlassFish 3.1

    I read that libraries putting into this directory: < glassfish_home > / domains/Domain1/lib can solve the problem, however there must be a better way.

    Any help would be greatly appreciated! < / make >

    Published by: 866180 on June 15, 2011 14:32

    First, use a normal font when you post a question. That's all just awful to read.

    You have several failures here. Have you actually read and try to understand the error?

    java.lang.NoClassDefFoundError: com/foo/sdk/base/AbstractClass

    Java will not lie, this class is not on the classpath of the application. The jar is missing, the class is missing from the pot or you put the jar in the wrong place. Open the ear with your favorite zip tool and discover its structure. What is the path to the jar inside?

    Also, open the file META-INF / "MANIFEST. MF' inside the EJB jar. Is there a class in that line? It should not be!

    A valid ejb jar requires at least one session, entity (1.x/2.x style) or message-driven bean.

    Apparently your EJB jar does not contain a single EJB or MDB class. You forgot a few annotations maybe?

    Seems to me that your application compiles, but other than that it is much broken.

  • How to compile packge inside the procedure that uses this package

    ORACLE 10g, 11g

    CREATE OR REPLACE PACKAGE PKG_TEST_COMMIT
    PROCEDURE Insert_into_table_T1;
    PROCEDURE Update_table_T1;
    END PKG_TEST_COMMIT;

    CREATE OR REPLACE PROCEDURE PROC_TEST_COMMIT as
    Begin
    PKG_TEST_COMMIT. Insert_into_table_T1; -Insert data into table T1
    EXECUTE IMMEDIATE 'DROP table T1;
    IMMEDIATE EXECUTION
    "create table T1 as select"1 ","d"," s "from DUAL;" -now PKG_TEST_COMMIT package at the stage not compiled
    -compile the package
    DBMS_DDL.alter_compile ('PACKAGE', 'OWNER', "PKG_TEST_COMMIT");
    PKG_TEST_COMMIT. Update_into_table_T1;
    End PROC_TEST_COMMIT;

    When I try to run the PKG_TEST_COMMIT I get an error: cannot lock the package.
    I tried to create a separate procedure for compiling, but the result is the same.
    If I'm done PROC_TEST_COMMIT before compiling, then compile - OK.

    It's a way to compile the package inside the procedure?

    TRUNCATE and INSERT / * + APPEND * / should be more effective than deleting them and recreating a table wouldn't it because you don't have to worry about the invalidation and recompilation of all dependent objects.

    Justin

  • How can I recover the modules and their data from a failed HARD drive (the lost BONE areas, but data files are readable)?

    The HARD drive that was my OS (Windows XP Pro SP3) failed and lost quite a few areas which are essential for the operating system running. Other data is still readable. A got another HARD drive and installed Windows XP SP2, Firefox and other programs. I was able to retrieve the bookmarks, security certificates, and other profile information using the information found in bandages.

    None of them addressed how do to recover the modules or their data. Specifically, there are several large, elegant scripts that took months to develop and customize.

    Articles related to migration and other do not work for me because they require the old copy of FF is functional, that is not because the OS on this HARD drive is damaged. Is it possible to recover these data, similar (or not) about how I could get the other profile info?

    Have you copied the entire folder C:\Documents and Settings\username \Application Data\Mozilla\Firefox\ on the old drive?
    If this is not the case, can you?
    If so, make a copy and save this folder just in case.

    If so, you could replace this folder on the new facility by \Profiles\ [with your profiles inside] folder and the profiles.ini file [delete all other files / folders that may also be in the folder "Firefox"] -and then replace with the same folder named from the old failed drive. Note that you will lose what you already have with the new installation / profile!
    Your profile folder contains all your personal data and customizations, including looking for plugins, themes, extensions and their data / customizations - but no plugins.
    But if the user logon name is different on the new facility that the former, any extension that uses an absolute path to the file in its prefs will be problems. Easily rectified, by changing the path to the file in the file prefs, js - keep the brake line formatting intact. The extensions created after the era of Firefox 2.0 or 3.0, due to changes in the 'rules' for creating extensions usually are not a problem, but some real old extensions that need only "minor" since that time can still use absolute paths - even though I have not seen myself since Firefox Firefox 3.6 or 4.0.

    View instead of 'Modules' I mentioned the 4 types of 'Modules' separately - Plugins are seen as 'Add-ons', but they are not installed in the profile [except those mislabelled as a "plugin", when they are installed via an XPI file], but rather in the operating system where Firefox 'find' through the registry.

    Note: Migration articles can tell you do not re - use the prefs.js file, due to an issue that I feel is easily fixed with a little inspection and editing. I think you can manage that my perception is that you have a small shovel in your tool box, if you encounter a problem you are able to do a little digging and fixing problems with the paths to files - once you have been warned.

    Overall, if you go Firefox 35 35 or even Firefox 34 to 35, I don't think you will run in all the problems that you can not handle [that I cross my fingers and "hope" that I'm not on what it is obvious].

    With regard to the recovery of the 'data' for individual extensions - there are many ways that extension developers used to store their data and pref. The original way should save in prefs.js or their own file RDF in the profile folder. While Firefox has been developed more, developers started using their own files in the profile folder. And because Mozilla has started using sqlite database files in Firefox 3.0, Mozilla extended their own use of sqlite, as have extension developers.
    Elegant uses the file stylish.sqlite to store 'styles', but something in the back of my mine tells me that 'the index' maybe not in this file with the data. But then again, I can be confusing myself a question I had with GreaseMonkey awhile back where I copied the gm_scripts folder in a new profile and with already installed GreaseMonkey but with no script. These GM scripts worked, but I could not see them or modify them - they do not appear in the user GM extension interface window in Firefox.

  • Failed to load the VI using the stand-alone executable interface user

    Hi all

    I am preparing for my deployment. I'm building an executable for my UI (based on the example of the Simple user interface), I get the following error when you try to run my test sequence using this as standalone executable.

    I do not get this message when I run the user interface vi (Note: the LabVIEW adapter is configured to use LVRTE).

    There are several code modules in test sequences, but this error occurs only for 3 of these code modules. These 3 code modules run from another sequence of "sub", located in the same file in sequence as in the main sequence. These sequences of void (the first is call Stop Valve monitor as shown in the error message) operate asynchronously and each of them calls the LabVIEW code module (first called StopValve.vi as shown in the error message). The rest of the code modules that are supported correctly are call of normal main sequence code modules.

    Can someone please help me figure out why these 3 code modules are not able to load in? Any way to solve this problem?

    I use 32 2014 LabVIEW and Teststand 2014 32 bits.

    Yours sincerely,

    chati

    If it's on the same machine, and the only difference is the development of vs runtime. Then it is likely that those with bad or outdated compiled code.

    For every VI in question:

    Check if the screws are marked. Open them, check the properties of the VI / general tab make sure the ' separate compiled code in the source file "is not checked.

    In addition, perform a massive compilation on the VI. CTRL - Shift and click on the run button. Controls RECOMPILE the VI, Maj RECOMPILE all the sub screw

    Save all the

    I hope this helps.

Maybe you are looking for

  • Spectrum x 360: how to stop the x 360 disable keyboard spectrum just because the laptop is turned on its side?

    Hello- When my x 360 spectrum is turned on its side, (IE, use it while fixing my side) of the keyboard and trackpad turn off, as if I was with her in the form of tablets. (It is also used to change the rotation of the screen, but I fixed per rotation

  • Sad, sad battery

    I got my phone a day.  I loaded entirely last night.  At 5:30 I unplugged from the charger.  I did 5 texts and checked my email once.  The rest of the time, it is in standby mode.  Now is 08:40, and the battery is dead.  This is lame! I got rid of my

  • Yoga 2 Pro mode 'sleep'

    I have a Yoga Pro 2. I7, 512 GB hard drive (the more expensive one). The computer will not wake from sleep mode. I tried to change sleep settings. I have updated all drivers (this laptop is less than 2 weeks). If I use the settings on the laptop or i

  • Can you send a song from Media Player 11 on a smartphone?

    I have over 200 songs on Amazon cloud player that are available in Windows Media Player 11. I would like to send some of these songs to a friend with an iPhone 5. Is this possible and if so, how?

  • How does a sparekey?

    I have a friend who could not connect on Windows 7 Home Premium with its password.  She had not created a password reset disk (PRD) to enable him to get into Windows and reset his password.  Fortunately, some time later, she was able to connect with