Open OTRS souce code on Eclipse

Moderator: crythias

Locked
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Open OTRS souce code on Eclipse

Post by ndhvu275 »

Dear,

I'm trying to open Perl project is OTRS on Eclipse. My Eclipse's already plugin Perl. Then, some errors like the picture was attached. Maybe lack some libs. How to install them? Please help me

Thanks

Hoang Vu
You do not have the required permissions to view the files attached to this post.
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Open OTRS souce code on Eclipse

Post by reneeb »

See http://www.thegeekstuff.com/2008/09/how ... n-command/

If you use ActivePerl you should use the "PPM" tool. Just type "ppm" in your console ('cmd.exe' on Windows) and "install" the modules.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Open OTRS souce code on Eclipse

Post by ndhvu275 »

reneeb wrote:See http://www.thegeekstuff.com/2008/09/how ... n-command/

If you use ActivePerl you should use the "PPM" tool. Just type "ppm" in your console ('cmd.exe' on Windows) and "install" the modules.
Yeah thanks reneeb. Or I can download a new version (5.18.x) of ActivePerl included already

Thanks again,

Hoang Vu
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Open OTRS souce code on Eclipse

Post by reneeb »

Perl 5.18.x is not released yet (it will be released in April/May next year). And even when it's released, it does *not* include all modules (CPAN has more the 100,000 modules). So you have to install modules that are missing...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Open OTRS souce code on Eclipse

Post by ndhvu275 »

reneeb wrote:Perl 5.18.x is not released yet (it will be released in April/May next year). And even when it's released, it does *not* include all modules (CPAN has more the 100,000 modules). So you have to install modules that are missing...
Dear reneeb,

Ahh yes. Thanks for some infomation that's really helpful for me.

Thank so much

Hoang Vu
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Can not locate *.pm in @INC error

Post by ndhvu275 »

Dear,

Now, I'm still trying to open OTRS source code via eclipse without any error. But there is an error: Can not locate *.pm @INC, even though this file (package) was existed and no error. I posted an example as attached file. Anyone has some experiences about that please help me. I have to how config or lacked somethings.

Thanks

Hoang Vu
You do not have the required permissions to view the files attached to this post.
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Open OTRS souce code on Eclipse

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Open OTRS souce code on Eclipse

Post by ndhvu275 »

OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Open OTRS souce code on Eclipse

Post by ndhvu275 »

Dear reneeb and all,

With working on Eclipse with Perl plugin, I'd like to ask you that have anyway to debug the OTRS source code on Eclipse directly. For example with a HelloWorld module, how can I debug the coding in it. Please help me

Thanks,
Hoang Vu
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
Locked