You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/08/30 07:36:59 UTC

[royale-compiler] branch develop updated: theme swc assets was only copying to debug folder. this copies to release folder too. But still we need to copy "assets" files in project to release folder too

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new c059e74  theme swc assets was only copying to debug folder. this copies to release folder too. But still we need to copy "assets" files in project to release folder too
c059e74 is described below

commit c059e741f44b8e4b50fb2fcada4efd1d3ccd75e0
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Aug 30 09:36:54 2018 +0200

    theme swc assets was only copying to debug folder. this copies to release folder too. But still we need to copy "assets" files in project to release folder too
---
 .../compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
index e93ddfd..dff2c89 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
@@ -255,6 +255,7 @@ public class MXMLRoyalePublisher extends JSGoogPublisher implements IJSPublisher
 	                        	total += is.read(data, total, n - total);
 	                        }
 	                        FileUtils.writeByteArrayToFile(new File(intermediateDir, key), data);
+	                        FileUtils.writeByteArrayToFile(new File(releaseDir, key), data);
 	                    }
 	                }
 	            }