External source file

Hi
i have an external source code file. How can i use this external file in another source file?
Thanks for help.

ehmmmm.....
import my.package.for.ExternalOr something like
External.doStaticStuff();
External extInstance = new External();
extInstance.doInstanceStuff();You could ofcourse also try to do the tutorial, just for the fun of it :)

Similar Messages

  • Read from external source file in weblogic

    Hi,
    I am using Weblogic Server 10.3 in my project.
    In one of my modules , i have a requirement where I have to read the contents of a file from an external location.[ex: D:\Test\Sample.xml ].
    How to i configure this path in weblogic , so that I can read the content in my java source file.
    Please advice.
    Regards,
    Praveen

    only part i replied on was the part of how to read a file
    but i think in your case you could do the next
    use the sync file adapter to read in the file during your process
    based on this content you set a variable "myOutputDirectory"
    then create a file adapter (write) which will store the file on file system
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CIACICFD
    4.3.2.2.5 Specifying a Dynamic Outbound File Name
    and use that (jca.file.Directory) property to store the file either on the archive location or the delete location

  • Validate data in r/3 while upload frm external source to bw

    Hi
    My requirement is while uploading data(2lacs to 5lacs of records) from external source file(xls or notpad) to BW i have to check whether that data is present in R/3 system or not.
    can anyone suggest the best way for validation(any FMs exist) for performance sake
    and also provide the FMs all which gives the best performance.

    u need to explan it in more detail...
    process
    Document number
    matching keys with SAP for validating records
    etc
    etc
    regards
    madan

  • Windows Easy Transfer (WET) Issues with External Hard Drive - "Can't read from the source file or disk"

    I work for Office Depot, in the tech department. Basically, one of our associates was supposed to do a data backup, and re-install Windows 7, then transfer the files back. He used Windows Easy Transfer and compacted everything into a 163 GB file. 
    Now comes the hard part. When we try to put it back on his computer ((drag-and-drop to the desktop) which has been wiped back to factory settings using the recovery partition), it stops at 79.5 GB remaining (you know how it doesn't give you a % of completion,
    it just shows how many GB are remaining) and then says "Can't read from the source file or disk" and gives you an option to try again, or cancel. It gets hung up on the same point each time.
    Normally, this wouldn't be a huge issue, but the contents on the drive are his wife's architect blueprints and interior design stuff, along with wedding photos, etc, which are the only copies they have. On top of those, they have court documents and other
    important files that we are unable to access now.
    I wasn't involved with this transfer, so I'm trying to clean up the mess as best I can. I remembered that the customer's wife was Russian, and had some files typed with a Russian keyboard, so on and so forth. I wonder if that's the issue? If not, I really
    have no idea how to manually extract things from a ".mig" file, or how to diagnose what area is potentially corrupted.
    In light of this situation, we tried using "Recuva" to recover the files post-wipe, but everything was corrupted or unable to be opened, and it also extracted and recovered all of the "useless" photos, such as the skype logos, up and
    down arrows for browsers, etc (it was 160,000+ photos).
    Trying to avoid a potential lawsuit, unhappy customer, and costing the company lots of money to see if professionals can get into this external hard drive.
    Other relevant information:
    We used a Toshiba 500 GB (465 GB) external hard drive.
    Customer's computer is an HP Pavilion P6000 Series (Model No. p6520y) running Windows 7 Home Premium 64-bit Service Pack 1.
    Any other information that is needed can be provided, thanks in advance, and hopefully we can find a solution to this issue quickly!
    -John

    I think there's a lack of understanding somewhere.
    "If you even can't start the process, please unplug it from your new PC. Then head back to your new computer and plug
    the external drive back in to your new computer. "
    Unplug from new, head back to new, plug it back in? That doesn't make much sense! Haha.
    I knew what you meant though, somewhat. When I search through the drives after clicking yes (Has windows easy transfer
    already saved your files blah blah blah) I click on the transfer file and it says "Windows Easy Transfer could not open the file".
    Rather than drag-and-drop the file to the desktop, I now tried to double-click on the file itself while it was plugged
    into the computer. It opened, and it started transferring until it was about 70% completed, and then an error popped up saying "WET can't open the easy transfer file, make sure your USB device is plugged in or check your internet connection". 
    I checked, and the USB hard drive's light wasn't on. Now, I unplug it and plug it back in, and the light comes back on,
    so I click Retry, and it resets the bar back to nothing and says "Transfer time: 1 minute".
    Rather than continue trying, I clicked "Cancel" instead of Retry, and it says "Your transfer did not complete successfully."
    It says to click "view report" for more information, but there's no "view report button".
    At the moment, I am scanning the External Drive for bad sectors using the check disk tool in properties. It's frozen
    at "0 USN bytes processed".

  • How can I change the source file so it is direct from external hard drive?

    I am trying to make a movie on imovie of a snowboarding trip that I went on, there is around 80 to 100 gig of mp4 movies that will not fit on my computer that I have stored on my external harddrive. I had the movie half finished then found I could do no more as I had no space left in my mac. I had to delete everything and start again but I'm not doing this until I can find a way of changing the source file so I can take them direct from my external hard drive as to not use up all my computers available space. I have moved imovie to my external hard drive but it still tries to read from a movie file on my mac, how can I change that so it will read from a source file on my external hard drive, is it possible?? Can someone help me??

    Hi Bengt, Thanks for your input, much appreciated.
    I have a WD 1TIG hard drive and are using usb connection, is it possible to use fire wire with these? I have had trouble with a lot of the videos I Imported, once they downloaded the file in the viewer window showed up blank and when I mouse over them it places a picture of another file in the window and wont drag and drop into the movie window, like their corrupted or something? Had to delete just about all of them and start again. Also is it possible to select a bunch of videos in the viewer window as to change the dates to the correct dates? All I have been able to do is "select all" which is no help.

  • I imported pics to catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive. Can I merge cats and will new path to source files be correct if when inporti

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

  • I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I'm not really sure how to get those source files back

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    Is there any solution (other than buying
    I really think 'buying' is the best solution on this one.  Ideally, you would have at least five internal hard drives.
    System
    Projects
    Cache/Scratch
    Media
    Exports
    Use externals and network drive only for backup.

  • How do I stream purchased movies to my Macbook Pro if I've already downloaded them and moved the source files to an external desktop hard drive and I'm away from home?

    I recently added a number of movies to my iTunes library by redeeming digital copeis that came with Blu-rays. Due to limted disc space on my MacBook Pro, and for safe keeping, once I downloaded the movies, I moved the source files to an external desktop hard drive. When I'm home and I'm able to access that external HD via my home network, I'm able to watch the movies without an issue. However, if I'm away from home and I want to watch them, I'm not sure how to do that. I thought I could "stream" purchased movies from within iTunes  - even after downloading them - using "iTunes in the Cloud" but can't figure out how to do that, or it simply isn't possible.
    What are my options?

    I understand that I can't play my downloaded movies when my external HDD is not connected becuase iTunes is looking for the downloaded files. This is not the issue. The issue is that because my HDD is not connected (as in when I'm away from home) I'd like to be able to stream the movies via the cloud.
    If I hadn't downloaded the movies when I redeemed my codes, would I have been able to keep the movies online via Apple iCloud and watched them anytime by streaming them or must the movies be downloaded in order to be viewed on my MacBook?  I read that Apple allows movies purchased (or redeemed) via iTunes to be stored in the cloud via Apple iCloud so that they can be viewed any time, on any device.  IF this is the case, how does it work? From what I can see, it looks like movies can only be "streamed" from the cloud when useing Apple TV; on my iPhone and MacBook Pro, it looks like they need to be downloaded in order to be viewed.
    Can someone clarify this for me?
    Also - Michael - when you said that If I've already downloaded the film but I'm away from my external HDD I should "Delete the entry from the iTunes library so iTunes only sees the iTunes in the Cloud version", what exactly would this mean? Would this mean that I could then stream the movie from the cloud or would I have to re-download it to my Mac's internal HDD in order to watch it?
    Many thanks!

  • Imported source file name changed for the external table

    Hi,
    I have external table from flat file. Now the source file name is changed. I can change the file location to point to the new file name, but I can't update the source for the flat file property(as seen under flat file properties,structure tab. the column "Sampled From"). Is there way to have this update without having to import the file using the new file name again?

    In the Files section in the object navigator find the flat file you want to change the source of.
    Double click on the actual file, and on the General tab change the old file name to the new one.
    The fact that it has been sampled from a different file should not 'disturb' the working of the external table.
    However, if the structure of the new file is different I'd suggest to resample.
    Good luck, Patrick

  • 1 source file on external drive - but duplicates of files in iTunes - help!

    I recently moved all my music to an external HD and followed mac's intructions for the transfer w/o any probs. However, the HD died (dropped it) and everything was lost on the HD.
    To solve this, I used a program called "Pod to Mac" in an effort to recover all my files (about 35 GB) from my iPod. Worked very well. All files are now back on a new external HD.
    The issue I've encountered is that in iTunes, I now have two versions of each song. Both versions in iTunes refer to a single source file in my external HD ... so if I delete one file in iTunes, I delete the source file for the second copy of this file in iTunes, too.
    This isn't a big problem, except iTunes now thinks that I have 70 GB worth of music (ie, 2 times 35 GB; even though I really only have 35 GB of music), which means I don't have enough memory in my iPod to sync all 70 GB.
    How can I delete one version of the file in iTunes w/o messing with the source file on my external HD?
    thanks.

    You'll have to try to repair the drive on a PC.
    How is it possible that iTunes can read the files?
    Some things will still be readable when corruption occurs, the big problem is when writing occurs when there's corruption.

  • Invoking external javascript file from xdp source

    Is it possible to invoke an external javascript file from within the xdp source? I know it is possible to embed the javascript in the form.
    If this is possible, would I be correct in assuming that this is also possible from pdf source?
    Basically I am looking to show / hide buttons based on the status associated with a form at a given time in the flow. My understanding of PDFs is that the source cannot be edited once it has been created? If this is the case I was hoping that there could be code embedded that would call on the external file which would return the status of the letter. Based on the response buttons / fragments etc could be shown / hidden as required.
    Feedback required asap please!
    Thanks in advance.

    You cannot call outside of the rendered form. So you have a couple of means to get information into the form. Merge dat aonto the form (in your case you can use a field as a flag and key off of that),or use Web Service call to check the status.
    Hope that helps
    Paul

  • Importing to LR and Moving Source Files?

    Is it "bad" to import to LR and then move the source files?  AKA I want to import to LR from files stored locally on my machine and then move that local folder at a later time to an external drive.  Will this cause problems and or is there something specific to do so it won't (cause problems?)
    Thanks.

    teekv1 wrote:
    Is it "bad" to import to LR and then move the source files?  AKA I want to import to LR from files stored locally on my machine and then move that local folder at a later time to an external drive.
    Why don't you just import to that external drive and eliminate a step? Seems to me that eliminating the step of moving the photos at a later time makes your work simpler.

  • PDF outputs continually crash after editing an html source file

    I have English and multiple localized versions of a RoboHelp webhelp project. I have created several PDF outputs for the localized versions. I can generate the PDFs fine when I don't touch any of the html source files.
    However, I had to make a change to one of the html source files to remove a <dl> from the source file. After making the change to the source file in an outside text editor (Notepad ++), I went back to RoboHelp to generate the PDF, and the PDF output crashed.
    The reason I was using an outside text editor is that when I tried to edit the <dl> HTML tags in RH, its HTML editor deleted all text within the tags being edited.  There was no undo at this point.  In anotehr attempt to use the RH Design editor, RH didn’t delete the <dd> or <dt> tags when those tag styles were changed to <h4> and <p>, respectively. RH inserted the new html wrapper inside the existing ones, instead of replacing it.
    Also, during the PDF generation process, a Visual Basic error message will appear dozens of times stating that the application was interrupted.  I must press OK to continue for each error message.
    What gives with the PDF generation failing like this?

    I hate to say it but it sounds like something you are doing in the external editor is not liked by RoboHelp.
    It could just be the way that text editor codes the file. I use EditPad Pro and that has various options for text encoding. My guess is your editor is not set to what RoboHelp expects.
    Aftr that what I would do here is create a new one topic project and recreate the problem, with the minimum of text. It may help you spot the code RoboHelp does not like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Mixing external wave file into video

    I've recorded a video including sound of a mandolin being played.  At the same time I recorded the sound with my external recorder which resulted in a wave file of better quality that the sound from the camera.  I would like to import the video and the externally recorded wave file into a project, line up the external wave file with the sound recorded by the video camera and then delete the sound recorded with the video camera so I end up with a video that has the sound from the external recording system.  Any recommendations on a good approach to accomplishing this task?

    There's information here about how to use the new merged clips features in Premiere Pro CS5.5 to merge the audio from an external source with the video from the camera.

  • Project not picking up changes in external sources

    I have a flex project that's using a couple of other Flex
    library projects as external sources... i have everything setup and
    working nicely.
    Except... if i make a change to one of the library projects
    the flex project doesn't seem to pick it up... for a while... if i
    add a log comment to my library project and build it, then run the
    flex project i don't see the log... if i close down Flex 3 and
    leave it for a bit, then open it and run it again... there it is...
    if i close and immediately reopen i don't see it... seems like
    something is being held in memory... but not sure if this is a Flex
    issue or local to my installation/machine etc.
    Anyone else seen anything like this?

    Sounds like you are seeing a problem with project
    dependencies, and possibly also slow compilation times. Would you
    mind entering a bug at
    http://bugs.adobe.com/jira ?
    If you could zip up and attach the projects that reproduce
    the problem, that will greatly help us investigate. However only
    attach them via the bug form if it is code you don't mind the
    public seeing. If you want to keep it private (but don't mind
    sharing it with us internally), you can file the bug and email the
    code to [email protected], including the bug number.
    If you can't submit the code as-is, I understand, but if you
    are able to strip it down to something basic / non-sensitive that
    still reproduces the problem and submit that, it would be immensely
    helpful.
    Thanks much,
    Tom

Maybe you are looking for

  • Messages Not Visible in SXMB_MONI

    Dear All, Now i am doing one file to file scenerio. The file is getting deleted from the source directory but not reaching the target directory. Also, when i am seeing in  SXMB_MONI, there is no messages in that. And in the Adapter Monitoring, Source

  • Help in locking

    can any body help me...I want some locking process.when I entered with some order no(AUFNR)..at the same time no one can enter at the same AUFNR.For this I have taken one ztable and first when we entered then that AUFNR I saved in ztable and at last

  • NW04S SP04- SP07 upgrade, 300 seconds between each DC deployed

    Hi, I am currently running an SP upgrade on NW04S from SP04 to SP07 on an EP system running on HP-UX IA64. However, there is a problem with SDM/JSPM (JSPM been updated to SP07 without problems) which is apparant by the fact that there is a five minut

  • Import my Itunes from Macbook to Macmini

    I have a 3 year old Macbook and a new Mac mini. I am trying to move the music from my Itunes on Macbook to the new mini. Home sharing only works when both computers are on and Itunes is open on both? There must be a way to transfer the music, right?

  • Why can't I download applications from Internet on my iPad mini?

    Hi, I have been trying to download applications from the internet on my iPad mini but i can't download them through safari or other 3rd Party browsers. I tried downloading them through many download managers but they can't download the applications e