[asterisk-dev] Setting up a development environment for Asterisk
Nick Khamis
symack at gmail.com
Tue Jan 11 08:35:28 CST 2011
Thank you Kevin and Chris for your responses,
I saw that a C perspective is needed for modules to, for example,
be aware of where to locate the headers in the ``include'' module.
As you mentioned Chris, I really think developers that are unfamiliar with
the asterisk source code can greatly benefit from some of the things
offered by and IDE such as auto complete etc...
I will be happy to share my findings on here.
Thanks Again,
Nick.
On Tue, Jan 11, 2011 at 9:10 AM, Chris Tooley <chris at tooley.com> wrote:
> On Tue, Jan 11, 2011 at 8:03 AM, Kevin P. Fleming <kpfleming at digium.com>
> wrote:
> > On 01/11/2011 07:55 AM, Nick Khamis wrote:
> >
> >> Thank you for your response, vim, emacs... That kind of stuff puts hair
> >> on your
> >> chest ;). I checked out the code using subclipse, maybe I will try to
> >> strip it down
> >> to the core classes, compile and run it within eclipse, and then keep
> >> appending
> >> code, basically building an eclipse project. Any help would be
> >> appreciated. Are
> >> there any documentation architectural/package/class diagrams etc.., I
> know
> >> it's a large project, and I have had to do this many time before.
> >
> > Asterisk is primarily written in C, so there aren't any 'core classes' in
> > the sense that an IDE would understand. There are some conceptual
> diagrams
> > of how modules work together and how channel drivers work, but there is
> not
> > a great deal of architectural documentation, unfortunately.
>
> Asterisk will build and run inside Eclipse (or used to) but I haven't
> done it in several years. As Kevin says, since it's C there's not a
> class hierarchy like you would get with a Java project, but the C
> perspective can be set up to find all of the definitions. Once it's
> all set up and configured, it's actually pretty handy for development,
> but running it in the debugger is pretty challenging as the highly
> multi-threaded nature of Asterisk doesn't lend itself well to
> Eclipse's debugger interface.
> >
> > --
> > Kevin P. Fleming
> > Digium, Inc. | Director of Software Technologies
> > 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> > skype: kpfleming | jabber: kfleming at digium.com
> > Check us out at www.digium.com & www.asterisk.org
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>
>
>
> --
>
> Chris Tooley
> mobile: 615-525-8067
> Instant Messenger
> MSN: ctooley at ntrc.net
> AIM: mrchristooley
> Yahoo: mrchristooley
> Google Talk: ctooley at gmail.com
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110111/97a75797/attachment.htm>
More information about the asterisk-dev
mailing list