Run Project Builds (compiles) instead of running

For development of a standard Java application:
A typical practice of mine is to edit some code, then build / compile it and then hit "run project". Most of the time this works as expected. But when I'm on some classes instead of running it just builds/compiles again. Why does this occur sometimes but not other times? It seems once a class is stuck it stays "stuck". If I switch my editor pane to a different class and run again it will work fine. (but switching the editor pane back to the stuck class again and run invokes build not run)
I do have a default run target set. And I have "Attempt to run active file before default" also set (which is handy and a nice feature). Also on "Tool Settings" I do have before running "Make Project" set.
This is with JDeveloper 10.1.3.1.0.3984

Yes the log window shows the results of the build / compiling.
The classes are not runnable and are not intended to be runnable. My expectation is that when I invoke run project that if the active file can't be run (doesn't have a main class) then the project itself (the default run target) will execute. And 90% of the time this works.
I'm just confused if I'm doing something wrong or if JDeveloper is just quirky.

Similar Messages

  • Using Ant to run project build.xml file

    Hello,
    I am trying to understand an example Event processing and correlation project (ESPER) written in java. The example source code is provided as a zip file including a build.xml
    The readme says "Simply use the Ant <project>/build.xml to run the example - it should compile and run, print out the simulation"
    I use the netbeans IDE for development which ships with an ant installation. My question is do i need another ant installation to run the example? Ideally i would prefer to run the example in the IDE, any ideas how i can do that?
    your suggestions will be very much appreciated.
    Antana

    The readme says "Simply use the Ant <project>/build.xml to run the example - it should compile and run, print out the simulation"
    The <project>/build.xml is the ant script where you can customize many NetBeans operations, like project construction, javac configurations, etc. If you simply run this script, nothing happens, unless in this script there is some kind of customization, done by the example. I am assuming <project> is the directory of a NetBeans project.
    I use the netbeans IDE for development which ships with an ant installation. My question is do i need another ant installation to run the example? Ideally i would prefer to run the example in the IDE, any ideas how i can do that?
    You do not need another ant installation. The default installation of NetBeans comes with an ant. You can configure NetBeans to use your preferred ant, but you do not need that, because the default ant in NetBeans directory installation do most of things, if not everything, you need. NetBeans 5.5.1 come with Ant 1.7.0 by default, so if you choose you preferred ant, and this ant is also 1.7.0, then nothing different will happen.
    You can perfectly run the example in the NetBeans IDE. You can also debug the example. Maybe what you have to do is configure the NetBeans project, setting the class with the main() method?

  • Project Builder Can it be run as an Exe file at any PC?

    Dear Sir,
    I am planning to make a Project based on my Forms(fmx) and Reports(Rep), database Schema, etc as a whole in a Project.
    Now the question is that Can this project be treated a an Exe file and can be Installed on any PC and shall it work without install Developer(Deployement version) and Personal Oracle(8 or higher)..?
    Please advise in me What options we have in Project building and what are not?
    I search lot through net but could not find Enough material.
    Thanking you in advance.
    Sayeed

    As for as I know, you cannot do the task with the project builder which you'r supposed to do. You cannot create exe file containing FMBs and repoets etc. with the Project Builder to run on another PC.
    The project builder is used to manage the modules FMBs, MMBs, Plls etc.

  • Adding java projects in eclipse instead of jar files

    I have 2 java projects, one is in C:/test/ProjectA and another is C:/test/ProjectB
    Under projectA and ProjectB i have sub projects.
    I mainly work on ProjectB and import the jar of ProjectA in eclipse.
    Now I have removed jar file of ProjectA reference through eclipse and import projects to workspace, added projects under java build path. clean and build project. no compilation error in eclipse.
    when i do this, one of the class file is not getting loaded while server startup:
    07-Sep-2011 09:28:03 org.apache.catalina.loader.WebappClassLoader validateJarFile
        INFO: validateJarFile(C:\project\europa\NOS-OCT-TEST\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ESW\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
        NOS 0    [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ESW]  - Error configuring application listener of class com.bgc.ecm.core.web.listener.Log4jRemappingListener
        java.lang.ClassNotFoundException: com.bgc.ecm.core.web.listener.Log4jRemappingListener
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
    when i add relevant jar file to the project and do a clean build server is getting started as expected.
    But my changes are not reflecting since it is referring old jar file.
    I am using Tomcat server as development environment.
    What i want is instead of refering jar file in eclipse, add projects so that the new changes should reflect the changes without ant build for creating jar file and instead only with eclipse build with source code of the dependent project and run the application.

    847389 wrote:
    I have 2 java projects, one is in C:/test/ProjectA and another is C:/test/ProjectB
    Under projectA and ProjectB i have sub projects.
    I mainly work on ProjectB and import the jar of ProjectA in eclipse.
    Now I have removed jar file of ProjectA reference through eclipse and import projects to workspace, added projects under java build path. clean and build project. no compilation error in eclipse.If you have imported the depended jar, and if its a java project. the eclipse by default refer these while compiling. I mean before using either of the ant script the or build project option in eclipse. And because of this it is not giving error.
    >
    when i do this, one of the class file is not getting loaded while server startup:
    07-Sep-2011 09:28:03 org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\project\europa\NOS-OCT-TEST\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ESW\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    NOS 0    [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ESW]  - Error configuring application listener of class com.bgc.ecm.core.web.listener.Log4jRemappingListener
    java.lang.ClassNotFoundException: com.bgc.ecm.core.web.listener.Log4jRemappingListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
    And when you deploy the build app in tomcat it looks for the dependent jar/classes in lib or classses folder, and as it is not there the error is thrown.
    If you are using ant script then please specify which jar files to load in lib folder.
    when i add relevant jar file to the project and do a clean build server is getting started as expected.
    But my changes are not reflecting since it is referring old jar file.
    I am using Tomcat server as development environment.
    What i want is instead of refering jar file in eclipse, add projects so that the new changes should reflect the changes without ant build for creating jar file and instead only with eclipse build with source code of the dependent project and run the application.If you want this, then write ant script compatible of loading both the jar's.
    Or you can make the ant to prompt the user which jars to be loaded, while building (I suggest this option, rather than loading all the jar's of project A and project B).

  • Project Builder 6.0.5.7.0 woes

    Couple of questions....
    1. Has anyone used this with Oracle Developer 6i? When I started to put in
    all my items then picked tools:delivery wizard, the option to "Deliver
    locally and create an Oracle Installer Script" is Greyed out. Any body else
    experience this?
    2. When I add reports objects (rdf), the node "Reports Builder Document" is
    added but no "Reports Builder Executable". Ideas?
    THIS HAS BEEN RESOLVED (METALINK NOTE)
    3. When I click on Ctrl-T or "Build Selection" button on a form, I get an
    information dialog: "No items were built". What's up?
    4. When I attempt to open a form, right click and select Edit, it opens the
    form and can't find referenced objects (or libraries). Should I be placing
    ALL SOURCE in one path, with the project file in there too, and then using a
    shortcut to startup Project Builder, or putting the path in the registry??
    5. The BUILD option for the module type of FMB says "Convert from Text" and
    when I try Edit Type, the build Action "display in popup menu" is selected.
    However, if I right click a form builder document, I see NO "convert from
    text option". I DO get the CONVERT To Text option (The SCRIPT action).
    Ironically, both have the same HOTKEY. (which is also used by "c"opy)
    6. Why isn't there simply a "Build"/Compile option?
    7. How can I specify a different output directory for the BUILT modules.
    They are defaulting to the directory containing the project file? I see
    this when I turn on Project: Action Preview
    mode, the output_file parameter.
    8. Also, if I turn this on and Select a Build all, there's NO WAY to stop ALL
    OF THE DIALOGS being displayed for each module - what if I want to QUIT in
    the middle of this.
    Any help appreciated!
    null

    Hi Ida
    Ensure that your Oracle 9i database instance is up and running.
    Also, you must have appropriate settings in your tnsnames.ora for using the Oracle 9i database.
    Regards
    Sripathy.

  • What is the use and how to use project builder in forms 6i

    Hi,
    I would like to know the usage of project builder in forms 6i, could anybody explain it.........
    thanks
    Bcj

    Here the link from Grant,
    http://download-east.oracle.com/docs/cd/A97336_01/buslog.102/a73073/prjmgmt.htm#997046
    It is realy helpful, but not yet tested, so still making sure that can i create a setup.exe including forms ' fmx' formats , or i need to add the ' fmx ' files manually while running the setup.
    Thanks for your help
    Bcj

  • Hide certain templates in the Project Builder

    Hello friends,
    Is there any way that we can hide the templates like activity element, milestone, PS texts in the project builder.
    As we are not using those templates we want to hide those as those are creating lot of confusions from the end users.
    We have a requirement to hide it.
    Any suggestions to achieve it will be helpful.
    Regards,
    Lohith

    Hi...Lohith...
    you can use the following function modules to accomplish this (for all your users without having them make the changes on their own)
    CNPB_W_READ_PREFS_FROM_DB
    (needs the user id's to read preferences...)
    CNPB_W_WRITE_PREFS_TO_DB
    (in this one you change the preferences of the users to suit your needs, and the necessary indicators, like deactivate activity elements etc)
    and also CNPB_W_SET_PREF_VALUE to change prefs for your userid (for testing it)
    You can try in a test envinronment FM: CNPB_W_SET_PREF_VALUE and set values of parameters 09:activity elements (' ' or 'X') 10:materials etc....
    (after you run FM in se37 goto CJ20N project builder to check on your userid's changes)
    Try it and let me know...(we have done it for some users and it works)
    Cheers
    Panagiotis

  • How to find all changes in project builder (especially in user field)

    Hi All,
    Please advice, how can i get the history who change our data in cj20n (project builder),especially in user field tab.
    Thank you.
    Best Regards,
    Nies

    I am stating once again what ever was mentioned earlier:
    Check the below:
    1. Is Change documents indicator enabled in the project profile?
    2. Have you created a User Status for business transaction 'Create Change documents' as allowed for the object WBS. (I assume you want to log the changes of WBS user defined fields)
    3. Have you used the this profile while creating the project?
    4. Did you set the user status on the WBS? This needs to be done manually
    5. Have you released the WBS?
    Now try make changes to existing fields of WBS and save it. Run the report CN60
    Regards
    Sreenivas
    Pls close this post if satisfied

  • Oracle installer scripts in Delivery wizard is disabled in Project builder

    Hi,
    I have oracle forms 6i installed on my system. However, I was trying to builld installer scripts for my project. So I open the deliver wizard in Project builder. Select all the parameters, like project name/directory etc.and then when I reach the option of creating installer scripts, it is disabled while the others like,
    Deliver to local staging, Deliver to a remote staging etc is enabled.
    Any ideas, why I the installer scripts are disabled.?
    thnx
    S

    Soe more.
    I read in the Oracle manual under the Guidelines for Building Applications
    in the section Managing Your Application the following statement about project builder:
    "Remember that you can automate the running of test scripts just as you can automate actions associated with the modules in your application.
    How would one do this???
    Thanks!
    Liza

  • Oracle project builder

    hello
    As the VisualBasic Creates the .exe(application file),Can i have the same thing in Oracle Forms6i.I mean to say can i run
    My application Which is made in Forms6i On a Computer where
    Oracle Forms Is not installed.If So How is it possible
    1.What is the use of Oracle project builder??
    2.Can i create such applications(an .exe like application) with Oracle project builder.How to use it???
    3.Where can i find more information regarding Oracle project      builder.
    Thanking u

    No you cannot create .exe files for a Forms application.
    Project Builder is now obsolete so I wouldn't really bother with using it.

  • Project Builder error

    Not sure if this is the correct forum for this...I've got an iMac G4 running 10.4.8. I've tried using Project Builder v2.1 and when I try to start up a new project, it seems to set the directory up okay, but throws out the following notice:
    Uncaught Exception:
    * -[PBXToolbar _notificationPostingEnabled]: selector not recognized [self = 0x44f55b0]
    Stack Backtrace:
    The stack backtrace has been logged to the console.
    I've looked for upgrades that might be the cause underlying this, but can't find anything that makes sense. Any ideas? directions? Thanks

    Project Builder is OLD software. Please update to Xcode:
    http://developer.apple.com/tools/xcode/
    And build some cool apps.
    d
    and yeah this probably isn't the best place, but it worked so maybe it's a good place for Qs such as these.

  • Project Build Query

    Hello,
    While building, if Build Automatically selected under the
    Project menu, the project is supposed to build while we perform a
    save operation. The build process is indicated at the Flex Builder
    status bar right hand bottom corner.
    In my case this build indication is showed at times but most
    of the time it does not show any indication. If I deselect the
    Build automatically option and forcefully try to build the project
    using Build All or Build Project, again at times it shows the Build
    process dialog box or process inidication at the status bar, but
    again mostly it doesnot show anything.
    At times the project gets build fine even though the build
    indication is not shown but many a times it is not building the
    project properly and I am getting erroneous results.
    What may be the reason? I am working on an application which
    is using XMLListCollections ArrayCollections, lots of databinding
    and custom components etc. Could it be a memory issue? Do I need to
    do any specific setting changes for project build and compilation?
    Please advise.
    Regards,
    Paromita

    Hi KR MR,
      Try with thses info objects
    0TCTREQSID                       Data Request (SID)
    0TCTIFCUBE                        InfoCube
    0TCTMNRECO                     Records (WHM Process)
    & use time characteristics..........
    if u want u can additional char like........source system for navigational purpouse.................
    Regards,
    Vijay.

  • Project Build Installer Properties Slow to load, (Maximum vi size)

    I have a LabVIEW Project with 450Mbytes of source code, and drivers.  The Project was originality in LabVIEW 2009.  I upgraded to LabVIEW 2011. 
    Now the Project Build > Installer Properties Menu is about 10x slower than was in LV 2009.
    I've done a mass compile, resolved all error messages in the Project, yet 2011 is still 10x slower than 2009.
    The 2011 Project will build an functional exe, and a functional installer given enough time (like 15 minutes).  During that time the computer is locked up, no other applications are functional.
    The Computer is XP, dual Core, 2.5GHz, 4Gbytes Ram, 4Gbyte Page File.
    The NI Support Desk is saying (quote)   >>>>   seem that the requirements for LabVIEW 2011 are different than the requirements for LabVIEW 2009    <<<<<
    Suggestions ???

    Does the procedure take 30 minutes or 15 minutes (first post)? Also, what is it about the installer build spec that requires further modification after you modify your exe build spec? If the exe is included in the installer, the installer build will automatically re-preview the included exe to get an updated list of files to include next time the installer is built. So unless you need to modify something about the installer spec and not the included source files, no edits would normally be required after changing your exe (or other included source files).
    Keep in mind, the previewing of the exe will take about as long as it takes to build the exe -- it's computing a list of the files that would be built without actually creating the files. A data point of interest is how much longer it takes your exe to build, comparing 2009 to 2011. Does your exe take 10 times longer to build in 2011? Longer exe build times mean longer preview operations in Installer Builder.
    Another thing to check is which distributions you're including on the Additional Installers page. Are more distributions being included in the 2011 build? Did the distributions change significantly in size since 2009?

  • Project builder link is not working in cProjects accounting tab.

    Hello All,
    I have a problem in the cProjects accounting tab where when I select the WBS element in the PS project the page opens where the links to the different systems are seen and when i select to the Project Builder:Display WBS element link it takes me to the initial Screen of the ERP systems instead of taking me to the Project Builder transaction code.
    Thanks and regards,
    Lohith

    Make sure the article that you want to share is un-protected from folio Producer dashboard because all articles are protected by default. And other coupkle of settings to enable social sharing.
    I would suggest you go through this documetation here that explains detailed social Sharing instructions http://help.adobe.com/en_US/digitalpubsuite/using/WSf6ef983f54a76485-3d39e50113568f15d7f-8 000.html

  • New MVC 5 project build fails in Visual Studio Online using TFS

    Here are some of the errors I'm getting.
     Controllers\AccountController.cs (44): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (2): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (3): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (4): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (5): The type or namespace name 'Owin' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (12): The type or namespace name 'UserManager' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\IdentityConfig.cs (59): The type or namespace name 'IIdentityMessageService' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\IdentityConfig.cs (68): The type or namespace name 'IIdentityMessageService' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\RouteConfig.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\Startup.Auth.cs (1): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\Startup.Auth.cs (2): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
    The project builds fine in VS 2013 (since its a new project).
    It seems that it is not recognizing all the packages. How do I fix this problem?

    It doesn't work for me either. It's an MVC 5.2.2.0 project straight out of the Wizard. It's part of a solution with other projects which appear to be working. I tried configuring NuGet to download missing assemblies on the build machine as it suggested on
    some other sites. That didn't help. According to the list of installed software on the Hosted Build Controller, I don't see MVC explicitly listed. (getting-started/hosted-build-controller-..) page in the TFS project site.
    It definitely doesn't work. I'm trying out Visual Studio Premium 2013 and Team Foundation Service on the 90 day trial offer. I can't find any mention of an MVC restriction. I don't want to have to include the package binaries in source control.
    Edit: I tried a standalone MVC 5 project and it worked fine on the Hosted Build Controller. If you add an MVC 5 project using the wizard to an existing solution with other projects, you get the errors below. So it isn't the Hosted Build Controller.
    Strange.
    App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\AccountController.cs (200): The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (200): The type or namespace name 'ValidateAntiForgeryTokenAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (226): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (226): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (234): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (234): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (242): The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (242): The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (243): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (243): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (244): The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)
    It seems that my working stand alone project has the dlls in the packages folder tree added to source control. Whereas in the composite project, only the corresponding .xml files are added to source control. So with the standalone project, the build server
    is locating these dlls and using them.

Maybe you are looking for

  • Form 1099R and W-2 Discrepancies

    Hello, We encountered two separate problems in using the Tax Reporter (transaction code PU19). 1st problem: The Federal Income Tax Withheld in Form 1099-R only showed 10 months worth of data but in Forms 945 and 1096, it reflected the correct Federal

  • How can I install a recent version of Photoshop Elements and keep the albums set up in the older ver

    How can I install a recent version of Photoshop Elements and keep the albums set up in the older version?

  • 64 Point drop in scores

    Hello Folks: I have had a bumpy ride on the establishing credit journey.  Here is what I have so far: No negatives; 2 enquiries on equifax:5 on Experian:Chase denied my request for a card the very first one I tried 5 months ago. Then BOA denied and c

  • ALV  : FIAA_DISPLAY_ALV in Z program

    Hi, Have anyone used Function module FIAA_DISPLAY_ALV in custom Program.. I neede to use this Function module to display my report in ALV. Need to get sort variant from t086 table... Can anyone send me sample code if have? Thanks Ram.

  • Question about configurations in Old Server

    Dear All,, I have a Question ! How will you find what are the configuration are in a server.. for example.. Is the DB configured RAC or DATA guard ? Is RMAN configured or not ? because at any time we have to face this request for Client who they don'