How to change Makefile file name in sun studio for linux 11?

Greetings,
For historical reasons, our makefiles are called Make.bld
Sun Studio refuses to accept these as makefiles.
It'd be a big pain to modify our entire build system to take makefile as the name.
Is there a way to instruct sun studio to accept a different filename for makefiles ?
Thanks,
Bill

There is no supported way of getting the Sun Studio IDE (or NetBeans) to recognize
Make.bld as a Makefile. However, the solution Nik pointed out with a .nbattrs file will
work.
Here is a complete file which, if copied to each directory containing a Make.bld file
will work. However, if the directory already contains a .nbattrs file you should edit
the existing one and add the <fileobject>...</fileobject> lines rather than overwriting
the entire file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN"
" http://www.netbeans.org/dtds/attributes-1_0.dtd">
<attributes version="1.0">
<fileobject name="Make.bld">
<attr name="MAKEFILE_TYPE" stringvalue="foo"/>
</fileobject>
</attributes>
Note: I split the DOCTYPE line myself. It should be a single line in the file (although
its probably OK if split, I didn't verify that so I'll suggest a single line).
I should warn you that the next release of the Sun Studio IDE will no longer use
.nbattrs files and you'll need a different solution. A preliminary version of the next
release is currently available by downloading Sun Studio Express 3. The IDE is
significantly better than the current one! You also get a lot of the same features
by downloading NetBeans 5.5 with the C/C++ Development Pack.
Gordon

Similar Messages

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

  • How to change original file name?

    When I rename a video, it doesn't change the title in info or the name which is shown at the top of the QuickTime window. Can I change that name?

    If the file is already open in Quicktime, changing it in the Finder won't take affect until it is next opened, and that's if you don't save anything from Quicktime.   If you Save As from Quicktime, then you can change the file name both in the Finder and Quicktime simultaneously.  Now normally it shouldn't allow you to change the name from the Finder if the file is open in Quicktime.   But who knows what is going on in your machine if it just did!

  • Can I change the File Names the Iphone generates for my photos so I don't have to go and "rename" each photo?

    When I take a photo the phone stores it with a self generated file name, however since I have multiple Iphones taking photos, I would like to change the method of this generated filing system.
    As an example, photos being taken with Iphone #1 would have Phone1Image1... or some smaller if necessary and then phone 2 would be Phone2Image1...
    Then when I go into the cloud I could sort them according to source rather than a random date selection or some other way of filing.
    Thanks

    Just have each song as a separate playlist.
    You can use the SpotLight search on the iPod to find songs as well as other things.
    You can also change what the search shows to only include music. Go to Settings>General>Spotlight search

  • How to change a file name or insert something into it without having to make the mouse hover over it, often opening the image instead?

    Huurah for Apple, most of the time....But in soime matters I miss my old PC. This business of having to hover the mouse over a text is something I just cannot master. Is there a better way??

    I can only guess at what you are asking.
    If you want to rename a file without selecting it, there isn't a way.
    You can just hit Return to get into the Rename mode, but you have to do something to select the file, first.

  • Changing the file name of a PDF you send via email

    Hello Support,
    I am trying to find out how to change the file name of the attachment I send via email when I click submit via email. I would like the file to be sent with the file name, not some other file name.
    How can I fix it? This is very urgent! I need HELP!
    Cheers
    Joel
    Message was edited by: J Braden

    Hi,
    you can't.
    Except you save the file under a different name before you send it.

  • Change multiple files name at once

    Hi
    I would like to know if someone knows how to change multiple files name in mac. I need to name hundreds of files name, and dont want to do it one by one ... Example: Change from: Doc 1, Doc 2, Doc3 ...to: 2010Summer1; 2010Summer2,etc...
    Thanks in advance for any help,
    Joao

    Make an Automator workflow that changes the name. You would Replace text of "Doc" with "2010Summer". When you open Automator, choose Workflow. Drag in a Get Selected Finder Items and then drag in a Rename Finder Items. Select the "Replace Text" option. Fill in the Details, select the files in the Finder, and then run the workflow.
    There are also some third-party file renamers. Check MacUpdate or VersionTracker. I don't know if there are any free ones.

  • If I change a file name, how can I get all the links to update?

    I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my client wanted to change
    the name of one of his pages from 'Marold Duo' to
    'Rodewald-Morebello Duo.' All of my links to that page are to the
    original page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of the page and have all the links within the
    website update automatically?
    I figured out my problem...make a copy and rename it and put
    it on the server. Simple....eventually, I'll have to get rid of the
    original file, but for now works well.

    On Sun, 3 Feb 2008 22:55:19 +0000 (UTC), "kai1111"
    <[email protected]> wrote:
    >I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my
    >client wanted to change the name of one of his pages from
    'Marold Duo' to
    >'Rodewald-Morebello Duo.' All of my links to that page
    are to the original
    >page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of
    >the page and have all the links within the website update
    automatically?
    If you change a file name within Dw's File manager - it will
    offer to
    update all pages linked to it, accept that invitation
    ~Malcolm N....
    ~

  • Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without

    Lightroom 6 is up and running.  Upgraded from LR5.  However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat.  How can I accomplish this without fouling everything up?

    Ok, well you'll need to do something like this. Now this part is a little dependent on your database server:
           try {
                Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                Connection c = DriverManager.getConnection(
                                                           "jdbc:mysql://{database-server}/{database-name}:3306?user={username}&password={password}");
                Statement Stmt = c.createStatement();
                int count = Stmt.executeUpdate(cmd);
                if(count>0) {
                     System.out.println("count: " + count);
            } catch (Exception e) {
                e.printStackTrace();
        }That was some sample code for a MySQL database.
    Note that the applet can only contact the server that is was loaded from, so you might want to do a getCodeBase() or something like that to get the server address.
    Hope this is helpful.

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • How do I change a file name of a photo

    I am new to the Mac and running Yoesomite. I wanted to know can I change the file name of a photo in iPhoto.  If not, then is the process to export the file to the desktop and then change the file name using cmd i.  I used to be able to do this in Windows easily but now I am not sure how to do this on a Mac.

    You can take the photo you need from iPhoto Library in Pictures. Click it with right mouse button and choose Show Package Contents. In that folder that opens, choose Masters and now you can find the photo that you needed, but it will take some time as there are many folders and some may be empty. Copy that photo to Desktop and do what you want from that point.
    Don't do that.
    It's utterly unnecessary, slow and difficult and worse, risks dataloss.
    Use the simple and supported ways.
    Export using File -> export, or use a Media Browser.
    When uploading to Wordpress there is no need to rename the file. Just upload it from the Media Browser (*see below) and you can title it in the Wordpress dialogue.
    *For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491

  • How can i change upload file name?

    hi
    I performed a upload Jsp page by OJSP file access in jdeveloper,and it can upload file!
    but i want to change uplaod file name!
    How can i do?
    Any help will be appreciated!
    Thanks
    Jiawei Zhao

    My questions are
    1) when use oreilly package to do file upload , it looks like i line of code is enough to store the upload file in the
    file direction.
    MultipartRequest multi =
            new MultipartRequest(request, dirName, 10*1024*1024); // 10MB
    why some example still use FileOutputStream?
    outs = new FileOutputStream(UPLOADDIR+fileName); 
        filePart.writeTo(outs); 
       outs.flush(); 
      outs.close();
    2) can I rename the file name when I use oreilly package?

  • How do you update file name changes made it iTunes to the actual file?

    I have changed some song names in iTunes but these change are not being made to the actual file. It worked yesterday when I changes the file name in iTunes the file name was also changed. Can someone please give me some advice.

    Now it's taking hours for emails.
    Not good.
    Bob

  • How to print the file name in sap

    Hi All,
    I have requirment like,
    there is a folder in my local system, inside that folder there are 10 Excel file like file1.xls,file2.xls..............file10.xls
    how to print the file name of all these file in SAp like
    file1.xls
    file2.xls
    file3.xls
    file4.xls
    file10.xls
    Appropriate points will be rewarded.
    Thanks in Advance
    Arun kumar

    Hi,
    Still you are facing any problem with this code expalin the problem with details , otherwise close this thread.
    Use Method <b>cl_gui_frontend_services=>directory_list_files</b> to read file names for a given directory
    after reading the files then Use FM : <b>RSPO_SX_OUTPUT_TEXTDATA</b> to create spool from internal table data and print the data.
    <b>sample code :</b>
    data: desktop_dir type string.
    data: ifiles type table of string.
    data: xfiles type string.
    data: count type i.
    data: filepath type string.
    call method cl_gui_frontend_services=>get_desktop_directory
      changing
        desktop_directory    = desktop_dir .
    call method cl_gui_cfw=>flush.
    call method cl_gui_frontend_services=>directory_list_files
      exporting
        directory                   = desktop_dir
    *    filter                      = '*.xls'
         files_only                  = 'X'
    *        DIRECTORIES_ONLY            =
      changing
        file_table                  = ifiles
        count                       = count.
      DATA : x_name       LIKE tsp03d-name,
             x_dest       LIKE tsp03d-padest VALUE 'LOCL',
             x_rows       LIKE sxpcklsti1-body_num VALUE 0,
             x_startrow   LIKE sxpcklsti1-body_start VALUE 1,
             x_pages      LIKE rspotype-pages VALUE 1,
             x_pages_1    TYPE p DECIMALS 2,
             x_rqtitle    LIKE sxpcklsti1-obj_descr,
             x_rqcopies   TYPE i VALUE 1,
             x_rqowner    LIKE trdyse01cm-username,
             x_immediate  LIKE pri_params-primm VALUE ' ',
             x_rqid       LIKE tsp01-rqident,
             i_contents    LIKE  solisti1 OCCURS 0 WITH HEADER LINE,
          x_pages   = 1.
          x_rqowner = sy-uname.
          x_dest     = 'LOCL'.
          x_startrow = 1.
          x_rqcopies = 1.
          x_immediate = 'X' .
          CALL FUNCTION 'RSPO_SX_OUTPUT_TEXTDATA'
           EXPORTING
    *       name                 =   x_name
             dest                 =  x_dest
             rows                 =  x_rows
             startrow             =  x_startrow
             pages                =  x_pages
             rqtitle              =  x_rqtitle
             rqcopies             =  x_rqcopies
             rqowner              =  x_rqowner
             immediately          =  x_immediate
           IMPORTING
             rqid                 =  x_rqid
           TABLES
             text_data            = i_contents
           EXCEPTIONS
             name_missing         = 1
             name_twice           = 2
             not_found            = 3
             illegal_layout       = 4
             internal_error       = 5
             size_mismatch        = 6
             OTHERS               = 7.
          IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Regards
    Appana
    *Reward Points for helpful answers
    Message was edited by: L Appana

  • How can I hide file names in a photostream?

    How can I hide file names in a shared photo stream on icloud.  I don't want people to see how many pictures I take at an event.  Can this be done to pictures already posted?

    The Shared Photo Stream uses the filename of the original image file as the title that is shown in the stream.  If you want to hide the original filename, export the image to a folder in the Finder, rename it, then reimport it to share it.  You can rename the files directly when exporting.
    Or, if you do not mind to change the names of the originals in Aperture use the command "Metadata > Batch change" and change the title of the image, with the option "Apply to Original file" enabled and "Add metadata from" set to "None".
    To rename the photos already shared, delete them from the Shared Album and share them again.

Maybe you are looking for

  • Mass e-mailing Merge to Adobe in Word not working

    I am attempting to  use MS Access to send a mass e-mailing through Outlook of email messages with PDF attachments created from a Word template. When I use the Merge to Adobe PDF button on the Word Ribbon, the PDF maker dialog box pops up. I choose a

  • Ree scrolling ideas and how to design in muse

    hey i am wondering how to use the adobe muse scolling idea and how to build it? do you make this inside adobe muse or use another software like photo shop. i am still in the middle of designing my own web site. i am almost done. just making some chan

  • HELP using command button in J2ME

    Hi I am trying to create a simple code using the command button, but when i try 2 run my program, it gives the following error: java.lang.ClassCastException      at test1.startApp(+81)      at javax.microedition.midlet.MIDletProxy.startApp(+7)      a

  • How to disable back to my mac with Windows airport utility?

    Setup is as follows: Modem > AEBS (latest version) > Windows 8.1 machine running IPSEC VPN server ..I cannot get the outside world to talk to the VPN server despite forwarding the required ports (500,4500,1701) so I enable debug logging on the AEBS a

  • Any way to install Oracle server on Leopard (10.5.1, not server)

    I'm just getting errors when I try to install, but I'm guessing it has to do with X-Code not being installed here yet. Have to get the Leopard disc from home later today and try again tomorrow. Anyway, is this at all possible? Is there anything speci