* [gentoo-soc] Gsoc: Gentoo/Java integration Project Weekly report #!
@ 2011-05-22 15:28 Jiale Pan (Kyle Pan)
0 siblings, 0 replies; only message in thread
From: Jiale Pan (Kyle Pan) @ 2011-05-22 15:28 UTC (permalink / raw
To: gentoo-soc; +Cc: Serkan Kaba
Hi All,
My name is Kylepan and I'm working on Gentoo/Java integration Project.
This is my first weekly report.
Here is the brief introduction of my project:
---------------------------------------------------------------------
The project includes an improvement to current java-config and a new
eclipse-plugin. The plug-in, which when clicked, lists system installed
java libraries for users to select and import into projects. This avoids
user manually browses and locates system installed libraries, making
developing more efficient and comfortable. The existing tool
java-config, with some necessary improvements, is chosen as the data
retrieval backend of this project. Jython is used to integrate
java-config to the plug-in.This project will mainly benefit developers
using eclipse, and due to planned work on improvements to java-config,
it will benefit java-config project and even non-developer gentoo users
as well.
----------------------------------------------------------------------
During the past few days I was devoting to the first step of my project
--write a demo querying a variable of a java packge's package.env, whose
function will be used in my project. And now the demo is completed and
you can check in the
repo(http://overlays.gentoo.org/svn/proj/java/projects/GenEclipse/trunk/) .
It's an Eclipse project and should use my modified branch of
java-config(
http://overlays.gentoo.org/svn/proj/java/projects/java-config-2/branches/kylepan/java-config-2.1.9999k.ebuild)
issues:
All issues are about compatibility and seem a bit annoying:
As this project uses Jython to interpret python code, and the latest
Jython implements Python 2.5 syntax.
The snippet of code like:
except UnexistingPackageError as e ( accepted in Python 2.6 and 3.1)
complains in Python 2.5.
while using:
except UnexistingPackageError, e (accepted in Python 2.5 and 2.6)
complains in Python 3.1
Since I have to use Jython , I have to use the later syntax, and it
causes the errors in emerging my branch of java-config:
--------------------
* Compilation and optimization of Python modules for CPython 2.6 ...
* Compilation and optimization of Python modules for CPython 3.1 ...
*** Error compiling
/usr/lib64/python3.1/site-packages/java_config_2/EnvironmentManager.py ...
File
"/usr/lib64/python3.1/site-packages/java_config_2/EnvironmentManager.py", line
59
except InvalidVMError, ex:
^
SyntaxError: invalid syntax
<<<
/usr/lib64/python3.1/site-packages/java_config_2/EnvironmentManager.py[co [
!! ]
* Updating desktop mime database ...
----------------------
One solution I think is directly patch the src before
"* Compilation and optimization of Python modules for CPython 3.1 ..."
So I would like to ask suggestions that is it feasible and acceptable?
Plans:
My plans for next week:
1. to solve that issue.
2. to add the query javadoc function to java-config
--
Best regards,
Jiale Pan(Kyle Pan)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-22 15:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-22 15:28 [gentoo-soc] Gsoc: Gentoo/Java integration Project Weekly report #! Jiale Pan (Kyle Pan)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox