Hey, I got through :-)
Thanks to all those who replied on this thread :) Puneet On Fri, Jun 13, 2014 at 4:21 PM, Puneet Kaur <[email protected]> wrote: > here you can see the linking > > /usr/local/lib/node_modules/cordova-lib -> /home/dr/sugar > cordova/cordova-lib/cordova-lib > > > /home/dr/sugar cordova/cordova-cli/node_modules/cordova-lib -> > /usr/local/lib/node_modules/cordova-lib -> /home/dr/sugar > cordova/cordova-lib/cordova-lib > > > /usr/local/lib/node_modules/cordova -> /home/dr/sugar cordova/cordova-cli > > all these links exist ^ > > but not sure why I am not able to make/see the changes done in code in > these directories. > > > > On Fri, Jun 13, 2014 at 2:47 PM, Puneet Kaur <[email protected]> > wrote: > >> So I made the changes as recommended .. >> >> npm link to make a symbolic link between the global directory and local >> directory >> >> also linked the cordova-lib in cordova-cli/node_modules to the local >> cordova-lib >> >> 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. >> >> >> But still I don't know why my change to a simple line here >> <https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/platform.js#L59> >> 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. >> >> So just wished to ask what development environment do you guys use for >> developing cordova-cli ? >> >> >> On Wed, Jun 11, 2014 at 11:35 PM, Puneet Kaur <[email protected]> >> wrote: >> >>> Thanks archana :-) >>> >>> >>> On Wed, Jun 11, 2014 at 11:20 PM, Naik, Archana <[email protected]> >>> wrote: >>> >>>> Hi, Puneet >>>> >>>> One quick way of testing your changes to replace these files on global >>>> install of cordova-lib. On Mac, its >>>> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/. You might >>>> have to change the permissions using sudo on these folders to make any >>>> changes. Once you test it and looks ok then you can submit the changes >>>> to >>>> github. >>>> >>>> Archana >>>> >>>> On 6/11/14 7:07 AM, "Gonzalo Odiard" <[email protected]> wrote: >>>> >>>> >Looks like a question for the cordova guys.... >>>> > >>>> > >>>> >On Wed, Jun 11, 2014 at 10:53 AM, Puneet Kaur <[email protected]> >>>> >wrote: >>>> > >>>> >> I have cloned the git repository from >>>> >> https://github.com/apache/cordova-lib >>>> >> >>>> >> and then made changes in the code in my local directory. >>>> >> >>>> >> But these changes dont reflect in the cordova commands :-( >>>> >> >>>> >> I followed the steps mentioned here : >>>> >> https://github.com/apache/cordova-lib#setup but still cant get see >>>> my >>>> >> changes when I issue the cordova commands :( >>>> >> >>>> >> >>>> >> On Wed, Jun 11, 2014 at 7:08 PM, Gonzalo Odiard < >>>> [email protected]> >>>> >> wrote: >>>> >> >>>> >>> I can't understand the question. Could you rephrase it? >>>> >>> >>>> >>> Gonzalo >>>> >>> >>>> >>> >>>> >>> On Wed, Jun 11, 2014 at 12:30 AM, Puneet Kaur < >>>> [email protected]> >>>> >>> wrote: >>>> >>> >>>> >>>> Hey, >>>> >>>> >>>> >>>> I wish to develop on cordova-cli.We wish to work on making commands >>>> >>>> "cordova platform add sugar" and "cordova build sugar" work. >>>> >>>> >>>> >>>> So for that I have git cloned the repo from >>>> >>>> https://github.com/apache/cordova-cli and >>>> >>>> https://github.com/apache/cordova-lib >>>> >>>> >>>> >>>> and followed steps mentioned here : >>>> >>>> https://github.com/apache/cordova-lib#setup >>>> >>>> >>>> >>>> >>>> >>>> *but how what do I need to do so that whatever changes I make in my >>>> >>>> local copy(in the directory where I have git cloned the repository) >>>> >>>>are >>>> >>>> reflected when I issue these commands in my terminal ?* >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> Sugar-devel mailing list >>>> >>>> [email protected] >>>> >>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>>> >>>> >>>> >>>> >>>> >>> >>>> >>> >>>> >>> -- >>>> >>> Gonzalo Odiard >>>> >>> >>>> >>> SugarLabs - Software for children learning >>>> >>> >>>> >> >>>> >> >>>> > >>>> > >>>> >-- >>>> >Gonzalo Odiard >>>> > >>>> >SugarLabs - Software for children learning >>>> >>>> >>> >> >
