Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14781] BlackBerry: Project file timestamps are changed after building for BlackBerry

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-08T22:00:39.000+0000
Affected Version/sRelease 3.1.1, Release 3.1.2
Fix Version/s2013 Sprint 16, 2013 Sprint 16 API, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsqe-3.1.2, qe-closed-3.1.2, qe-testadded
ReporterFederico Casali
AssigneeRussell McMahon
Created2013-08-07T22:11:36.000+0000
Updated2014-02-21T00:04:14.000+0000

Description

Problem description

After building a BlackBerry project, all project files timestamps are updated to the build time. No other changes seem to take place.

Steps to reproduce

1. Create a project and make a copy. 2. Build the project for BlackBerry (either from CLI or from Appcelerator Studio). Perform a diff between the 2 projects files (for example all files in the 'app' folders for Alloy projects). Result: no differences are reported. 3. Perform an md5 and compare the checksum of a project file and his copy. Result: md5 checksum are identical. 4. Check timestamps of the built project files. Result: files are reporting all timestamps are being modified (Created, Modified and Last Opened). 5. Build for Android Result: no modification is made to project files timestamps.

Note

Issue is reproducible also with CLI and TiSDK 3.1.1 GA. Not a regression.

Appcelerator Studio behavior

Using Appcelerator Studio, I've experienced a inconsistent behavior. If there are opened project files, the user is usually being being prompted with a message reporting that the file has been modified and should be reloaded (there are no content code differences). However this behavior seems to be inconsistent or intermittent and it happened that no popup message has been displayed.

Comments

  1. Russell McMahon 2013-08-08

  2. Russell McMahon 2013-08-08

    easy fix - just a few lines https://github.com/appcelerator/titanium_mobile_blackberry/pull/154
  3. Federico Casali 2013-08-09

    Verified fixed. Titanium SDK 3.1.2.v20130808180613 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308071912 CLI 3.1.2-alpha Node 0.10.13 Closing.

JSON Source