harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy, Jing Lv" <firep...@gmail.com>
Subject Re: [classlib][general]find a more proper folder to put src-jars?
Date Mon, 20 Nov 2006 08:16:05 GMT
Tim Ellison wrote:
> Jimmy, Jing Lv wrote:
>>     Currently Harmony has pack all its source files into jars and put
>> them in deploy\jdk\jre\lib\boot, e.g, luni-src.jar, nio-src.jar, etc(I
>> don't know when this happens, however they are here now).
> That's been done for a while.
>>     In most cases it does not disturb any one. However when I fix
>> something in a package(luni) and try to debug in test, eclipse always
>> lead me to the source files in the jar, not the file in the workspace I
>> currently modify, this do take me into trouble until I find the reason
>> and delete luni-src.jar.
> That is intentional (not to get you into trouble, but to automatically
> find the source from the JRE type).  The bootclasspath.properties file
> points to the source JARs and the Eclipse plug-in for Harmony reads it.
> We are unusual since are actually developing Harmony, but most people
> will be users that step through the class library code while debugging etc.

Ah yes, I agree Harmony users' requirement comes first. So if this is 
the best folder for users, forget my silly suggestion. :)

>> (My run environment in eclipse 3.2: take Harmony
>> as JRE, put main-luni\bin and JRE-System Library[Harmony] into
>> clasapath- bootstrap entries; put test-luni\bin, junit and support into
>> classpath- User entries. It works well, only some trouble in debugging).
> You should configure Eclipse to pick the source from the project in your
> workspace.

Yes, I've find the solution. For someone who may also meet my problem, 
you can find the configuration on Run->debug->source.

>>     So IMHO Harmony may find another folder to put these src-jars, e.g.,
>> a "src" folder in deploy\jdk, which can be much clear, and will not make
>> trouble in debugging any more.
>>     Any suggestions/options? Thanks!
> I'm not sure that moving their location on disk will help in this case?
> Regards,
> Tim


Best Regards!

Jimmy, Jing Lv
China Software Development Lab, IBM

View raw message