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 ECBA5E22C for ; Fri, 14 Dec 2012 06:22:19 +0000 (UTC) Received: (qmail 3825 invoked by uid 500); 14 Dec 2012 06:22:18 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 2826 invoked by uid 500); 14 Dec 2012 06:22:17 -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 2598 invoked by uid 99); 14 Dec 2012 06:22:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 06:22:14 +0000 Date: Fri, 14 Dec 2012 06:22:14 +0000 (UTC) From: "Maximilien Wiktorowski (JIRA)" To: flex-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33294) Apache Flex Mavenized SDK Generator rb.swc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33294?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1353= 2085#comment-13532085 ]=20 Maximilien Wiktorowski commented on FLEX-33294: ----------------------------------------------- Hi, I confirm that just adding an entry bypass the problem protected void writeDummyResourceBundleSwc(final File targetFile) throws Ex= ception { =09=09final ZipOutputStream out =3D new ZipOutputStream(new FileOutputStrea= m(targetFile)); =09=09out.putNextEntry(new ZipEntry("hack")); =09=09out.close(); } =20 > Apache Flex Mavenized SDK Generator rb.swc > ------------------------------------------ > > Key: FLEX-33294 > URL: https://issues.apache.org/jira/browse/FLEX-33294 > Project: Apache Flex > Issue Type: Bug > Components: Installation & Packaging > Affects Versions: InstalApacheFlex 1.0 > Environment: Windows > Reporter: Jose Barragan > > Testing the SDKGenerator in windows, with flex and air sdk just downloade= d from Adobe, I got this error: > Microsoft Windows XP [Versi=C3=B3n 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > C:\Documents and Settings\Administrador>java -cp c:\flex-sdk-converter-1.= 0.jar SDKGenerator "c:\Archivos de programa\Adobe\sdk" "c:\Archivos de prog= rama\Adobe\fdk" > --------------------------------------------- > -- Generating Air SDK version: 3.5 > --------------------------------------------- > --------------------------------------------- > --------------------------------------------- > -- Generating Air SDK version: 3.1 > --------------------------------------------- > --------------------------------------------- > --------------------------------------------- > -- Generating Flex SDK version: 4.6.0.23201 > --------------------------------------------- > Trying to create weird rd.swc zip: c:\Archivos de programa\Adobe\fdk\com\= adobe\flex\framework\air\airspark\4.6.0.23201\airspark-4.6.0.23201.rb.swc > Exception in thread "main" java.util.zip.ZipException: ZIP file must have= at least one entry > at java.util.zip.ZipOutputStream.finish(Unknown Source) > at java.util.zip.DeflaterOutputStream.close(Unknown Source) > at java.util.zip.ZipOutputStream.close(Unknown Source) > at flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFr= ameworkGenerator.java:580) > at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.jav= a:178) > at SDKGenerator.generateFlex(SDKGenerator.java:120) > at SDKGenerator.generateAllFlex(SDKGenerator.java:108) > at SDKGenerator.main(SDKGenerator.java:148) > C:\Documents and Settings\Administrador> > I did include an extra log line on: > protected void writeDummyResourceBundleSwc(final File targetFile) thr= ows Exception { > =09=09final ZipOutputStream out =3D new ZipOutputStream(new FileOutputStr= eam(targetFile)); > System.out.append("Trying to create weird rd.swc zip: " + targetFile.g= etAbsolutePath() + "\n"); > =09=09out.close(); > } > But in this case, I don't have idea of whats wrong, for now ;) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira