Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D20D9DAA for ; Wed, 18 Apr 2012 17:21:27 +0000 (UTC) Received: (qmail 65201 invoked by uid 500); 18 Apr 2012 17:21:26 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 65170 invoked by uid 500); 18 Apr 2012 17:21:26 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 65161 invoked by uid 99); 18 Apr 2012 17:21:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:21:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of omarg.developer@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:21:20 +0000 Received: by wera1 with SMTP id a1so4925582wer.6 for ; Wed, 18 Apr 2012 10:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qxMyMT9fryM3Yne/RilVYgxEWLXBWpgReIJGjJe3Rwk=; b=l/8Rnu153N5b/j4j9Jiqm+xCFCgaU8Q8no5ksSoEpG0xqZ9PsBqd+Ckpa3r7PTtTZ0 cCPQj7TigChvj35cNB74KIDpctKnfns9KmpXlMpegjqQ/1VncLbap5bz9lbAureYWMbq NtjzKk3qHEgFip6Nqc4Hu/YDcVNEVTUZumhlmENFT+DviQgLu2Eu6xSSKUzWiiHjYw31 b4/PCGQhRA4P0kdTatcph2UXHmZmv8aK2P28jOaJXlRXjk55zMqs42THMdbvc+sgBXF/ 0vKzLhIfbCDbS0/xLWAGhTez3vnT8kqneAx34er22Cj1crGnZJeutHsZVoSONwUBVlau NkJQ== MIME-Version: 1.0 Received: by 10.180.101.230 with SMTP id fj6mr18847918wib.13.1334769659055; Wed, 18 Apr 2012 10:20:59 -0700 (PDT) Received: by 10.180.3.73 with HTTP; Wed, 18 Apr 2012 10:20:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Apr 2012 10:20:59 -0700 Message-ID: Subject: Re: Building the SDK with Java 7 From: Omar Gonzalez To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0442879e628fc604bdf7478f X-Virus-Checked: Checked by ClamAV on apache.org --f46d0442879e628fc604bdf7478f Content-Type: text/plain; charset=ISO-8859-1 HI Christophe, Thanks for the changes! Unfortunately, I don't see the patch file attached. Can you please post it on the JIRA as an issue and add the attachment there? That way we can make sure it makes it through the email filters and we have a JIRA issue someone can address and add to the patches branch. https://issues.apache.org/jira/browse/FLEX Thanks again! -s9tpepper@apache.org On Wed, Apr 18, 2012 at 10:14 AM, Christophe Herreman < christophe.herreman@gmail.com> wrote: > Hi all, > > I've changed the SDK a bit to be able to build it with Java 7. Everything > seems to compile, although that is no guarantee that things will actually > work. > > The main problem is the Batik dependency. The version used by the trunk > version is 1.6. When building with Java 7, this results in some compiler > errors for classes in the com.sun.* packages. So I've updated the build > scripts to use Batik version 1.7 (there is an option to NOT use the Sun > classes in the build file of that version) and resolved some more compiler > issues (missing dependency xml-apis-ext.jar, API changes in the > dependencies). > > Attached is a patch with the changes. Please try this out if you have a > moment and let me know if this works for you. These changes are compatible > with Java 6, so when applying the patch you should still be able to build > the SDK without changing your Java installation. > > cheers, > Christophe > > -- > Christophe Herreman > http://www.herrodius.com > http://www.springactionscript.org > http://www.as3commons.org > --f46d0442879e628fc604bdf7478f--