That is really interesting information Paul. Using Eclipse I started by:<br>* Checking out the source code using subclipse<br>* Trying to determine the reference tree i.e. which modules depend on what<br><br>> I tried getting Eclipse up and running, but eventually gave up.<br>
<br>I understand that this is a frustrating process however, it only has to <br>be done once. If you gents can guide me towards where this <br>thing (asterisk) starts, I can begin building the Eclipse CDT project from there.<br>
Yes this is a large project, multiple inheritance with messages getting<br>passed around from absolutely every direction, so it will take me some time,<br>but it will be well worth it.<br><br>Nick<br><br><div class="gmail_quote">
On Tue, Jan 11, 2011 at 10:24 AM, Paul Belanger <span dir="ltr"><<a href="mailto:pabelanger@digium.com">pabelanger@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 11-01-10 09:20 PM, Nick Khamis wrote:<br>
> I am looking to develop applications that use Asterisk. I was wondering what<br>
> everyone is using to develop<br>
> code for Asterisk. I am familiar with the Eclipse IDE. Does anyone have any<br>
> experience checking out the code for the<br>
> repository using subclipse, compiling and running the application? I think<br>
> this is going to be rather difficult given the<br>
> size of Asterisk. If you can share your experiences with setting up a<br>
> developmental environment for Asterisk it would<br>
> be greatly appreciated.<br>
><br>
</div></div>This is something I've been wanting to document for a while, now that we<br>
have the wiki up. I agree any feedback about how people create their<br>
development environments would be great.<br>
<br>
Here are some of the steps I use.<br>
<br>
= Download source code =<br>
<br>
$ mkdir -p ~/digium/asterisk/testing/<br>
$ cd ~/digium/asterisk/testing<br>
$ svn co <a href="http://svn.asterisk.org/svn/asterisk/trunk" target="_blank">http://svn.asterisk.org/svn/asterisk/trunk</a><br>
$ cd trunk<br>
<br>
= Modifiy code =<br>
I default to vim, with a .vimrc provided by russellb. :) I tried getting<br>
Eclipse up and running, but eventually gave up.<br>
<br>
= Compiling =<br>
Because I don't like install sudoing to root to install and test<br>
Asterisk patches, I use a handy script located in the contrib directory:<br>
<br>
$ ./contrib/scripts/live_ast configure<br>
$ make<br>
$ ./contrib/scripts/live_ast install<br>
$ ./contrib/scripts/live_ast samples<br>
<br>
This will create 'live/' directory containing a working installation of<br>
Asterisk. Use './live/asterisk' script to start / stop Asterisk (EG:<br>
./live/asterisk -vvvvvc). Config files are stored in 'live/etc/asterisk'.<br>
<font color="#888888"><br>
--<br>
Paul Belanger<br>
Digium, Inc. | Software Developer<br>
twitter: pabelanger | IRC: pabelanger (Freenode)<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br>
</font><div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br>