[Catalyst] Eclipse and Catalyst

2009-04-13 Thread abhishek jain
Has anyone used Eclipse or any other IDE.Can someone guide me in some steps
how can i use Eclipse as an ide for Catalyst application?
Pl. help.
Early replies will be appreciated.
-- 
Thanks and kind Regards,
Abhishek jain
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Eclipse and Catalyst

2009-04-13 Thread Rodrigo
On Mon, Apr 13, 2009 at 9:43 AM, abhishek jain
abhishek.netj...@gmail.comwrote:

 Has anyone used Eclipse or any other IDE.Can someone guide me in some
 steps how can i use Eclipse as an ide for Catalyst application?
 Pl. help.
 Early replies will be appreciated.


Have you installed the EPIC plugin? I think that's the first step.

-rodrigo
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Eclipse and Catalyst

2009-04-13 Thread abhishek jain
On Mon, Apr 13, 2009 at 1:25 PM, Rodrigo rodrigol...@gmail.com wrote:



 On Mon, Apr 13, 2009 at 9:43 AM, abhishek jain abhishek.netj...@gmail.com
  wrote:

 Has anyone used Eclipse or any other IDE.Can someone guide me in some
 steps how can i use Eclipse as an ide for Catalyst application?
 Pl. help.
 Early replies will be appreciated.


 Have you installed the EPIC plugin? I think that's the first step.

 -rodrigo

 Thanks a lot for replying
yes i have installed EPIC , but i am on windows, i need to issue catalyst.pl
command and I am not sure how can Eclipse do that for me.Do i need Linux for
that, what and how to proceed after EPIC is installed, i have seen EPIC
userguide but it didnt helped me either.
Thanks
abhishek
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Eclipse and Catalyst

2009-04-13 Thread iain
On Mon, 2009-04-13 at 13:13 +0530, abhishek jain wrote:
 Has anyone used Eclipse or any other IDE.
 Can someone guide me in some steps how can i use Eclipse as an ide for
 Catalyst application?
 

I use eclipse for all my development. It works great now that my
hardware has caught up with the bloat ;)

Once you have installed EPIC dont forget to add a perl nature to the
project. This then allows you to setup the include path
(Project/Properties) which will help you with on the fly syntax
checking.

I have managed to debug myapp_server.pl through eclipse with reasonable
success. Right click myapp_server.pl, (Run As-Perl local) You can pass
command line switches (-r -d) and environment variables via the
Run/Debug Configurations screens. I also tend to redirect STDOUT to a
log file via the common tab.

You should be able to follow any of the tutorials about eclipse/EPIC as
working with catalyst is no different to any other Perl project.

I have had most success running eclipse on linux, so YMMV on windows. 

Iain.

p.s. I came across a nice feature (bug) recently that helps with content
assist and object/classes http://bit.ly/d9UTR


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Eclipse and Catalyst

2009-04-13 Thread Rodrigo
 yes i have installed EPIC , but i am on windows, i need to issue
 catalyst.pl command and I am not sure how can Eclipse do that for me.


Follow this tutorial for setting up a RunAs command:

http://www.epic-ide.org/running_perl_scripts_within_eclipse/entry.htm

I have entered the following options in the Run a program window (I did
not use the cmd /C command):

Location: c:\strawberry\perl\bin\perl.exe
WorkingDirectory: ${project_loc}
Arguments: -S catalyst.pl ${project_name}

That will use the project name as the current application name and create it
within the current selected project. You can easily create commands for your
favorite myapp_create.pl scripts and another one to start myapp_server.pl.

-rodrigo
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/