How can I use a file in Eclipse?

Hi mates,
I dnt know how I can use Eclipse to operate a file, like the sample input file. I try to set a file name in "Argument" tab and create a file in the project, but it 's not working.
CHEERS,
Elton

Look around in the CDT Forum, this is a common question (and I'm not up to date with recent developments)

Similar Messages

  • How can i use JS files in ADF for language translation.

    Hi,
    I have JS for different languages and dn't want to convert them to property files(resource bundle files). How can i use JS files in ADF for language translation.
    Thanks

    Hi ILya Cyclone,
    Thanks alotfor the reply. Can you tell me where should i include this in the jspx page.
    Step 1)
    I have the js file as js/ifl_messages_US.js and i created a resource file as you mentioned: JS_FILE_PATH=js/ifl_messages_US.js
    Step 2)
    Then added the entry in faces-config.xml for the resource file as follow:
    <resource-bundle>
    <base-name>resource_en.properties</base-name>
    <var>resource</var>
    </resource-bundle>
    <locale-config>
    <supported-locale>en</supported-locale>
    </locale-config>
    Step 3) This is my jspx page. In which a table is dynamically created on page load. Can you help me where should i enter the "#{resource.JS_FILE_PATH}"
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:resource type="javascript" source="/js/pdfFile.js"/>
    <af:form id="f1">
    <input type="hidden" name="checkRadio" id="checkRadio" value=""/>
    <af:panelGroupLayout id="pgl1" halign="left" layout="vertical">
    <af:image source="/images/BRAND_IMAGE.gif" id="i1"/>
    </af:panelGroupLayout>
    <af:spacer width="10" height="10" id="s1"/>
    <af:table varStatus="rowStat" summary="table"
    value="#{backingBeanScope.DummyBean.collectionModel}"
    rows="#{backingBeanScope.DummyBean.collectionModel.rowCount}"
    rowSelection="none" contentDelivery="immediate" var="row"
    rendered="true" id="t1" styleClass="AFStretchWidth"
    binding="#{backingBeanScope.DummyBean.myTableBinding}"
    columnResizing="disabled">
    <af:column id="c2" headerText="Actions">
    <af:activeOutputText value="#{row.Actions}" id="aot2"/>
    <af:goLink text="#{row.Actions}" id="gl1"
    clientComponent="true" visible="false"/>
    <af:selectBooleanRadio text="" id="sbr1"
    valueChangeListener="#{backingBeanScope.DummyBean.checkselectbox}">
    <af:clientListener method="selectCheckBox" type="click"/>
    </af:selectBooleanRadio>
    </af:column>
    <af:forEach items="#{backingBeanScope.DummyBean.columnNames}" end="#{backingBeanScope.DummyBean.columnSize}"
    var="name" begin="1">
    <af:column sortable="false" sortProperty="#{name}"
    rowHeader="unstyled" headerText="#{name}"
    inlineStyle="width:100px;" id="c1">
    <af:activeOutputText value="#{row[name]}" id="aot1" escape="false">
    </af:activeOutputText>
    <!-- <af:outputFormatted value="#{row[name]}" id="of1"/>-->
    <!--<af:goLink text="goLink 1" id="gl1"
    destination="#{row.bindings.url.inputvalue}"/>-->
    </af:column>
    </af:forEach>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Thanks in advance

  • How can i use my files(apps,media) from my main os to another os in one mac?

    When yosemite was released, i was excited to install it but the problem is that i don't want my main os to be compromised because i think that yosemite is kinda new and it's only 10.0 version and Dota 2 does not work on Yosemite and it's very unstable according to Steam forums and many other sites. My main OSX is still mountain lion and the only os x version that makes dots 2 stable. What i did is I partitioned my hard drive into two one for my main os and one for yosemite. Now i have two os x on my macbook pro. Now the problem is i don't want to install Logic Pro X again and re-download many samples and stuff. When i open the finder in Yosemite, i can see my mountain lion disk where all my files located at? Can i use those files without copying it because my yosemite disk is only 40 gb and my projects and sample audios is 60 gb and open apps from that disk to yosemite? Thanks. Sorry for the long text. I just want to give you the background.

    If you live near an Apple Store, make a Genius Bar appointment to have the computer tested. Supposedly there is no charge for testing. They can also give you an estimate.
    Genius Bar Reservation US

  • How can I use a file in flash cs6 that I made in flash cs5.5 air for android

    I have made an app in in air for android in flash cs5.5 air for android, and I want to edit it in cs6 and play it in cs6.
    But if I put Ctrl+Enter I got an error: createWin process failed with error 2: system couldn't find the file. I think the problem is that I'am using air for android 2.6 version in flash cs5.5 and version 3.2 in flash cs6. I have searched the web and found out that you can add older air versions using the sdk manager and I have tried it but first I get the error that the version of the sdk I am trying to install is not valid and after some files that I added to the sdk folder I get this error:Only SDK higher than version 3.4.2540 may be added.
    I there a possible way to update the air for android for an fla or apk? Or how can I let my originally file work fine in flash cs6??

    system couldn't find the file
    If you can´t get a more specific hint why your project can´t compile then I can think of some reasons theis error might occur
    1.You had files included besides the swf, like videos, audio files, xml files, that are not present in the place air expects them to be
    2.somewhere in your createWin functions there is a class import needed that isn`t present in 3.2 anymore, for example some classes or functions from classes that were valid in 2.6 are not any more in 3.2
    3. to achieve better eror logging, allow for debugging in the publishing options and see what specific lines in your code throw the error
    4.any air app needs a cert file, this needs to be created once, if you migrated to e new system it might be you never created that file which air expects to even begin the compiling process
    once you isolate the problem, report back

  • How can java used in file net technology

    hi technocrats,
    i want to know how java was used in filenet technology.now i want to learn filenet.
    can any body suggest the best sites for that?
    thank you all
    bye

    Note: This thread was originally posted in the [Java Media Framework|http://forums.sun.com/forum.jspa?forumID=28] forum, but moved to this forum for closer topic alignment.

  • How can I operate txt file in Eclipse?

    Hi mates,
    I dnt know how I can use Eclipse to operate a file, like the sample input file. I try to set a file name in "Argument" tab and create a file in the project, but it 's not working.
    CHEERS,
    Elton

    Thanx for reply!
    here is my code,
    import java.io.*;
    import java.util.*;
    public class ManageTestMarks {
          * @param args
         public static void main(String[] args)
              // TODO Auto-generated method stub       
            throws CloneNotSupportedException, IOException {
                  Menu menu = new Menu();
                  menu.fillData(args[0]); // i wanna open a file in this function;
    class Menu{
        private Course course = new Course();
         public boolean fillData(String fileName) throws IOException
              BufferedReader bufr = new BufferedReader(new FileReader("fileName"));
              String inputLine;
              inputLine = bufr.readLine();
              fillFirstLine(inputLine);
              return true;
         public boolean fillFirstLine(String line)
    }Regards,
    Elton

  • How can I use/access files inside an invisible folder?

    I am struggling to get Stylus RMX to show the user libraries option and am discovering that the Lion installer put all the files (8GB) into the Macintosh HD/Users/Library/Application Support/Spectrasonics/SAGE folder, but I cannot see the Macintosh HD/Users/Library Folder to even confirm whether or not the installer added the core library or not.  I tried to make a Library folder in the Users Folder and it said that there was already a folder there named Library that I can't see or access.  It seems like this is fooling Logic also, what can I do here?

    Hi
    In Lion, the <User> Library is hidden by default.
    Easy way to get there in the Finder;
    Use the Go Menu (Hold down Option to sho wthe Library in the Menu)
    HTH
    CCT

  • HT4889 How can I use all files from every user on my mac?

    Is there a way I can share all of the files on my computer to where every user on one computer can access files from one user to another? All help is appreicated!

    That is so contrary to the way of OS X that I seriously doubt it.
    I would suggest that you just create a single user account and let everyone log into that single account.
    Allan

  • How can I use File DSN to connect to database?

    Hi,
    I am using ODBC-jdbc driver to connect to the database. It seems that the DSN name is required. How can I use a file DSN instead of system DSN to connect to database? Please help?

    oracle provided jdbc drivers (thin and oci) do not use odbc.
    why would you want to slow things down by sending "round trip" data transfers thru a "jdbc to odbc" and thru "odbc to jdbc" conversion routines.
    It isn't necessary with the oracle provided drivers !!

  • How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?

    How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?  I can physically copy the tunes as mp3's but the phone does not seem to be able to play all of them.   Do I need to copy an entire album or can I just pick & choose individual songs?   The phone is question is an LG running who knows what for an operating system.

    AAC is Advanced Audio Coding.  Basically it's a format that sounds better than MP3 but doesn't take up as much space as a lossless format (like you'd have on a CD).  More than likely you've had that encoding turned on when you ripped your music into itunes (it's the default encoder).  Therefore your LG phone won't play them.
    You need to turn off the AAC format by going to the iTunes menu, Preferences, General (at the top), then clicking the "Import Preferences" button.  Change the AAC Encoder to MP3 Encoder.  After that you'll have to make MP3 copies of your songs by right clicking them and selecting "Create MP3 Version."  You'll get a copy of the song that should transfer to your SD card and have MP3 encoding.  Hopefully your phone will play that.

  • I have sent a file to the trash bin. When I come to empty the trash bin everything goes out except this one particular file and I get a note saying the file is 'in use' but it is not. How can I delete this file from trash?

    I have a Macbook Pro with OS X Lion 10.7.2. I have sent a work file to the trash bin along with many other files. When I empty the trash this one particular file remains and I get a message that this file is still in use. I have tried returning the file to my documents, opening it, closing it and then sending it to trash and again I try to empty trash but the same message comes up - Q - How can I trash this file permanently?

    First just try logging out and back in.  Whatever is holding on to it may not be running after the logout thus freeing it so you can trash it after logging back in.
    You might also try Trash It!
    Lastly, look at the following for suggestions:
    The X Lab: Solving Trash Problems

  • How can I save a file using In Design 6.0 and open it in 5.5

    We have Creative Suite 6.0 and 5.5. How can we read a file created using In Design 6.0 on another computer that has version 5.5?

    The file needs to be saved to IDML from CS6.
    Mylenium

  • How can I use my PDF files stock on iCloud Drive true my Iphone or Ipad?

    How can I use my PDF files stock on iCloud Drive true my Iphone or Ipad?

    Thank you,
    I know also Documents to go, But I thought that with the Ios 8 upgrade, they would let us have an Apple Apps to make it more simple...!
    But thank you again.
    Alain

  • Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ?

    Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ? Please help me as its urgent.THanks for your help in advance.

    Hi Jay,
    SSIS can only recognize the absolute path of a XML Configuration file, the relative path is not supported. Furthermore, if the XML Configuration file is already generated, we can use the Environment variable package configuration type instead so that
    SSIS runtime automatically looks for the configuration file from the path defined in the environment variable. This is convenient when we need to deploy a package to different environment. We only need to define the environment variable for package configurations
    once on each server, and then the variable can be used by all the packages on this server.
    Regards,
    Mike Yin
    TechNet Community Support

  • Cloud storage - how can I use my .png file shared in "public mode" like a hosted file ?

    Hi every body,
    I am french and new on the forum so please be indulgent ! (for my english and my questions).
    I am working on HTML signature for my company and I have a little problem.
    to be viewed, my .png files needs to be on a server. So I remember that adobe gave me a 100giga storage for me to use.
    Cool !
    But the problem is that the link only send me to a special view of my file... a jpeg one. So when I try to copy the url I can only use the .jpg
    I want my file !
    So my question is : is it possible that the cloud storage isn't supposed to share any thing else than a miniature of my file and a download button ?
    How can I use it for my signature if I can't acess it but only download it?
    Thank you very much for your time
    Morgan

    Hi Morgan,
    You are correct.  Public link sharing works as follows:
    -  you can share a public URL to your PNG file on Creative Cloud.  The recipient of the URL can view a preview of the file and download the file in the original PNG format or JPG format.
    -  it is not possible to give other users direct access to the original file in Creative Cloud.
    For more info on sharing and collaboration options:
    https://helpx.adobe.com/creative-cloud/help/collaboration.html
    https://helpx.adobe.com/creative-cloud/help/share.html
    Thanks,
    Elba

Maybe you are looking for

  • Error code -36 when copying large file

    Aperture (Apple's pro photo software) stores all of it's data (pictures, metadata, etc) in what appears to be a large file called the Library. In fact, it's a large folder with all of the contents hidden so you don't mess around with it. I back this

  • BAPI in order to replace the transaction FB01L  ?

    Does someone know if there is a BAPI replacing the transaction FB01L ? Thanks

  • Needs to goto self inbox for approval

    Hi All, When we create Shopping cart we need to send a meesage to self Inbox rather line manager or some one. There is no need of check the amount value for approval. If anyone come across for this kind of process it would be appreciated with points

  • Convert to internal format

    Hi! nice question popping up again and again: When entering any text value on a screen (dynpro) field, it is automatically converted to ABAP internal format. This is done according to the technical characteristics defined in the underlying domain. If

  • Adobe Flash Player 10 - repeated installations

    I have Win 7 (Starter) on a new Acer Aspire One 532. My main (and only) login id is for me which also has admin. privileges. However I have to repeatedly install Flash Player 10 in order to view clips on YouTube, BBC and my own web site. Once install