3

I just installed EPIC (Perl in Eclipse Plugin) in Eclipse Indigo. I'm running win7. I read that I needed to install padwalker, which I did also. I then created a Perl project and a script file.

Everything looks good, but when I try to setup the run or debug configuration, the project isn't referenced in the Project Selection dialog under run configurations in Eclipse, as one I can select and in the EPIC user guide it shows all projects should be available?

I'm pointing to the "C:\Perl\bin\perl5.8.8.exe" in my PerlEpic preferences. Is there something else I need to do that I've missed?

After doing some research, I see that the reason the project won't run is that general projects can't run under eclipse, only java projects, those with a java nature associated with them. (ie have a project and a classpath folder with the "J" icon designated in their source file under the Project View). My Perl project has a "Perl Nature" associated with it, so it's not a java project perse.

So the real question is how do I create a Perl project in eclipse, but still be able to run it like I do a java project?

James Drinkard
  • 15,342
  • 16
  • 114
  • 137

1 Answers1

2

Okay, after much searching, I missed this in the EPIC user guide on creating launch configurations. It pays to read through the user guide for this stuff. You have to create a new launch configuration since it's not java and it doesn't have a main method in the file.

One other item, to use the debugger in eclipse you need to run ppm from a dos command prompt. This will launch a GUI dialog window for the Perl module utility for ActivePerl that runs on Windows. Then select the PadWalker perl module to install it.

After that everything worked great!

James Drinkard
  • 15,342
  • 16
  • 114
  • 137