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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to