Setting Compile Options in NetBeans

Hello,
I am trying to set the "deprecated" compiler flag using NetBeans, but I am unable to work out how. I've searched the web, and checked the NetBeans website, but unable to find anything relevant, or find a NetBeans forum to post this question.
Any help would be great.
Thank you for your time.
Bob Read

On NetBeans 3.6:
Tools -> Options -> Building -> Compiler Types -> External Compilation

Similar Messages

  • How does one set the option to pre-compile JSPs on deployment in WL 10.3?

    Outside of manually creating and modifying weblogic.xml, that is.
    There used to be a tool Weblogic Builder that gave a graphical interface to modify weblogic.xml. Has this been replaced in 10.3 or just thrown away?
    Also, can I set the option at all in an app deployed as a war without exploding the war manually.
    Thanks.
    Edited by: joeb on Jan 29, 2009 5:26 PM

    You might be able to do this with a deployment plan. If doing this requires adding an element, as opposed to simply modifying the value of an element, then it might not help.
    It would be conceivable to add this capability as part of a build process, as you can use the "xmltask" Ant task library, to automatically modify the file. You'd also have to add in tasks that automatically exploded and reconstruct the WAR file. At least you wouldn't have to do this manually.
    I doubt there's any way to change this in an already deployed app, without redeploying the app.

  • Passing extra compiler options to flexunit ANT task?

    Hi,
    Is there a way to send any extra compiler options to the <flexunit> ANT task?
    I'm using conditional compilation and compilation (mxmlc) is failing from the <flexunit> task:
    "Error: Access of undefined property DEBUG.
    CONFIG::DEBUG {"
    I tried sneaking "-define+=CONFIG::DEBUG,false" in with one of the other compiler options you can set on the <flexunit> task, but that just doesn't work or results in a validation error like this:
    "One of the directories specified as a 'testSource' element does not exist."
    Let me know if this is possible at all.
    Thanks,
    Wijnand

    Hi Brian,
    legrosb wrote:
    @Wijnand - Sorry for the belated response.
    Not late at all! I think a response within a day on a forum is quite fast!
    legrosb wrote:
    I thought I had captured this on the wiki, but it looks like I haven't, so thank you for the heads up.
    I'll also update the wiki @ http://docs.flexunit.org/index.php?title=Ant_Task to be more detailed regarding compilation so other don't have to dig. 
    Did you just do an update on that Wiki page or did I completely miss the part that explained the <flexunit> parameters?
    legrosb wrote:
    In 4.2, which is super pre-alpha right now, I've added support to accept a series of flex-config.xml files provided by the user.  Not sure if conditional compilation can be tackled with a custom flex-config.xml file, but if so then that'd be the feature that may help you.
    Yes, being able to add (+=) a custom config file will solve this problem for me. You can define properties and values like this:
    <flex-config>
        <compiler>
            <define>
                <name>CONFIG::DEBUG</name>
                <value>false</value>
            </define>
        </compiler>
    <flex-config>
    So in your AS code you can use:
    CONFIG::DEBUG {
        // Do something that only should be done in debug mode.
    I have another question, I ran into this one during testing my SWF with flexunit.
    unittest.xml:82: java.util.concurrent.ExecutionException: command [<testcase classname='com.tuenti.video.unittest.testcase.player::MockPlayerCase' name='loadPlayer' time='0.000'  status='success'/>] not understood
    I had a look at the FlexUnitSocketThread.parseInboundMessages method that throws this error and it looks like that your defined END_OF_SUCCESS doesn't entirely match what the SWF is spitting out. They are of by 1 space: END_OF_SUCCESS is defined as: "status=\"success\" />", whereas my SWF spits out the following: "status='success'/>" (single quotes and no space before the closing of the tag).
    It looks like I'm not the only one with the ExecutionException as it is reported on StackOverflow as well: http://stackoverflow.com/questions/3953677/flexunittasks-error-of-command-not-understood
    Cheers,
    Wijnand

  • Flex 4 lacks the default-background-color compiler option?

    Hello,
    started converting my Flex 3 applications to Flex 4 and noticed that Flex 4 lacks the default-background-color compiler option.
    Flex 3 has it: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html
    Flex 4 doesn't: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html
    This raises a question: how am I supposed to keep my background from flashing from grey to white when the RIA is loaded? Is it possible to use preloader with background set to whatever color I like to see? Any easier solutions?
    Best regards,
    Jukka

    This works for me:
    @namespace mx "library://ns.adobe.com/flex/mx";
    mx|Application{
         background-color:#ffffff;
    Of course if you have changed the Application element to spark equivalent, you have to change the namespace.
    Regards,
    Jukka

  • Updated "Selecting the Best Compiler Options" now available

    The technical article "Selecting the Best Compiler Options" by Darryl Gove has been updated for Sun Studio 12 Update 1 and is now available at:
    http://developers.sun.com/sunstudio/documentation/techart/compiler_flags/
    Here's the abstract:
    +This article suggests how to get the best performance from an
    UltraSPARC or x86/EMT64 (x64) processor running on the latest Solaris
    platforms by compiling with the best set of compiler options and the
    latest compilers. These are suggestions of things you should try, but
    before you release the final version of your program, you should
    understand exactly what you have asked the compiler to do.+

    Ok sorry I've taken so long to respond.  The reply button wouldn't pop up for me to reply!
    There was never a dialog box asking for me to select the program from installed programs when I open the pdf from outlook express.  But when I opened a pdf from my desktop it asked that question and I had it "always use this program to open this type of file." So I assumed that it was would work when opening from outlook express.  But it doesn't.
    I've tried unclicking the protected mode button under the preferences general section.  And finally I'm not sure how to post screenshots of the attachment thumbnail and dialog.  I'm looking all over my keyboard for a button to push I don't have a clue as to what to do!  I do have a print Scr button but when I click on it nothing happens.  I've tried holding down the shift key and the button and the alt key and print scr button but nothing happens.
    Could it be that somehow it's not recognizing ARCO.EXCH.DOCUMENT as that's what it thinks the type of document is?
    I've already created an association for pdf files and it'll open them on my desktop, just not in outlook express.

  • Image format compilation options

    The Pixel Bender spec (included with the toolkit) states:
    "Depending on compilation options, pixel channels may
    actually be 8-bit integers, 16-bit integers, or 32-bit
    floating-point values."
    However, I couldn't find any discussion on how to set such
    compilation options. Is this currently possible? I'm interested in
    creating a 32-bit floating point output image.

    Hi Joe,
    That bit of the spec. is misleading and should be changed in
    the next version. Assuming you're writing a Pixel Bender kernel for
    Flash your image data will always be 32 bit floating point.

  • How to set print option for a Billing document using T-code VF02

    Hi All,
    Please suggest me the way to set print option for a Billing document for T-code VF02 and please let me know how to get print preview for any particular Billing document?
    regards
    Anand.

    Enter the billing documents detail
    Goto Goto> Header>Output.
    Check the status for your output type in this screen.
    If it is green then come back to the VF03 screen.Enter the billing document number.
    Click on Billing document-->Issue output to.
    Press (CtrlShiftF1) or click on the icon beside "Print options".
    Here you can see the print preview.
    If the status is red then click on the processing log.Here you will get the error messages.
    If the status is in yellow colour,then click on the "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Before the print preview option you should make sure you have added correct output type to the relevant billing document. To do that, go to transaction VF02.
    Enter the billing document no
    Go to Menu option -> Go to -> Header -> Output
    In that screen you have to add relevant output type. (Standard output type is RD00)
    Add that & press enter key
    Highlight that line & press "Further Data" button
    Set "Dispatch time" as "4 Send immediately (when saving the application)"
    Press "Back" Button
    again select that line & go to "Communication method" button
    Set "Logical destination" as LOCAL"
    Don't mark "Print immediately" & "Release after output" ticks. If you mark them, sa soon as you save the billing document, you'll get a print out.
    Press "Back" Button
    Save
    Now form the initial "Change Billing Document" screen, Go to Menu option; Billing Document -> Issue Output to
    You can see that output type line appear.
    select that line & press "Print Preview" button or (CTRLSHIFTF1)
    You can see the print preview.
    Alternatively you can use VF31 to print multiple print outs at same time.
    If you want to get PDF outputs of billing documents, go to your printer settings in the your computer from Control Panel.
    Set PDF Writer as "Default Printer" (Right click & select "Set as Default Printer")
    Then normal way, print the billing from SAP.
    It'll automatically send to your PDF writer. You can save it to the path you want,

  • I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    Your previous tabs will not re-open or be available to re-open when starting Firefox if:
    *your previous session was in Private Browsing mode; see --> http://support.mozilla.org/en-US/kb/Private+Browsing
    *you use Clear Recent History (''Firefox button > History > Clear Recent History'' or ''Tools > Clear Recent History''); see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-clear-my-history
    *you clear History automatically when closing Firefox; see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-make-firefox-clear-my-history-automatically
    NOTE: Your third-party Plugins (Add-ons > Plugins) are not in the "Application Basics" (Troubleshooting Information) in the "More system details" of your original post. Third-party Plugins are categorized separately in "Installed Plugins" under "More system details". You should review but not change the Plugins as detected automatically by the software on this forum when posting a question.
    If you problem still exists after checking the above, the problem could be caused by one or more of your Extensions or Plugins:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How to Set Polling Options of a DB adapter From EnterpriseManager/AdminCons

    HI All,
    We all know after Dragging a DB adapeter we can manually set the polling Options in J developer
    However,
    My query is how to Set Polling Options of a DB adapter From EnterpriseManager/AdminCons so that we dun hav to change our code and redeploy if any change is asked for.
    My DB adapter is deployed to EM.(SOA Server).
    Polling Options are like:
    From the Polling Frequency list, select how frequently to poll for new records or events.
    In the Database Rows per XML Document field, specify the number of rows per XML document when sending events to Oracle BPEL PM or Mediator. This is the batch setting between the database adapter and its consumer: Oracle BPEL PM or Mediator.
    In the Database Rows per Transaction field, select Unlimited or enter a value to indicate the number of table rows to process during a single transaction.
    When polling the database for events, you can order the returned rows by the selected column by using the Order By list. The best practice is to choose <No Ordering>, as message ordering regardless is not guaranteed without extra configuration.

    Hi,
    Inside your composite (in the EM), you can see there is a category table call 'Services and References'.
    Under it, find the name of your JCA Adapter, where you've define the polling from the DB. Click on it and go to the property tab.
    There you can find all the parameters you've set and more.
    After you finish update it, click on Apply (this will automatically poll the data).
    Arik

  • HT4623 I have an ipad 2 on ops 4.3 and have just updated to 7.1 via itunes. I backed up first and have synced repeatedly but keep getting a message on my ipdad screen that the ipad is not set up - I chose the set up option restore from itunes back up

    I have an ipad 2 on ops 4.3 and have just updated to 7.1 via itunes. I backed up first and have synced repeatedly but keep getting a message on my ipdad screen that the ipad is not set up - I chose the set up option restore from itunes back up

    To free up hard drive space the best bet is to move data files that you don't need access to all the time. Likely candidates are music, video, and photos. Things like word processing and spreadsheet files can also be moved but they tend not to be very large and so don't free up much space. The problem with moving the above mentioned files is that iTunes and iPhoto need to know where the files are stored.
    Here's an article explaining how to move the iTunes folder. You can move the iPhoto library using the Finder but there is a slight complication. Start iPhoto, open the Preferences and click on the Advanced tab. The first option is "Copy items to the iPhoto Library". If this option is checked, copy the iPhoto library to your external folder (drag it from the Pictures folder to your external drive) and then delete it from your Picture folder. If this option is not checked, it is a bit more complicated and we'll need to talk a bit.

  • TS1468 Where is the compilation option in version 11?

    I have a single album what was split into 5 sections because of variations on artist name. Past support articles suggested using the Compilation option when selecting the multiple split portions. Where is that option in version 11 of iTunes? I do no see this feature.

    Compilation can be found in the Get Info dialog. Generally all you need to do to link things is fill in an appropriate Album Artist.  For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    tt2

  • Problem in ALV set filter option

    Hi to all
    I have an issue regarding ALV report :
    I have developed an ALV report and it is showing report output correctly as required.
    when I further filter it on a particular field using SET FILTER OPTION , the length of the field is shorter than displayed.
    Why this happens so.
    BUT for the same field in a standard ALV report , it shows the same length as displayed in report.
    Please advice. As this is the standard ALV functionality.
    Thanks & Regards
    Anubhav gupta

    Hi Gupta,
    <li>Define layout structure
    data: wa_layout   TYPE slis_layout_alv.
    <li>Pass value like below
      wa_layout-colwidth_optimize = 'X'.
    <li>Pass this structure through fm
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
             EXPORTING
                  i_callback_program = program
                  it_fieldcat        = it_fieldcat
                  is_layout          = wa_layout
                  it_events          = it_events
             TABLES
                  t_outtab           = i_mard.
    Thanks
    Venkat.O

  • Setting PHP Options in .htaccess

    Setting PHP options in my .htaccess files isn't working in Leopard. I haven't been able to find any relevant posts. I have the following in a .htaccess file (~/Sites/console/.htaccess):
    +\[ snip rewrite stuff \]+
    +php_value error_log /Users/joelb/Sites/console/logs/error.log+
    This would normally have PHP error output redirected to the specified error.log file; however, it is still going to the Apache error_log file. My user.conf file looks like this:
    +Tundra:console joelb$ cat /private/etc/apache2/users/joelb.conf+
    +<Directory "/Users/joelb/Sites/">+
    +Options All+
    +AllowOverride All+
    +Order allow,deny+
    +Allow from all+
    </Directory>
    +Tundra:console joelb$+
    As far as I know, nothing needs to be set in php.ini to get this to work. Any ideas?

    Setting PHP options in my .htaccess files isn't working in Leopard. I haven't been able to find any relevant posts. I have the following in a .htaccess file (~/Sites/console/.htaccess):
    +\[ snip rewrite stuff \]+
    +php_value error_log /Users/joelb/Sites/console/logs/error.log+
    This would normally have PHP error output redirected to the specified error.log file; however, it is still going to the Apache error_log file. My user.conf file looks like this:
    +Tundra:console joelb$ cat /private/etc/apache2/users/joelb.conf+
    +<Directory "/Users/joelb/Sites/">+
    +Options All+
    +AllowOverride All+
    +Order allow,deny+
    +Allow from all+
    </Directory>
    +Tundra:console joelb$+
    As far as I know, nothing needs to be set in php.ini to get this to work. Any ideas?

  • How to set Java options in Linux?

    Dear all, I'm using Ubuntu, Java version is 1.6.0.3
    I want to run Java with some options changed, such as this in command line:
    java -server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62 -classpath . HelloWorld
    This works well. However, I want to set the options "-server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62" as my java default options so that I only have to use
    java -classpath . HelloWorld
    And also I want the options to work on my HelloWorld.war file. (This is what I need finally)
    I changed catalina.sh in tomcat, but it seems like it doesn't help. Any suggestions? Thank you!!!

    aiGrace wrote:
    I want to set the options "-server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62" as my java default options so that I only have to use
    java -classpath . HelloWorldUse the *nix alias command
    alias java="java -server -Xms128m -Xmx512m -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=11.40.5.62"

  • How to specify java compiler options in JDeveloper ?

    I am using JDeveloper 10.1.2. I downloaded and installed JDK 5.0.
    In my "Project Properties"->"Libraries" I created a new "JDK 5.0" J2SE Version and pointed to the new JDK5.0 execuitable. So far so good.
    Now I need to compile all my source code with -source=1.4 option. How do I specify java compiler option "-source=1.4" in JDeveloper ?
    Thanks
    Sachin

    Even before compilig I am not sure that by just going to "Project Properties"->Libraries and creating a new J2SE, I now have the new compiler working with JDEveloper. How do I test this ?

Maybe you are looking for

  • Two Ipod minis on one computer???

    I just installed a second Ipod mini on my computer for my husband and I was able to download all his music onto it. But when I went to update my Ipod, iTunes doesn't recogize my Ipod now. What do I need to do to be able to have two iTune programs tha

  • Pop up message during MIRO when Downpayment exist for the Vendor

    A Vendor is already having Downpayment of some amount, while doing Invoice Verification (MIRO) for this vendor one Pop up message is coming "X Currency Name of Company Vendor Account Group Exist". In this case when the downpayment amount is Rs. 100,

  • Best practices for iBook graphics?

    I'm starting production on a graphic heavy iBook.  Many of the images exceed the dimensions of iBook Author. Taking into consideration the idea of trying to create  a book with the smallest footprint possible, can anyone give me some advice on the fo

  • Help for a beginner in utl_file

    Hi, As I said I have just begun to learn pl/sql and looks like I am having a big trouble with it. I will attach the code I started with I know it does not do much and useful but can someone please help me run it? When I try to run it it gives the com

  • Dynamic Questions

    i have a few issues that I wondered if anyone could tell me how to resolve. I've uploaded this as a sample. www.ivyla.com/company.html 1. my a:active does not seem to work (i also have www.ivyla.com/studio.html loaded if you want to check.) 2. it see