cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JennyGee (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-5940) build includes src\options file which includes build-host path information
Date Wed, 29 Jan 2014 20:56:12 GMT
JennyGee created CB-5940:
----------------------------

             Summary: build includes src\options file which includes build-host path information
                 Key: CB-5940
                 URL: https://issues.apache.org/jira/browse/CB-5940
             Project: Apache Cordova
          Issue Type: Bug
          Components: BlackBerry
            Reporter: JennyGee


cordova-blackberry's build script writes a file named "src\options" which contains the files
that it sends to the blackberry-nativepackager to be packaged in the bar.

Unfortunately, one of the files listed is src\options, which means that the packager packages
the list of files to be packaged, which includes their local file system paths:

C:\Users\jgee\WebWorks Projects\bb>cordova build blackberry10 >nul 2>nul
C:\Users\jgee\WebWorks Projects\bb>unzip -p platforms\blackberry10\build\device\bb10app.bar
native/options
-package
-devMode
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\device\bb10app.bar
-barVersion
1.5
-C
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src
bar-descriptor.xml
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\config.xml
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\cordova.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\cordova_plugins.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\default-icon.png
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\index.html
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\options
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\wwe
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\chrome\frameworkModules.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\chrome\index.html
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\chrome\require.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\chrome\ui.html
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\chrome\lib\exception.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\chrome\lib\utils.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\css\index.css
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\img\logo.png
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\js\index.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\plugins\com.blackberry.app\www\client.js
C:\Users\jgee\WebWorks Projects\bb\platforms\blackberry10\build\src\plugins\jnext\auth.txt

Either this file needs to live in a directory outside `src`, or when the file is built, it
needs to exclude `src\options` or, the file needs to live outside `src` so that it won't be
indexed when building itself and would thus not be included in the archive.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message