Hi, this thread has been very useful for me but I still have one issue:

I built ddmlib source code using: ./update_jars.sh –f -o ddmlib

Then new .jars are created over prebuilt/devtools/tools/lib/ddmlib/ however 
I dint see my changes reflected,

Looking in the make log, I found:

host Prebuilt: ddmlib-prebuilt 
(out/host/common/obj/JAVA_LIBRARIES/ddmlib-prebuilt_intermediates/ddmlib-prebuilt.jar)

Install: out/host/linux-x86/framework/ddmlib-prebuilt.jar

And ddmlib.jar is different to ddmlib-prebuilt.jar, even trying to replace 
the ddmlib-prebuilt.jar by ddmlib.jar im not seeing any change. 

So my main question is how I can update the source code of ddmlib and see 
it reflected?

El sábado, 19 de enero de 2013 03:44:30 UTC-6, SeongJae Park escribió:
>
> Thank you very much for your kind and useful answer, Tor, and Raphael.
>
> I now understood the policy and got success to sync tools/base by 
> Raphael's assistance.
>
> Currently, I have no patch for contribution to ddmlib. But, your answers 
> would help me in future contribution.
>
> Thank you very much, again.
> Have a nice day :)
>
> On Saturday, January 19, 2013 3:43:46 AM UTC+9, Raphaël wrote:
>>
>> Note that if your last repo sync didn't bring you tools/base, try 
>> something like this:
>> $ repo init -g all,-notdefault,tools
>> $ repo sync
>>
>> Once you sync sdk.git and tools/base.git, in Eclipse just remove your 
>> existing ddmlib project and import the one from tools/base/ddmlib. Same 
>> thing for IntellJ and I think we have an iml for it in the new repo. If you 
>> need to change/contribute the source, make sure to do it in the new repo.
>>
>> Note that the ddms app is still in sdk.git and now relies on the 
>> prebuilts/devtools/ddmlib jar. If you change the tools/base/ddmlib source, 
>> you can regenerate a new prebuilt jar for ddms like this:
>> $ cd prebuilts/devtools
>> $ ./update_jars.sh ddmlib -f
>>
>> Hope this helps
>> R/
>>
>> On Fri, Jan 18, 2013 at 10:08 AM, Tor Norbye <[email protected]> wrote:
>>
>>> Don't worry, there source code is all still there, we just moved it from 
>>> one git repository to another, all still within 
>>> https://android-review.googlesource.com/#/
>>>
>>> It's now developed under tools/base/ instead of under sdk/. We've been 
>>> gradually moving tools source code over to tools/, which you should be able 
>>> to build without building a whole SDK (emulator image etc). We're not quite 
>>> done. But in the mean time, you can build and contribute to ddmlib.
>>>
>>> Here's the CL which copied the code over:
>>> https://android-review.googlesource.com/#/c/48045/
>>>
>>> We've since moved some of the code around; e.g. ddmlib was moved from 
>>> ddms/libs/ddmlib to the top level, etc.
>>>
>>> -- Tor
>>>
>>>  
>>>
>>> On Fri, Jan 18, 2013 at 9:16 AM, SeongJae Park <[email protected]>wrote:
>>>
>>>> Hello, I have found that ddmlib have been moved from 
>>>> sdk/ddms/libs/ddmlib to prebuilts by commit 11e58451(01/12/2013).
>>>>
>>>> So, I have some question about this change and future plan.
>>>> 1. What's the reason of this change?
>>>> 2. Will ddmlib's license be changed?
>>>> 3. Can't I get and use ddmlib's source code anymore?
>>>> 4. Can't I contribute to ddmlib anymore?
>>>>
>>>> Thanks and Regards.
>>>> SeongJae Park.
>>>>
>>>
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to