cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-13614) Asset tag create only works if file is targeted to root directory
Date Wed, 29 Nov 2017 17:52:00 GMT

     [ https://issues.apache.org/jira/browse/CB-13614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

George Campbell updated CB-13614:
---------------------------------
    Description: 
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 described by the plugin.xml documentation:

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

  was:
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


> 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 described 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


Mime
View raw message