From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QOAbu-0006OG-CF for garchives@archives.gentoo.org; Sun, 22 May 2011 15:30:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C370E0549; Sun, 22 May 2011 15:30:13 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 2D742E0549 for ; Sun, 22 May 2011 15:30:12 +0000 (UTC) Received: by pwj5 with SMTP id 5so3642964pwj.40 for ; Sun, 22 May 2011 08:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=lO/W7O+NJU8vI02r5pj3WiExcShSmcDVN78t44e0V7Y=; b=ZpCGOhOSed2rmOFsx6aVjNmMQJh1B7KF+vg1vo3CuCLXc5OaCoVGeqLKIMw9as8krw wQJJYNIOG8Bp6p8CeT8a0F6pOMOav7VDMvbDOul5CwKxPBzokbH/+CS7r5spZLtatNtn tgMxV+YBoZ36WBgep6J51agwrSW+9k1UqCw6c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=hB/1ErGWX0VIBCo7nM4s/rPrz01rwgfqdJVc+3kiPHiL2FvqksiA9ElOROU40jg9Bz PL/8UdmbntIQssSwr24tOtSGLwQsfxlhF50oThw4fVgte6c1A2iNc7lvrjsz3cMoZFir k/nqbjMcTk6mlrZFe1XSXC5D2dHVdhhiEk46c= Received: by 10.142.207.20 with SMTP id e20mr736284wfg.129.1306078212420; Sun, 22 May 2011 08:30:12 -0700 (PDT) Received: from [202.117.15.40] ([117.32.153.155]) by mx.google.com with ESMTPS id x11sm5055246wfd.1.2011.05.22.08.30.08 (version=SSLv3 cipher=OTHER); Sun, 22 May 2011 08:30:11 -0700 (PDT) Message-ID: <4DD92B89.5040405@gmail.com> Date: Sun, 22 May 2011 23:28:09 +0800 From: "Jiale Pan (Kyle Pan)" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110521 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 To: gentoo-soc@lists.gentoo.org CC: Serkan Kaba Subject: [gentoo-soc] Gsoc: Gentoo/Java integration Project Weekly report #! Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 72654bc8b65293f0ea1debfd3cda268a 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)