<div dir="ltr">So I made the changes as recommended ..<div><br></div><div>npm link to make a symbolic link between the global directory and local directory</div><div><br></div><div>also linked the cordova-lib in cordova-cli/node_modules to the local cordova-lib</div>
<div><br></div><div>Now I can see the changes I make in my local cordova-lib being reflected in the global cordova-lib directory and the one in cordova-cli too.</div><div><br></div><div><br></div><div>But still I don't know why my change to a simple line <a href="https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/platform.js#L59" target="_blank">here</a> is not getting reflected when in the command line.I changed the line just to see if I can see the change in command when I give the cordova platform add command with no arguments , but I dont see my changed line as output, its still same.</div>
<div><br></div><div>So just wished to ask what development environment do you guys use for developing cordova-cli ?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 11:35 PM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks archana :-)</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 11, 2014 at 11:20 PM, Naik, Archana <span dir="ltr"><<a href="mailto:naika@lab126.com" target="_blank">naika@lab126.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Puneet<br>
<br>
One quick way of testing your changes to replace these files on global<br>
install of cordova-lib. On Mac, its<br>
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/. You might<br>
have to change the permissions using sudo on these folders to make any<br>
changes. Once you test it and looks ok then you can submit the changes to<br>
github.<br>
<br>
Archana<br>
<div><div><br>
On 6/11/14 7:07 AM, "Gonzalo Odiard" <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>> wrote:<br>
<br>
>Looks like a question for the cordova guys....<br>
><br>
><br>
>On Wed, Jun 11, 2014 at 10:53 AM, Puneet Kaur <<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>><br>
>wrote:<br>
><br>
>> I have cloned the git repository from<br>
>> <a href="https://github.com/apache/cordova-lib" target="_blank">https://github.com/apache/cordova-lib</a><br>
>><br>
>> and then made changes in the code in my local directory.<br>
>><br>
>> But these changes dont reflect in the cordova commands :-(<br>
>><br>
>> I followed the steps mentioned here :<br>
>> <a href="https://github.com/apache/cordova-lib#setup" target="_blank">https://github.com/apache/cordova-lib#setup</a> but still cant get see my<br>
>> changes when I issue the cordova commands :(<br>
>><br>
>><br>
>> On Wed, Jun 11, 2014 at 7:08 PM, Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>><br>
>> wrote:<br>
>><br>
>>> I can't understand the question. Could you rephrase it?<br>
>>><br>
>>> Gonzalo<br>
>>><br>
>>><br>
>>> On Wed, Jun 11, 2014 at 12:30 AM, Puneet Kaur <<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>>> Hey,<br>
>>>><br>
>>>> I wish to develop on cordova-cli.We wish to work on making commands<br>
>>>> "cordova platform add sugar" and "cordova build sugar" work.<br>
>>>><br>
>>>> So for that I have git cloned the repo from<br>
>>>> <a href="https://github.com/apache/cordova-cli" target="_blank">https://github.com/apache/cordova-cli</a> and<br>
>>>> <a href="https://github.com/apache/cordova-lib" target="_blank">https://github.com/apache/cordova-lib</a><br>
>>>><br>
>>>> and followed steps mentioned here :<br>
>>>> <a href="https://github.com/apache/cordova-lib#setup" target="_blank">https://github.com/apache/cordova-lib#setup</a><br>
>>>><br>
>>>><br>
</div></div>>>>> *but how what do I need to do so that whatever changes I make in my<br>
<div>>>>> local copy(in the directory where I have git cloned the repository)<br>
>>>>are<br>
</div>>>>> reflected when I issue these commands in my terminal ?*<br>
<div><div>>>>><br>
>>>> _______________________________________________<br>
>>>> Sugar-devel mailing list<br>
>>>> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
>>>> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Gonzalo Odiard<br>
>>><br>
>>> SugarLabs - Software for children learning<br>
>>><br>
>><br>
>><br>
><br>
><br>
>--<br>
>Gonzalo Odiard<br>
><br>
>SugarLabs - Software for children learning<br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>