public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] interested in Gentoo/Java IDE integration
@ 2011-03-30 13:35 潘佳乐
  2011-03-30 13:53 ` Serkan Kaba
  0 siblings, 1 reply; 7+ messages in thread
From: 潘佳乐 @ 2011-03-30 13:35 UTC (permalink / raw
  To: gentoo-soc

Hallo everyone,

I’m a post-graduate student pursuing my master’s degree in 2nd year.
I’m interested in Gentoo/Java IDE
integration(http://www.gentoo.org/proj/en/userrel/soc/ideas.xml#doc_chap2_sect21).


Tentatively, I’ve decide to fix eclipse because I think that this
project may require some modification on eclipse src code(or develop a
plugin)  (am I right?) and I’ve gained good knowledge of eclipse
plugin development during my internship in a company.


According to the project description, In my current understanding,
there are at least two parts of job I’m supposed to do:
1. get to know the mechanism of how eclipse in gentoo  finding system
library currently and fix it.(or develop a plug-in to find system
library? )( currently I'm still not clear how eclipse in gentoo find
system libraries.I'm going to investigate it if this  is right way to
the project)
2. let  PackageKit to work with Portage in order to automatically
download missed system library based on imports declaration when the
user is coding.

I would like to know whether my understanding is to the right way and
looking forward to advice on this project. Any of your kind
suggestions would be very appreciated.:)

About me:
I’ve had 3 years’ great experience in java development (serveral
school projects) and also be fimilar with c/c++ and shell scripts.
I’ve been using gentoo for over 1 year and found that it's great.So I
think that may be I can do sth. for gentoo community, if I can, taking
the opputunity of GSoc.:)


Thanks in advance:)
Kyle Pan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-soc] interested in Gentoo/Java IDE integration
  2011-03-30 13:35 [gentoo-soc] interested in Gentoo/Java IDE integration 潘佳乐
@ 2011-03-30 13:53 ` Serkan Kaba
  2011-03-30 15:25   ` Kyle Pan
  0 siblings, 1 reply; 7+ messages in thread
From: Serkan Kaba @ 2011-03-30 13:53 UTC (permalink / raw
  To: gentoo-soc

2011/3/30 潘佳乐 <kyle.j.pan@gmail.com>:
> Hallo everyone,
>
> I’m a post-graduate student pursuing my master’s degree in 2nd year.
> I’m interested in Gentoo/Java IDE
> integration(http://www.gentoo.org/proj/en/userrel/soc/ideas.xml#doc_chap2_sect21).
Thank you for your interest.
>
>
> Tentatively, I’ve decide to fix eclipse because I think that this
> project may require some modification on eclipse src code(or develop a
> plugin)  (am I right?) and I’ve gained good knowledge of eclipse
> plugin development during my internship in a company.
>
>
> According to the project description, In my current understanding,
> there are at least two parts of job I’m supposed to do:
> 1. get to know the mechanism of how eclipse in gentoo  finding system
> library currently and fix it.(or develop a plug-in to find system
> library? )( currently I'm still not clear how eclipse in gentoo find
> system libraries.I'm going to investigate it if this  is right way to
> the project)
Yes, that's what I have in mind. We can already enumerate a list of
installed libraries along with what jars, jni libs,source code javadoc
it has. We can also get a list of dependencies of a library as well.
This is mostly Python code and Portage is also in Python. Jython may
help you in integration here.
> 2. let  PackageKit to work with Portage in order to automatically
> download missed system library based on imports declaration when the
> user is coding.
I didn't plan this as part of the project. Please explain this in more details.
>
> I would like to know whether my understanding is to the right way and
> looking forward to advice on this project. Any of your kind
> suggestions would be very appreciated.:)
>
> About me:
> I’ve had 3 years’ great experience in java development (serveral
> school projects) and also be fimilar with c/c++ and shell scripts.
> I’ve been using gentoo for over 1 year and found that it's great.So I
> think that may be I can do sth. for gentoo community, if I can, taking
> the opputunity of GSoc.:)
>
>
> Thanks in advance:)
> Kyle Pan
>
>

Waiting to hear back from you.

Sincerely,
Serkan KABA



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-soc] interested in Gentoo/Java IDE integration
  2011-03-30 13:53 ` Serkan Kaba
@ 2011-03-30 15:25   ` Kyle Pan
  2011-03-30 16:25     ` Serkan Kaba
  2011-03-31  1:49     ` Brian Dolbec
  0 siblings, 2 replies; 7+ messages in thread
From: Kyle Pan @ 2011-03-30 15:25 UTC (permalink / raw
  To: gentoo-soc

Hi Serkan,

Firstly many thanks for your kind and quick reply:)

> 1. get to know the mechanism of how eclipse in gentoo  finding system
> library currently and fix it.(or develop a plug-in to find system
> library? )( currently I'm still not clear how eclipse in gentoo find
> system libraries.I'm going to investigate it if this  is right way to
> the project)
Yes, that's what I have in mind. We can already enumerate a list of
installed libraries along with what jars, jni libs,source code javadoc
it has. We can also get a list of dependencies of a library as well.
This is mostly Python code and Portage is also in Python. Jython may
help you in integration here.

---------I don't know whether this understanding is correct or not:
the code that already have for emuerating a list of installed
libraries(along with other things required) is writen in Python. And I
can use the result of this code. And Could you expain more detail
about "Python may help me integration".
And also, Could you kindly give me an use case of this part of
job(just like my explain the 2nd part blow), I think it would be very
helpful to me to catch it more clearly and correctly:)



> 2. let  PackageKit to work with Portage in order to automatically
> download missed system library based on imports declaration when the
> user is coding.
I didn't plan this as part of the project. Please explain this in more details.
----------------------PackageKit is a package management tool that can
use apt, yum, pcman etc as its back-end.Now I don't know if  it can
use emerge backend and I'll verify it later.This part of job's mainly
function can be described as the following use case:
User A is coding in eclipse. He/She typed "import A.B.C.D;",which is a
class/package in one of the System library but the library has not
installed on the machine(of course ,portage tree should contains the
library's ebuilds). Then thanks to the this part of the job, it is
automactically downloaded and installed.
I've also don't clear why  PackageKit should be used(I think revoking
emerge is sufficient,though I'm not very sure,and what your opionion
is?) Since PackageKit is metioned in idealist, so there should be some
 reasons I not know for using it?
Anyway, I believe addressing this use case letting it doing
automatically is very meaningful, even PackageKit doesn't been
used(just invoking emerge).


PS.
According to the idealist page ,I am required to take the action of "
fix a real bug reported in Bugzilla to show that I can use the tools
to make a meaningful change" before application and said my contract
can help me determine which SCM and repository I should use for this.
Would you mind help that tell me which SCM and repository and guide me
instrctions to fix a proper bug?

Thanks a lot.

Best Regards,
Kyle Pan



-- 
Kyle Pan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-soc] interested in Gentoo/Java IDE integration
  2011-03-30 15:25   ` Kyle Pan
@ 2011-03-30 16:25     ` Serkan Kaba
  2011-03-31  1:49     ` Brian Dolbec
  1 sibling, 0 replies; 7+ messages in thread
From: Serkan Kaba @ 2011-03-30 16:25 UTC (permalink / raw
  To: gentoo-soc; +Cc: Kyle Pan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30-03-2011 18:25, Kyle Pan wrote:
> Hi Serkan,
> 
> Firstly many thanks for your kind and quick reply:)
> 
>> 1. get to know the mechanism of how eclipse in gentoo  finding system
>> library currently and fix it.(or develop a plug-in to find system
>> library? )( currently I'm still not clear how eclipse in gentoo find
>> system libraries.I'm going to investigate it if this  is right way to
>> the project)
> Yes, that's what I have in mind. We can already enumerate a list of
> installed libraries along with what jars, jni libs,source code javadoc
> it has. We can also get a list of dependencies of a library as well.
> This is mostly Python code and Portage is also in Python. Jython may
> help you in integration here.
> 
> ---------I don't know whether this understanding is correct or not:
> the code that already have for emuerating a list of installed
> libraries(along with other things required) is writen in Python. And I
> can use the result of this code. And Could you expain more detail
> about "Python may help me integration".
> And also, Could you kindly give me an use case of this part of
> job(just like my explain the 2nd part blow), I think it would be very
> helpful to me to catch it more clearly and correctly:)
Sorry for speaking too cryptic. This part of the project will make the
installed Java packages appear in list of libraries in Eclipse.
We have a tool named "java-config" which can do all these and written in
Python. Jython may help you to easily integrate Java and Python (There
was some project of Eclise that would result in writing plugins in other
languages but I don't know its current status) It also has a cli
frontend which you may consider as an alternative. You could also
directly parse package.env files installed with every Java package. (I
think you already have Java packages in your Gentoo system which you may
take a look)
> 
> 
> 
>> 2. let  PackageKit to work with Portage in order to automatically
>> download missed system library based on imports declaration when the
>> user is coding.
> I didn't plan this as part of the project. Please explain this in more details.
> ----------------------PackageKit is a package management tool that can
> use apt, yum, pcman etc as its back-end.Now I don't know if  it can
> use emerge backend and I'll verify it later.This part of job's mainly
> function can be described as the following use case:
> User A is coding in eclipse. He/She typed "import A.B.C.D;",which is a
> class/package in one of the System library but the library has not
> installed on the machine(of course ,portage tree should contains the
> library's ebuilds). Then thanks to the this part of the job, it is
> automactically downloaded and installed.
> I've also don't clear why  PackageKit should be used(I think revoking
> emerge is sufficient,though I'm not very sure,and what your opionion
> is?) Since PackageKit is metioned in idealist, so there should be some
>  reasons I not know for using it?
> Anyway, I believe addressing this use case letting it doing
> automatically is very meaningful, even PackageKit doesn't been
> used(just invoking emerge).
I don't understand how you plan to proceed with this. There's no Java
package to Gentoo package mapping anywhere and even if that can be done
that should be a central tinderbox that merges packages and creates a
list of classes installed with it.
> 
> 
> PS.
> According to the idealist page ,I am required to take the action of "
> fix a real bug reported in Bugzilla to show that I can use the tools
> to make a meaningful change" before application and said my contract
> can help me determine which SCM and repository I should use for this.
> Would you mind help that tell me which SCM and repository and guide me
> instrctions to fix a proper bug?
> 
> Thanks a lot.
Here's a good alternative for you.
http://bugs.gentoo.org/show_bug.cgi?id=179853

It's a trivial bug in java-config, which you will be interacting with
for this project.
> 
> Best Regards,
> Kyle Pan
> 
> 
> 

- -- 
Sincerely,
Serkan KABA
Gentoo Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2TWXsACgkQRh6X64ivZaL1zwCdEzZmLtKrnzBiDzr25rmS8gzj
G44An1sNAfOYjtrv1ge1wKIPc1d4VeWI
=bNgN
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-soc] interested in Gentoo/Java IDE integration
  2011-03-30 15:25   ` Kyle Pan
  2011-03-30 16:25     ` Serkan Kaba
@ 2011-03-31  1:49     ` Brian Dolbec
  2011-04-03 15:42       ` Kyle Pan
  1 sibling, 1 reply; 7+ messages in thread
From: Brian Dolbec @ 2011-03-31  1:49 UTC (permalink / raw
  To: gentoo-soc

[-- Attachment #1: Type: text/plain, Size: 3362 bytes --]

On Wed, 2011-03-30 at 15:25 +0000, Kyle Pan wrote:
> Hi Serkan,
> 
> Firstly many thanks for your kind and quick reply:)
> 
> > 1. get to know the mechanism of how eclipse in gentoo  finding system
> > library currently and fix it.(or develop a plug-in to find system
> > library? )( currently I'm still not clear how eclipse in gentoo find
> > system libraries.I'm going to investigate it if this  is right way to
> > the project)
> Yes, that's what I have in mind. We can already enumerate a list of
> installed libraries along with what jars, jni libs,source code javadoc
> it has. We can also get a list of dependencies of a library as well.
> This is mostly Python code and Portage is also in Python. Jython may
> help you in integration here.
> 
> ---------I don't know whether this understanding is correct or not:
> the code that already have for emuerating a list of installed
> libraries(along with other things required) is writen in Python. And I
> can use the result of this code. And Could you expain more detail
> about "Python may help me integration".
> And also, Could you kindly give me an use case of this part of
> job(just like my explain the 2nd part blow), I think it would be very
> helpful to me to catch it more clearly and correctly:)
> 
> 
> 
> > 2. let  PackageKit to work with Portage in order to automatically
> > download missed system library based on imports declaration when the
> > user is coding.
> I didn't plan this as part of the project. Please explain this in more details.
> ----------------------PackageKit is a package management tool that can
> use apt, yum, pcman etc as its back-end.Now I don't know if  it can
> use emerge backend and I'll verify it later.This part of job's mainly
> function can be described as the following use case:
> User A is coding in eclipse. He/She typed "import A.B.C.D;",which is a
> class/package in one of the System library but the library has not
> installed on the machine(of course ,portage tree should contains the
> library's ebuilds). Then thanks to the this part of the job, it is
> automactically downloaded and installed.
> I've also don't clear why  PackageKit should be used(I think revoking
> emerge is sufficient,though I'm not very sure,and what your opionion
> is?) Since PackageKit is metioned in idealist, so there should be some
>  reasons I not know for using it?
> Anyway, I believe addressing this use case letting it doing
> automatically is very meaningful, even PackageKit doesn't been
> used(just invoking emerge).
> 
> 

Packagekit already has a portage backend, so it can be used on a gentoo
system.  But I believe you have the wrong info there about needing to
use packagekit.  I would go with what Serkan says about java
dependencies and how they map to gentoo packages.



> PS.
> According to the idealist page ,I am required to take the action of "
> fix a real bug reported in Bugzilla to show that I can use the tools
> to make a meaningful change" before application and said my contract
> can help me determine which SCM and repository I should use for this.
> Would you mind help that tell me which SCM and repository and guide me
> instrctions to fix a proper bug?
> 
> Thanks a lot.
> 
> Best Regards,
> Kyle Pan
> 
> 
> 


-- 
Brian Dolbec <brian.dolbec@gmail.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-soc] interested in Gentoo/Java IDE integration
  2011-03-31  1:49     ` Brian Dolbec
@ 2011-04-03 15:42       ` Kyle Pan
  2011-04-07  1:15         ` Kyle Pan
  0 siblings, 1 reply; 7+ messages in thread
From: Kyle Pan @ 2011-04-03 15:42 UTC (permalink / raw
  To: gentoo-soc

Thanks for your kind suggestions,Serkan & Brian


In the past few days(and it's not full-time,I've also had other works
to do) I dived into the java-config tool I'll be interacting according
to Serkan and fixed the
bug(http://bugs.gentoo.org/show_bug.cgi?id=179853,  please verify,dear
mentors:)). Though it's rather a simple bug,it's worth the effort to a
person totally new to Python.I've had no experience of Python before.
I think I'm able to be leaning quickly ;) .And it's good for the
project that now I'm know java-config in depth.

Since I started a little late, it's getting a little tight time in
application deadline..but I think things went on smoothly as my plan
and I have the confidence that I can develop a well application at
last. Since there about needing to use PackageKit is wrong info...So I
think I can just focus on the 1st part of job and try to do it better.
My next step is one or more two day researching to get a clearer
picture of this project. I'll post them here for disscussion soon.

Serkan, Brian and any other people.Thank you for your help and hope
you can continue to encourage me and kindly help me when I have
questinons..:)

I'll continue working hard.

Thanks.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-soc] interested in Gentoo/Java IDE integration
  2011-04-03 15:42       ` Kyle Pan
@ 2011-04-07  1:15         ` Kyle Pan
  0 siblings, 0 replies; 7+ messages in thread
From: Kyle Pan @ 2011-04-07  1:15 UTC (permalink / raw
  To: gentoo-soc

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

Hi All,

I've submitted my proposal------"Java IDE integration".  I will appreciate
if you devs/mentors can kindly give me your comments and advices.

I've also updated the bug(http://bugs.gentoo.org/show_bug.cgi?id=179853),
using scm(svn) diff as required, to demonstrate ability to use standard scm
tool.

Thanks,
Kyle Pan

[-- Attachment #2: Type: text/html, Size: 666 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-04-07  1:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-30 13:35 [gentoo-soc] interested in Gentoo/Java IDE integration 潘佳乐
2011-03-30 13:53 ` Serkan Kaba
2011-03-30 15:25   ` Kyle Pan
2011-03-30 16:25     ` Serkan Kaba
2011-03-31  1:49     ` Brian Dolbec
2011-04-03 15:42       ` Kyle Pan
2011-04-07  1:15         ` Kyle Pan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox