Compile File vs. Compile All

Hi All,
This is probably an easy one. What is the difference between File>Administration>Compile File (ctrl t) and Program>Compile>All (shift+ctrl+k)?
And does one need to do both before running a form?
Bradley

Control+Shift+k recompiles all PL/SQL inside the module, but does not generate any external file.
Control+t generates a new executable (*.fmx) and in the process will only re-compile PL/SQL in the module that it thinks are dirty.
As a matter of course I tend to do a Control+Shift+K before doing a Control+t. This is most sensible when you have a lot of changing external dependances in Database packages and libraries.

Similar Messages

  • How to Use SDK compile all MXML file in project ?

    Who can teach me ? Plz
    1.How to Use Adobe SDK to compile all MXML file in project ?
    2.How to Use Ant to compile all MXML file in project ?
    Thanks everyone !!

    Thank you first!
    Yes,you are right,since I am new to illustrator,and I want to try to write a plugin,
    I have read the sdk doc and API and opened the sample in vs2010,but no idea about how to operate the pdf doc in illustrator with api.
    Hope more advise or any examples,thank a lot.

  • Compiling all possible java files

    Hi,
    I have a project in which not all files/packages compiles but a set of packages compiles always.
    Say set of classes which might not compile as 'A' and set of classes which will always compile as 'B'
    On frequent basis i need to get update. And I am only concerned about set 'B' but when i compiles my project using ant
    compilation fails as 'A' compilation fails and because of that it doesn't go further to compile 'B'.
    So how to get eclipse like functionality to compile all possible files?
    what i have is
    ================================
    <javac debug="${debug}" deprecation="${deprication}"
                   optimize="${optimize}" destdir="${build.home}/WEB-INF/classes"
                   listfiles="${listfiles}" target="${jdk.compliance}"
                   verbose="${verbose}" srcdir="${src.home}"
                   memoryMaximumSize="512M" fork="true"
                   source="${src.compliance}">
                   <classpath refid="compile.path"/>
                   <include name="**/*.java"/>
                   <exclude name="HBM/**"/>
                   <compilerarg value="-Xlint:unchecked"/>
    ===================================
    I do not wish to write all the classes specifically that compiles in ant script.
    Thanks in Advance

    Try with failonerror option in your javac.
            <javac debug="${debug}" deprecation="${deprication}" optimize="${optimize}" destdir="${build.home}/WEB-INF/classes" listfiles="${listfiles}" target="${jdk.compliance}" verbose="${verbose}" srcdir="${src.home}" memoryMaximumSize="512M" fork="true" source="${src.compliance}" {color:#0000ff}*failonerror="false"*{color}>
                <classpath refid="compile.path" />
                <include name="*/.java" />
                <exclude name="HBM/**" />
                <compilerarg value="-Xlint:unchecked" />Regards,
    Prashanth.

  • How to compile all forms in a directoy at time?

    Hi friends, thank for your replies for the previous questions.
    Now
    How to compile all form modules located in a directory
    at a time? usually what I know is opening form one by one
    and compile it. But I want to compile all forms and create
    executable files at a time.
    Is project Builder helpfule to achive this??
    thanks
    madhu

    Yes, his file is useful -- it should run on Windows XP. You need to copy the above text into a file using a standard text editor, something like Notepad. To run it, you open a Cmd.exe DOS window on your pc, change directory (CD) to the folder where your forms are, and enter the command script file name.
    Here are several more links to other topics in this forum asking how to do the same thing:
    Re: How To Compile 370 forms ?
    Re: Creating Oracle 10g Forms and Reports Builds

  • How to compile all froms together

    hi,
    i am using oracle forms 9i & we r going to higher version 10g so we had to compile all my forms in higher version. so is it any way to compile them all together .
    Regards

    Hi
    i used this patch for this pupose before.
    1.Pls open a note pad and paste the following lines...
    ::compile_forms.bat
    cls
    Echo compiling Forms....
    for %%f IN (*.fmb) do frmcmp.exe userid=pro/123@Projects  module=%%f batch=yes
        module_type=form compile_all=yes window_state=minimize
    ECHO FINISHED COMPILING 2. change the user name , password and the database alias accordingly...
    3. Pls save the file with a name.bat then...
    4.put this file in the forms folder then...
    5.Double click on that batch it will compile all the forms in that folder consequently...
    Hope this helps...
    Regards,
    Abdetu...

  • Can i compile all my forms all at a time

    Hi all
    Actually my application have around 60 forms....
    I need to compile all the forms...
    to compile and generate fmx for each form is time taking thing...
    Is there any way to compile and generate fmx all at a time....
    And i am using Window XP
    Can any one help me in this????
    Thanks
    Edited by: maddyd2k on May 5, 2011 5:52 AM

    Hi
    Thanks for ur reply
    It is help ful....
    But no form got compiled ... i am getting err files for each form..
    The following code i have used
    cls
    echo compiling forms......
    set forms_path=D:\batch_compile
    D:
    cd D:\batch_compile
    for %%f IN (*.fmb) do frmcmp.exe userid=ctp/ctp@new_test_hts module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    echo Finished Compiling
    there are some template forms and pll and mmb which are subclass to the forms
    can u please tell me how to correctly do it??
    Thanks

  • Whether Pll Compilation all form can be compile or not

    Hi,
    one urgent issue...
    i had patch one pll and move library path.
    Whether the pll moved their in library.i can compile all fmb onceagain isit necessary or not necessary?

    Its not clear to me what it is you want to do.
    Did you move a pll from one location to another in the file system? If so, you don't have to recompile. You need to add the new path to the FORMS_PATH env variable but that is it.

  • Setting tomcat to compile all jsps on deployment?

    Hi everybody,
    I was wondering if anybody knows of a tomcat option which causes tomcat to compile
    all jsps in the webapp at deploy time. (without setting each jsp to a certain compile time)
    I'm familiar with ant and the ant task to precompile the jsps.
    In order to do this i guess i have to change my deployment descriptors to take the jsp class files instead of just the jsps. This is something i'd like to avoid.
    Anybody?

    I'm not sure Tomcat 5 supports this but you may be able to use the jsp_precompile request parameter to compile all the JSPs that make up your application. You would deploy your application archive as usual, then request all the JSPs in your application (use an automated tool to request each URL), in each JSP request you would pass the request parameter jsp_precompile=true. This causes the JSP to be compild but does not actually service the request.
    Example http://localhost:8080/my.js?jsp_precompile=true
    This should compile the my.js JSP but not process the request.

  • How do I make 'javac' to compile all subdirectories?

    Is there any option of 'javac' command, so javac compiles all .java files in all subdirectories?

    Hi ,
    No recursive way of compiling. You can use packages which will
    be searched to be recomplied. Or if you do not want that, but the
    java files have different names then you can use a file composed of the java files and the @file name.
    ie
    foo1/TestJava1.java
    foo1/foo2/TestJava2.java
    put these two java files into a file say srcfile
    srcfile
    foo1/TestJava1.java
    foo1/foo2/TestJava2.java
    javac @srcfile
    Dave Nicholson Sun Developer Tech Support

  • Force to compile all

    Dear Friends
    if i delete WEB-INF\flex\generated\*.*
    would i force JRUN/Flex to compile all my flex application
    files?
    or there is other way?
    thank you

    thank you v.much
    please verify documentation, for ...mxml?recompile=true
    I found this somewhere on the web (i like it)
    this can go there(documentation) too:
    > function copyObject(obj) {
    > var copy = (obj instanceof Array) ? [] : {};
    > for(var i in obj) {
    > var item = obj
    > switch(item instanceof Array || item instanceof Object)
    > case true:
    > copy = copyObject(item);
    > break;
    > default:
    > copy
    = item;
    > }
    > }
    > return copy;
    > }

  • Please give me idea now I compile all branch data in head office only new r

    Hi master
    Sir I have 5 office In different city and one head office in Karachi all branch have same oracle system my question is how I get new data and compile for accumulative reporting
    I want only new record and modify record not old record
    Old record already I import
    When I use oracle import and export tool that no give me right result
    If xxx table exists in database then import tool not replace and no insert or no replace with previous data with new modify data
    Such as
    First time
    V_no=897 have debit amount 3998 is Islamabad branch and i export form Islamabad and import in Karachi office
    Next time
    Islamabad office change v_no=897 debit amount with 76555 and add many new record
    I export form Islamabad and import in Karachi office but system no change and not add new record in Karachi office
    Please give me idea now I compile all branch data in head office only new record and modify record
    Thanks
    aamir

    Here a very simple example with table EMP, assuming source table has a primary key. Firstly you create a materialized view log on source table (necessary for fast refresh) :
    SYS@db102 SQL> conn test/test
    Connected.
    TEST@db102 SQL> create materialized view log on emp including new values;
    Materialized view log created.
    TEST@db102 SQL> then at destination DB/user :
    TEST@db102 SQL> conn scott/tiger@test10
    Connected.
    SCOTT@test10 SQL> create database link test
      2  connect to test identified by test
      3  using 'db102';
    Database link created.
    SCOTT@test10 SQL> create materialized view emp_mv
      2  refresh fast
      3  as select * from emp@test;
    Materialized view created.
    SCOTT@test10 SQL>Now emp_mv is the exact copy of emp. To refresh the MV, to reflect changes :
    SCOTT@test10 SQL> exec dbms_mview.refresh('EMP_MV','F');
    PL/SQL procedure successfully completed.
    SCOTT@test10 SQL>                                                                  ...but I strongly recommend you to read the documentation...

  • How to compile all objects.....in Oracle10g

    Hi ,
    The Oracle Doc about PL/SQL Packages and Types reffering to DBMS_UTILITY and the COMPILE_SCHEMA procedure....points out :
    "Compiles all procedures, functions, packages, and triggers in the specified schema"
    So how to compile views and possibly other db schema object types ......????
    For example issuing the command :
    select object_name from user_objects where status='INVALID';
    we get all invalid objects, views , packages , e.t.c.
    How to compile all types of objects ... except for EM10g env......
    Many thanks....
    Sim

    You may want to use Solomon Yakobson's utility available here:
    http://apex.oracle.com/pls/otn/f?p=2853:5:4266218307366505

  • Compile all forms 6i in Unix

    i am able to compile one form at a time but how do I compile all forms, for some reason I created a new form, ftp it, then compiled it , it runs in Oracle Apps environment however all other forms are inactive, I believe I have to recompile all forms (am i right?) but I dont know how to do this , here is the code I have to compile one form
    $ ls -l /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb
    $cp /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb_070415
    $ ls -l /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx
    $ cp /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx_070415
    $ put the form source onto this host in the following directory
    $ cd /u01/app/appl/au/11.5.0/forms/US
    $ $ORACLE_HOME/bin/f60gen module=/u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb userid=apps/dbaapps output_file=/u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx module_type=form batch=yes compile_all=special
    $ more BGQTRAIN.err
    <no errors found>

    Try out
    Forms/Reports 6i
    #UNIX Forms Compile
    #compile_forms.sh
    for i in `ls *.fmb`
    do
    echo Compiling Form $i ....
    f60genm userid=scott/tiger@bs817 batch=yes module=$i module_type=form
    compile_all=yes window_state=minimize
    done

  • How can I compile all functions, procedures and packages with a script?

    I need to compile all functions, procedures and packages of 5 schemas (users) with a script.
    How can I do it?
    Thanks!

    you can create a script to select all invalid objects in those schemas Since Oracle 8 introduced NDS this approach has struck me as a trifle old fashioned. It's much simpler to loop round the query in PL/SQL and use EXECUTE IMMEDIATE to fire off the DDL statements. No scripts, no muss, no fuss.
    Having said that, the problem with this approach and also with using DBMS_UTILITY.COMPILE_SCHEMA is that they do not compile all the invalid objects in dependency order. This may result in programs being invalidated by the subsequent compilation of dependencies. This is due to the introduction of Java into the database.
    The UTLRP script is much better, because it (usually) avoids cyclic references. But you still may need to run it more than once.
    In general it is better to avoid sledgehammer recompilations (like DBMS_UTILITY.COMPILE_SCHEMA, which starts by invalidating all the objects). If we have twenty invalid objects, nineteen of which are dependencies of the twentieth, we actually only need to recompile the master object, as recompiling it will trigger the recompilation of all the others.
    Cheers, APC

  • Command to compile all installed packages

    hi to all,
    exist a command to compile all packages are installed in your system ?
    thanks

    We know what you want. We also know that instead of searching for it, you want someone to give you "a tip".
    Well, I have a tip for you - don't do it. There is no appreciable benefit gained from recompiling all your packages, so save the time you would have spent on it for something more useful, and we'll leave it at that.
    Alternatively, if you really want to do it - SEARCH THE FORUM.
    Thread closed.

Maybe you are looking for