You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "George Campbell (JIRA)" <ji...@apache.org> on 2017/11/29 17:50:00 UTC

[jira] [Created] (CB-13614) Asset tag create only works if file is targeted to root directory

George Campbell created CB-13614:
------------------------------------

             Summary: Asset tag create only works if file is targeted to root directory
                 Key: CB-13614
                 URL: https://issues.apache.org/jira/browse/CB-13614
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-browser
    Affects Versions: Master, 5.0.1
            Reporter: George Campbell
            Assignee: Jesse MacFadyen
             Fix For: 5.0.1


Inside a plugin.xml file, 

<asset src="www/style/inappbrowser.css" target="style/inappbrowser.css"/>

results in:

cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/campbelg/IdeaProjects/wms-circ-app/platforms/browser/platform_www/style/inappbrowser.css

Related to CB-13562, which fixed the case of an asset file whose target was the root directory. This bug is for assets whose target contains a directory.

The expected behavior is descrbied by the plugin.xml documentation:

https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#asset



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org