Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Big packages: locally imported plugins' source code not removed

Luca_F_
Novice
611 Views

Hi,
I downloaded my app built for Android, ios and Windows platforms and I noticed that their package size was bigger than expected.

Respectively unzipping  apk, ipa and zip files, I found out two problems:

  1. duplicated icons and splashscreen of all platforms are copied into destination www folder (or subfolder).
  2. the source code of my locally imported plugins is not stripped away from the final package.

To fix the first issue, I just placed those images in a folder whose name starts with a dot (i.e. "www\.sys\res\icon\" and "www\.sys\res\screen\"):
so not needed icons and splashscreens are correctly removed from the package.

But I'm not able to remove the plugins source code: if my folder structure is as following

www\plugins\localplugin1\<full source code here>
www\plugins\localplugin2\<full source code here>

in the built package I get

www\plugins\localplugin1\<full source code here>
www\plugins\localplugin2\<full source code here>
www\plugins\www.localplugin1.id\<platform js here>
www\plugins\www.localplugin2.id\<platform js here>

This issue is present in packages built since the last month.
Is there any workaround (or a post-build command) to "delete" local plugin folders before building the package?

Thanks
CtwDev
 

0 Kudos
2 Replies
Eric_H_Intel
Employee
611 Views

The plugins should be removed from the build.   I will take a look and get back to you.

Eric

 

0 Kudos
Luca_F_
Novice
611 Views

Any news?

Thanks
CtwDev

0 Kudos
Reply