Finding source files programatically

Suppose I have a class com.foo.Test. In that class, I want to add a method, File[] getSourceFiles() which will find the directory in which Test.class resides and return the names of all the other class files in that directory.
The problem I'm having, is that I can't get a reference to the directory containing Test.class. I can get the path information "com/foo", but I can't get the location of the "com" directory.
Is there a way to do this?
Thanks.

You can find the classpath and the location of the extensions directory from certain system properties (not sure which ones, just dump them all and you'll recognize them). Given them, you have a list of directories and jar files which you can then examine sequentially. Don't forget that your class could be in a jar file, it doesn't have to be in a directory.

Similar Messages

  • JDeveloper 10g 10.1.3 Unable to Find Source File (SQLJ)

    I live and die using the debugger. I have never seen this happen before. I have a .sqlj file I compile with the other code for a particular application. JDeveloper has always been able to step into the .sqlj code before. However, I have kept the JDeveloper code up-to-date and applied a bunch of new updates today. In fact, before I compiled the latest version of the code, I was able to stop through the .sqlj file. Now I have recompiled it and as I attempt to step through the code defined in the .sqlj file, I keep seeing the "Unable to Find Source File" dialog. If I point it to the .sqlj file it shows me the line I would expect to be at, but as soon as I take snother "step" through the code, I am thrown out of the source and back to where I attempt to step into it from. If I keep try to step through the code and keep telling it where the code is I can actual step throught the code. But that's a huge pain, and it won't advance to the next breakpoint in the .sqlj code.
    I have always been able to debug SQLJ files without problem until today.

    Hello!
    the jar files are under WEB-INF/lib
    how do I compile the files to include the debug info? All the files are compiled when you run or debug your app right? or am I missing something?
    Thanks a bunch for your time!
    nene

  • EA2: "Unable to Find Source File" when debugging

    Hi,
    I was remote debugging and hit a breakpoint in a trigger which I hadn't open.
    The "Unable to Find Source File" dialog popped up, saying "Unable to find source file for package $Oracle.Trigger.SCHEMA, filename TRIGGER.pls", with SCHEMA being the current schema and TRIGGER the trigger (which never got saved to file BTW).
    Additionally, this was pumped in the console (partial post due to limited buffer in Windows):
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.NullPointerException
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:104)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.findSourceFile(Debuggin
    gProcess.java:2680)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2711)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
    st to oracle.jdeveloper.library.JDKNode
            at oracle.jdeveloper.library.JLibraryList.addJDK(JLibraryList.java:211)
            at oracle.jdeveloper.library.JLibraryList.addJDK(JLibraryList.java:231)
            at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
    raryManager.java:718)
            at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
    er.java:218)
            at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
    va:121)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
    lassLocator.java:313)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:73)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:150)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.NullPointerException
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:104)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:150)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
    st to oracle.jdeveloper.library.JDKNode
            at oracle.jdeveloper.library.JLibraryList.findJDK(JLibraryList.java:55)
            at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
    raryManager.java:702)
            at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
    er.java:218)
            at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
    va:121)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
    lassLocator.java:313)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:73)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:171)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
    st to oracle.jdeveloper.library.JDKNode
            at oracle.jdeveloper.library.JLibraryList.findJDK(JLibraryList.java:55)
            at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
    raryManager.java:702)
            at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
    er.java:218)
            at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
    va:121)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
    lassLocator.java:313)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:73)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.JavaModel.getClass(JavaModel.java:317)
            at oracle.jdeveloper.runner.Source.findURLForClassStub(Source.java:642)
            at oracle.jdeveloper.runner.Source.findURLForClassStub(Source.java:636)
            at oracle.jdeveloper.runner.Source.findOpenSourceStub(Source.java:661)
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:202)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)Pre-1.5, there were some occasions where the dialog would show, but now it seems it shows whenever the source isn't opened (tried also with a package).
    Also pre-1.5, indicating the correct connection to search the source in would put sqldev on the right path again and the source would open correctly, but this doesn't work anymore. Maybe that's because you had to use the second drop-down, and in 1.5 there's only 1, which might be the useless (first) one from pre-1.5.
    Besides, judging from the "$Oracle.Trigger.SCHEMA", I'd say sqldev already knows the right schema anyway, and the dialog shouldn't even pop up.
    BTW, after opening the source myself, the debugger stepped right in...
    Hope you've got enough to go on,
    K.
    Message was edited by:
    -K-

    For the previous issues, see [2514] Remote debugger asks for source file.
    K.

  • Unable to find source file

    I had a error message "Unable to Find Source File" when I used JDeveloper debugger.
    The debugger has finished stepping, but it cannot find the source file.
    Unable to find source file for package oracle.e1.bssv....
    Project xxxxxx.jpr has already been searched
    * Look for the file in Project
    * Let me find the file myself with the open file dialog
    * Don't ask me about this file again
    The above 3 options are available
    I checked and found previous posting for use 'Step Over' to bypass this problem. I tried and it did not work either.
    Please let me know if anybody has similar problem and know the solution. Thanks
    JDeveloper 10.1.3.4.0

    You see this dialog because you stepped into a statement which requires source code which is not part of your project (or you don't have). If you have the sources you can browse for them, if you don't have them answer the dialog with the third option.
    You should try 'step out' instead of step over. Once you see this message it's to late to step over the statement (pointing to source you don't have available). You may need to set out a couple of times to get back to code you have sources from.
    Timo

  • JDeveloper 10.1.3 + Unable to find Source File

    Hello to all.
    I am having problems with JDeveloper 10.1.3. I am trying to use PostgreSQL and I DO have the driver classes in the /WEB-INF/lib directory. Whe my program gets to the point using the postgres db, a get a pop-up window stating that it was unable to find the source file.
    I do not understand why I am getting this message since it is supposed to be searching for .class files, not .java files.
    Can somebody help?
    Thank you so much in advanced.

    Hello!
    the jar files are under WEB-INF/lib
    how do I compile the files to include the debug info? All the files are compiled when you run or debug your app right? or am I missing something?
    Thanks a bunch for your time!
    nene

  • How do I find source files for a specific sound...

    This problem has plagued me through many version of GB. Basically, my roommate creates the garageband files, selects the instruments etc. Invariably when he gives me a copy of the Garageband file GB seems to swap in the instruments for some other instrument without ever alerting me that it's doing it. Basically, nothing sounds the same. We've both done clean installs, installed the same Jampacks. it says the same instruments but sometimes it will swap an organ sound for a string or something not even close.
    In Itunes, there's a way to (command-R I believe) find the source file - is there a way to do that in GB? My roommate's computer has an instrument called Piano and Strings - we can't find any file with that name and for some reason no matter what I do I can't access that sound. We're both on MacPros. Recently I alone upgraded to Snow Leopard, but this problem has gone on for years.
    What I'd like to do is sort of block GB from swapping in instruments without notifying me, or allowing me to know what those missing sounds are and some way of finding them so a GB file will play roughly the same (obviously acoustics or speakers will differ).
    thanks so much for any refs or suggestions.
    enzosf

    Tell him which instruments you have and limit him to those. Keep everything to a subset of instruments that you both have.
    Are you adding to the tracks or just listening? If just listening he can just export to iTunes.

  • How to find source files for an exe?

    I have an exe that has eben built by someone else. How do I know which files are being used as source files?

    Depending on what version of LabVIEW you are using, you can find out the names of all source files.  In versions 7.1 and earlier, you can rename the EXE to LLB and LabVIEW will recognize the EXE as an LLB, and you can browse the VIs in the EXE.  You may not be able to open them, as most will have their front panels removed, but you will at least be able to see the list of all the files (but no paths to the original source).  On newer versions of LabVIEW, it appears that this no longer works.
    Also don't forget that if the person built the EXE with a small EXE and a supportting llb, there may be a data.llb (default name, the user could rename it) that will have almost all of the VIs in it (again, you may not be able to open them, but would be able to get a list).
    Have you not been able to find a .bld file (for v7.1 and earlier) or a .lvproj (8.0 and later) file?  This would be the definition of the EXE build and will give you a list of everything with paths.
    Message Edited by Matthew Kelton on 10-16-2007 12:18 AM

  • CS4 Encoder can't find source file

    Hello - I recently deleted a number of temporary files on my C: drive in order to free up space.  I then tried to export from CS4 to Encoder and it now says that it can't find the source file.  I have tried sending the exported file to a number of locations and I get the same response.
    I've noticed some people on other threads having a source problem with Encoder.  Mine definitely started after I deleted some files (although I don't remember seeing anything that had an Adobe tag on it).  Before this, it worked perfectly.  I'm hoping to avoid a re-intstall.  Below is a sample error message.  Thanks, Jason
    - Source File: C:\DOCUME~1\Jason\LOCALS~1\Temp\Squares Triangles.prproj
    - Output File: D:\Jason Jason\Squares and Triangles\Recording Dec. 20th\Recordings.mpg
    - Preset Used: Custom
    - Video:
    - Audio:
    - Bitrate:
    - Encoding Time: 01:51:07
    21/12/2010 11:24:38 : Encoding Failed
    Could not read from the source. Please check if it has moved or been deleted.
    - Source File: C:\DOCUME~1\Jason\LOCALS~1\Temp\Squares Triangles_1.prproj
    - Output File: V:\Squares Triangles\Recordings.mpg
    - Preset Used: Custom
    - Video:
    - Audio:
    - Bitrate:
    - Encoding Time: 01:52:01
    21/12/2010 11:25:33 : Encoding Failed
    Could not read from the source. Please check if it has moved or been deleted.

    Thanks, Jeff.  I reopened CS4 and tried to export media again.  I'm exporting media to my V: drive, basically my dedicated video media drive.  It still can't find the source.  I also tried to shift the media cache drives over to the V: drive, as this has the most memory on the computer.  I guess I'm partly confused as to why it says that the source is on the C: temp drive, when I'm telling it to export somewhere else.
    Jason

  • Can't find source file for newsservice.NewsServiceProxy in JMS Web Service

    i can't find the source file for newsservice.NewsServiceProxy in JMS Web Service. The
    newsservice.NewsServiceProxy is required for client to post news to server and received news from server. But
    i can't find where the file located in the newsservices.jar provided in that tutorial.
    Someone please help me to located it. thank you :)

    Hi,
    You will have to generate this file. The steps to generate this file has been provided in the Install file present under NewsService/doc/Install.html (once newsservice.jar is extracted) - Running the NewsService client application section - Step 1.
    Follow the instructions, and you will be able to download the zip/jar file which contains newsservice.NewsServiceProxy within it.
    Regards
    Elango.

  • Unable to find source .jpd file

    Hi,
    I am using WLI8.1 SP1. When i run my process application in a clustered environment
    I get this error. "Unable to find source file for PublishOrder.jpd file".
    Has anybody faced this issue. ???
    Thanx
    Ashish

    This happens when the cluster is not set up properly.
    Make sure that the weblogic integration services applications are deployed on
    the cluster also.
    I faced this problem when I set up a cluster from admin console and added managed
    servers to it from admin console.
    If you set up a cluster while configuring your domain with Configuration wizard,
    the wizard takes care of all the applications/services that need to be deployed
    on the cluster.
    "Ashish Agrawal" <[email protected]> wrote:
    >
    Hi,
    I am using WLI8.1 SP1. When i run my process application in a clustered
    environment
    I get this error. "Unable to find source file for PublishOrder.jpd file".
    Has anybody faced this issue. ???
    Thanx
    Ashish

  • JDeveloper v10.1.3.0 - Debugging Mode - Unable to fiind source file

    I just upgraded to a newer (10.1.3.0) version of JDeveloper.
    When I'm stepping through Java code in the debugger and I need to step into code that is in another project, I get a dialog box telling me "Unable to find source file".
    The dialog box has four radio buttons and in the past, I chose the "Look for the file in project: " which had a drop down box where I could select the project that the Java file was in.
    With the new vesion, this does not work. I have to select the second option, which is "Let me find the file myself with the open file dialog".
    This latter method works, but it is much more time consuming than the former. Has anyone else noticed this problem before and found out a way to fix it?
    Thanks in advance for any help on this matter.
    Greg

    Just some more information from me, the original poster...........
    When I try to do the remote debugging....
    Under the project's Run Configuration, Launch Settings, I check the "Remote Debugging and Profiling"
    Under Debugger, Remote, I select the "Listen for JPDA
    Then I select the project and chose "Start Remote Debugger"
    Then I set a breakpoint in the PL/SQL
    Then at the SQLPLUS command line, I enter "exec DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', 4000 );"
    Response from SQLPLUS is:
    BEGIN DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', 4000 ); END;
    ERROR at line 1:
    ORA-12571: TNS:packet writer failure
    ===========================================================
    When I try debugging locally............
    I uncheck "Remote Debugging and Profiling"
    In Run Config, Debug, Remote, I select Attach to OJVM as the protocol
    I then select the PL/SQL function that I would like to debug and select "Debug"
    Here are the results from JDev....
    Connecting to the database QF.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '3263' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database QF.
    =========================================================
    Any help would sure be appreciated.
    Thanks,
    Greg

  • Jdeveloper remote debugging - Unable to find source error message

    Hi,
    I am trying to remote debug a simple Java application (non-web) using Jdeveloper. The Jdev debugger can connect to the remote debuggee, but unfortunately it throws me a message saying: 'Unable to find source file'. As a result, if I ignore this message, it simply ignores my source breakpoints.
    Can anybody please help with any tips?
    My project source is checked out from CVS and does not follow a conventional source path as such.
    Thanks,
    Neil.

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Trying to upgrade itunes says it cant find the source file for bonjour or quicktime. so it won't update. any help?

    Trying to upgrade itunes. it says it needs the source file to upgrade bonjour and quicktime. I downloaded itunes from a website originally. So therefore, i do not have a "source file" now i try to open itunes and i get a message that says something like "action only valid for installed software. Any ideas? oh ya, and i tried to delete itunes and bonjour and quicktime to start all over but it also said it needs the source files.

    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. (The results from mydigitallife and Major Geeks are worth checking.)
    After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes, QuickTime and Bonjour entries and click "Remove".
    Restart the PC, and try another iTunes install. Does it go through properly this time?

  • Is there any source that I can find "prel" files?

    Hi all,
    Is there any source that I can find "prel" files!
    I realized that the best way of learning for me is to open prel files and examine ready projects and adjust according to my needs!
    This method is fastest according to reading books or watching tutorials!
    Any other suggessions about the ways of learning Adobe Premiere??
    Thanks in advance.

    Thank you Steve!
    So much effort, knowledge and energy! You seem to me as you are from another planet!
    By your replies I understand that PE7 and Sony Vegas Pro 9 work differently!
    Because I have many "veg" files, I just only change the letters or pictures!
    Indeed I was looking for "veg" equivalent of Premiere Elements!

  • Dbx: No current source file , even after i compile with -g -xs , cant find

    source files
    im using pathmap , to map the source and objects , compiled with -g -xs but still dbx can't find the source files
    what else can it be ?

    A little more details, please:
    - dbx version,
    - compiler version,
    - an example of compilation line (how you invoke compiler),
    - what is your OS,
    - a few lines of
    modules -adbx command output.

Maybe you are looking for

  • Iphone 4 will not connect to itunes 10.5 on windows 7

    Since I installed the latest iTunes, 10.5, my iphone won't connect to my computer, I can still charge it using a normal power adapter, and my pc still makes the usual noise when connected, but i can't see it on itunes and even when putting it in slee

  • How can I download my entire development from a system environment

    Hi @ll, The system I was developing on will be refreshed shortly and I need to save my function group, functions, fields,... Now can anybody help me how to do this. Thanks in advance Kam

  • Overwrite the xml file

    hi is there any other possible way to overwrite the xml file using the javascript .... Thanks in Advance ~~ SK

  • Parse

    Anyone could help me? After uploading a CSV file, parsing it with StringTokenizer and displaying it in a table, how can i catch a value of a cell so to compare it to another? Thanks PS: I heard something about comma separated list. What´s the diferen

  • Microsoft Update doesn't work after fresh System Restore

    I installed a new hard drive (WD Scorpio Black, 750gb) in my Pavillion DV6-2150US and used the original HP disks to do a clean Windows 7 install.  Now that I have installed the OS, the Windows update process doesn't work properly, and won't download