[ 
https://issues.apache.org/jira/browse/FLEX-33294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529067#comment-13529067
 ] 

Jose Barragan commented on FLEX-33294:
--------------------------------------

The guy solution must not be very stable:
Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrador>"c:\Archivos de 
programa\Java\jdk1.6.0_35\jre\bin\java.exe" -cp c:\flex-sdk-converter-1.0.jar 
SDKGenerator "c:\Archivos de programa\Adobe\sdk" "c:\Archivos de 
programa\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(ZipOutputStream.java:304)
        at 
java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:140)
        at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)
        at 
flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFrameworkGenerator.java:580)
        at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java:178)
        at SDKGenerator.generateFlex(SDKGenerator.java:120)
        at SDKGenerator.generateAllFlex(SDKGenerator.java:108)
        at SDKGenerator.main(SDKGenerator.java:148)

C:\Documents and Settings\Administrador>

You solution seems the best way, all yours! :P
                
> 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 downloaded 
> from Adobe, I got this error:
> Microsoft Windows XP [Versión 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 programa\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(FlexFrameworkGenerator.java:580)
>         at 
> flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java: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) throws 
> Exception {
>               final ZipOutputStream out = new ZipOutputStream(new 
> FileOutputStream(targetFile));
>    System.out.append("Trying to create weird rd.swc zip: " + 
> targetFile.getAbsolutePath() + "\n");
>               out.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 administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to