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 78FAACEDE for ; Tue, 5 Jun 2012 13:05:34 +0000 (UTC) Received: (qmail 23233 invoked by uid 500); 5 Jun 2012 13:05:33 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 23194 invoked by uid 500); 5 Jun 2012 13:05:33 -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 23186 invoked by uid 99); 5 Jun 2012 13:05:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2012 13:05:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carlos.rovira@gmail.com designates 209.85.161.175 as permitted sender) Received: from [209.85.161.175] (HELO mail-gg0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2012 13:05:27 +0000 Received: by ggnp4 with SMTP id p4so3892569ggn.6 for ; Tue, 05 Jun 2012 06:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YnZExVsUkw4FAoFkfPbQ8u7UouHT1eiiFfUvPTmxwSs=; b=JZ3VvsUbGUGoAKFaVZMwKSn4YMbkaFYZQHb03+WAl5lYNYR8OCxwZtHbC8EDpcVxKz DCxqHhV8tRPiODVRv1JSVr+X4ldEoU/hoc6C0Cithobk+KM6jzUQLseKBOjENT+bbdAq +c2EZDcsogOqw30j3Q3kfiU0vxQMhr6WDWWuHRt2p5/D90S12I2TSNPvE+k6mEi+Oe+v zXIQIUGGLLXWHV6ZZTLvp7gi+a47tj5MM1WI4y9LrK0WwclxFPKqrmxRF7IjVe6TSn1q SuR6KWn/6Pwb9W6IFSXXOO5t9CQty+EPs0NyBnI1Ei0MHXD8c5hULTuMcHfpcm2pIXRL Zg7w== MIME-Version: 1.0 Received: by 10.236.155.41 with SMTP id i29mr11238874yhk.115.1338901506538; Tue, 05 Jun 2012 06:05:06 -0700 (PDT) Sender: carlos.rovira@gmail.com Received: by 10.101.97.15 with HTTP; Tue, 5 Jun 2012 06:05:06 -0700 (PDT) In-Reply-To: References: <292360662.1710.1334771920166.JavaMail.tomcat@hel.zones.apache.org> <1627020829.39240.1338899363399.JavaMail.jiratomcat@issues-vm> Date: Tue, 5 Jun 2012 15:05:06 +0200 X-Google-Sender-Auth: Ijrp0zU9GmQOGeZGGasBBwlpW60 Message-ID: Subject: Re: [jira] [Commented] (FLEX-48) Building the SDK with Java 7 From: Carlos Rovira To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf303f6e82afbbad04c1b94cca --20cf303f6e82afbbad04c1b94cca Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hav you tried to use "-tsa none" (I think this was the setting to not use the timestamp) 2012/6/5 Dirk Eismann > Hey, > > FYI, this is not necessarily a JDK / runtime problem. It could also > just mean that the remote timestamp server is not accessible. IIRC > there was a thread somewhere sometime ago on another mailing list > about this topic and how to solve it. I will look it up. > > End of the story is that the same can happen in Flash Builder as well > when packaging with timestamp (happened to me quite often a few times > and then worked fine since then) > > Dirk. > > 2012/6/5 Christofer Dutz (JIRA) : > > > > [ > https://issues.apache.org/jira/browse/FLEX-48?page=3Dcom.atlassian.jira.p= lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13289368#co= mment-13289368] > > > > Christofer Dutz commented on FLEX-48: > > ------------------------------------- > > > > I was just working on Flexmojos to support JDK 1.7 and stumbled over a > problem with the Air ApplicationPackager ... I know that this is not real= ly > related to "building" the SDK with 1.7 but in "using" it with 1.7, but I > thought my report should fit here: > > > > As soon as I am using the ApplicationPackager with JDK 1.7 I am getting > the following exception: > > > > Caused by: com.adobe.pki.TimestampException: Could not generate > timestamp: handshake alert: unrecognized_name > > at com.adobe.ucf.UCFSigner.getTimeStampFromURL(UCFSigner.java:38= 1) > > at > com.adobe.ucf.UCFSigner.computeSignatureTimestamp(UCFSigner.java:343) > > at com.adobe.ucf.UCFSigner.createTimestampXML(UCFSigner.java:297= ) > > at com.adobe.ucf.UCFSigner.getSignatureXML(UCFSigner.java:177) > > at > com.adobe.ucf.UCFOutputStream.finalizeSig(UCFOutputStream.java:343) > > at > com.adobe.air.AIROutputStream.finalizeSig(AIROutputStream.java:157) > > at > com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:= 87) > > at > net.flexmojos.oss.plugin.air.packager.FlexmojosAIRPackager.createPackage(= FlexmojosAIRPackager.java:59) > > at > net.flexmojos.oss.plugin.air.SignAirMojo.doPackage(SignAirMojo.java:327) > > ... 26 more > > > > I guess it would be good to add UCFSigner to the list of potentially > non-1.7-compilant components. > > > >> Building the SDK with Java 7 > >> ---------------------------- > >> > >> Key: FLEX-48 > >> URL: https://issues.apache.org/jira/browse/FLEX-48 > >> Project: Apache Flex > >> Issue Type: Improvement > >> Reporter: Christophe Herreman > >> Assignee: Bertrand Delacretaz > >> Attachments: ImageCacher.patch, SpriteTranscoder.patch, > downloads.patch, java-7.patch, modules-build.xml.patch, > modules-compiler-build.xml.patch, modules-thirdparty-batik-build.xml.patc= h > >> > >> > >> 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 wi= ll > actually work. > >> The main problem is the Batik dependency. The version used by the trun= k > 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 > compilation issues (missing dependency xml-apis-ext.jar, API changes in t= he > 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 compatibl= e > with Java 6, so when applying the patch you should still be able to build > the SDK without changing your Java installation. > > > > -- > > This message is automatically generated by JIRA. > > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > > For more information on JIRA, see: > http://www.atlassian.com/software/jira > > > > > --=20 Carlos Rovira Director de Tecnolog=EDa M: +34 607 22 60 05 F: +34 912 35 57 77 CODEOSCOPIC S.A. Avd. del General Per=F3n, 32 Planta 10, Puertas P-Q 28020 Madrid --20cf303f6e82afbbad04c1b94cca--