Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8607] MobileWeb: Packaging: all javascript files are duplicated with "uncompressed" in filename

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2012-04-10T16:06:28.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.2, Release 2.0.1
Fix Version/sn/a
ComponentsMobileWeb
Labelsparity, regression
ReporterDustin Hyde
AssigneeChris Barber
Created2012-04-06T10:42:50.000+0000
Updated2013-05-01T20:15:01.000+0000

Description

When a project is packaged for production, every javascript file is duplicated and the duplicate contains "uncompressed" in the filename. This does not occur in 1.8.1. This does not occur when "previewed in browser". This also does not occur in iOS or Android, so any apps using the filesystem would behave differently in a MobileWeb production. Steps to Reproduce: 1. Create a new project. 2. Package for distribution. 3. Navigate to package directory. Expected Result: There should only be one copy of each javascript file. Actual Result: There are two copies of each javascript file, one containing "uncompressed" in the filename.

Attachments

FileDateSize
1.8.1.png2012-04-06T10:42:50.000+000052298
1.8.2+.png2012-04-06T10:42:50.000+000053909

Comments

  1. Chris Barber 2012-04-10

    This is by design. The idea is when you do a production build, the original uncompressed version is kept. If you run into a tricky bug, you can always restore the uncompressed file and see where it is causing problems. We have already planned to have a build profile setting "keep-uncompressed" that will remove those uncompressed files when set to false.
  2. Dustin Hyde 2013-05-01

    Closing.

JSON Source