<div dir="ltr"><div><div>Well, e.g. when I modify '/src/ndnSIM/helper/ndn-global-routing-helper.cc', I will face rebuilding a big group of source files, before running my simulation. This problem occurs while I followed your instructions in the scenario template, exactly.<br>

<br></div>Look, when I run my scenario under directory 'ns-dev/ns-3' I will face this issue (rebuilding source files), but when I  switch to directory 'ns-dev/my-scenarios', and run ./waf --run <<i>scenario-name</i>>, it does not consider my new changes in source files (actually, it use last built files and does not re-build specified source file after editing).<br>

</div><div><br>----<br></div><div><i>chavoosh</i><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 10:29 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Chavoosh,</div><div><br></div><div>Unfortunately, unless you separate your code from NS-3, as is suggested in <a href="https://github.com/cawka/ndnSIM-scenario-template" target="_blank">https://github.com/cawka/ndnSIM-scenario-template</a>  you will end up recompiling a big chunk of NS-3 every time you make a minor change in your scenario.</div>

<div><br></div><div>However, if you are modifying NS-3 itself (e.g., something inside src/internet or src/network), then this would unconditionally require recompilation of NS-3, even if you have separated your scenario into different repository.</div>

<div><br></div><div>Btw. You mentioned that "it didn't work", but what exactly is the problem?  I can try my best to update the instructions in the scenario template, if they are confusing.</div><div><br></div>

<div>---</div><div>Alex</div><br><div><div><div class="h5"><div>On May 10, 2014, at 7:20 AM, chavoosh ghasemi <<a href="mailto:chavoosh.ghasemi.off@gmail.com" target="_blank">chavoosh.ghasemi.off@gmail.com</a>> wrote:</div>

<br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi dear Alex<br><br></div>I have a little problem with editing source files (both .h and .cc files), so that after each modifying, I will face re-building source files for running my scenario, which is so irritating! Please guide me to do this in a better manner, and requires no re-building or same issues!<br>



<br></div>Also I read this:<br><a href="http://ndnsim.net/getting-started.html#simulating-using-ndnsim" target="_blank">http://ndnsim.net/getting-started.html#simulating-using-ndnsim</a><br></div>but it did not work and I forced to write simulation directly inside `/scratch'.<br>



<br></div>Best regards<br></div><i>chavoosh</i><br><div><br clear="all"><div><br>-- <br><div dir="ltr"><span><font><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i><b><font color="#888888">----------------------------</font><br>



Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><font style="color:rgb(102,102,0)">Information Technology M.S </font></span></span><font style="color:rgb(102,102,0)">- </font></font></font></span><span><font><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><span style="color:rgb(153,153,0)"><font style="color:rgb(102,102,0)">Computer Networks </font></span></span></font></font></span><br style="font-family:georgia,serif">



<span><font><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><font style="color:rgb(102,102,0)">Sharif University-Computer Engineer Department</font><i style="color:rgb(102,102,0)"><br></i></span></font></font></span><font size="1"><b><i style="color:rgb(102,102,0)"><br>



<span style="color:rgb(153,153,0)">"The </span><i style="color:rgb(153,153,0)">quieter</i><span style="color:rgb(153,153,0)"> you become, the </span><i style="color:rgb(153,153,0)">more you can hear"</i></i></b></font></div>




</div></div></div></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>

</blockquote></div><br></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><span><font><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i style="color:rgb(0,0,0)"><b><font color="#888888">----------------------------</font><br>

Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><font style="color:rgb(102,102,0)">Information Technology M.S </font></span></span><font style="color:rgb(102,102,0)">- </font></font></font></span><span><font><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><span style="color:rgb(153,153,0)"><font style="color:rgb(102,102,0)">Computer Networks </font></span></span></font></font></span><br style="font-family:georgia,serif">

<span><font><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><font style="color:rgb(102,102,0)">Sharif University-Computer Engineer Department</font><i style="color:rgb(102,102,0)"><br></i></span></font></font></span><font size="1"><b><i style="color:rgb(102,102,0)"><span><br>

<span style="color:rgb(153,153,0)">"The </span><i style="color:rgb(153,153,0)">quieter</i><span style="color:rgb(153,153,0)"> you become, the </span><i style="color:rgb(153,153,0)">more you can hear"</i></span></i></b></font></div>


</div>