HelenCr has asked for the wisdom of the Perl Monks concerning the following question:

Honorable, respected monks:

I am trying to debug a Perl script under EPIC on Eclipse (on Windows 7). When stepping along in the debugger, when it reaches the place where it has to jump to another package of mine (called "Utilities.pm") due to a subroutine call, it gives the following succession of Eclipse errors:

'E:\Perl' is not a valid location for linked resources. EPIC cannot access files located in folders on the path to the workspa +ce folder, nor within the workspace folder itself. An unexpected exception occurred while creating a link to E:/Perl/Util +ities.pm

When I go, in the Eclipse menu: "FBProject -> Properties -> Linked Resources", it shows:

PARENT_LOC: "E:\Perl\Eclipse workspace"; PROJECT_LOC: "E:\Perl\Eclipse workspace\FBProject"; WORKSPACE_LOC: "E:\Perl\Eclipse workspace"; Perl include path: "E:\Perl"

I am aware of this:"http://stackoverflow.com/questions/3298029/eclipse-gives-error-is-not-a-valid-location-for-linked-resources" and this: "http://stackoverflow.com/questions/1655770/eclipse-not-a-valid-location-for-linked-resources" But I can't deduce from them how to solve my case.

Running as Administrator doesn't help.

TIA

Helen

Eclipse version 3.7.1 build M20110909-1335, EPIC version 0.6.44, Active Perl 5.14.2 running on Windows 7.

Cross posted on StackOverflow: http://stackoverflow.com/questions/10747431

  • Comment on Perl EPIC on Eclipse: “...\Directory is not a valid location for linked resources”
  • Select or Download Code

Replies are listed 'Best First'.
Re: Perl EPIC on Eclipse: “...\Directory is not a valid location for linked resources”
by HelenCr (Monk) on May 26, 2012 at 08:11 UTC

    Apparently there was some inconsistency in the Workspace - Project -Linked Resources file structure. I have deleted the entire project, restarted from scratch, and then this error did not show up again.

    But, the program hanged at another Eclispe/EPIC error, which I will post separately soon.