Home
TeamSite
How to refer Teamsite Perl modules during development
Jashan
Hello -
I have Eclipse with EPIC plugin setup on my local machine, that doesn't have any teamsite environment.
I'm building a complex workflow with some external tasks written in perl that'll use the Teamsite perl modules etc.
I've downloaded all the possible teamsite perl modules locally from the teamsite server.
I just want to refer to them within Eclipse, to make sure my syntax is good etc. How do I go about doing this? I could use Padre IDE if I had to ...just need to know how to refer to teamsite .pm files.
Find more posts tagged with
Comments
Adam Stoller
Chances are EPIC uses some instance of Perl - and that instance of Perl doesn't know where you put those Perl modules. You need to figure out where it's looking and put the files in the right place.
You might be able to use the Run... option (or whatever it's called) to have EPIC run
perl -V
(capital V) to see where its looking.
Rick Poulin
Chances are EPIC uses some instance of Perl
Confirming that statement. Your Eclipse prefs must be configured to point at one. Once you have local syntax checking working, it should highlight any modules that are missing. Note that you have to 'Enable PERL' on your project for this to happen. You should download what you can from CPAN to make sure it's properly compiled for your system. As for the rest (i.e. the 'TeamSite' modules), drop them anywhere on your local system and reference them within Eclipse. The EPIC portion of the prefs panel has a tab for referencing additional modules -- in this, you want to reference the folder containing the 'TeamSite' modules folder, so that it properly understands 'TeamSite' as a package name.
Jashan
Thanks guys. I just dropped it in lib folder of perl installation, and that did it automatically.