ludei / cocoonjs-cli

CocoonJS command line tool
Other
46 stars 7 forks source link

Spaces in project directory leads to plugin add failure. #13

Open agamemnus opened 10 years ago

agamemnus commented 10 years ago

Not sure if cordova or cocoonjs-cli.

EG:

"D:\My Documents\myproject\"

ludei commented 10 years ago

Which version are you using?

$ cocoonjs --version

agamemnus commented 10 years ago

(Edit: actually this seems to be a Webview+ build file error, not a CLI error. My bad. Other plugins don't error out.)

1.0.0-0.5.0.

It fails with the ant release command.

[CocoonJS] Executing 'ant release -buildfile D:\My Documents\myproject\plugins\com.ludei.webview.plus\android\build.xml'

Compiles with a relative directory in the same space.

ludei commented 10 years ago

Can you paste the log of the following command?

$ cocoonjs plugin add com.ludei.webview.plus -d

agamemnus commented 10 years ago

Sorry, I just updated the text above... but, here:

D:\My Documents\MyProject>cocoonjs plugin add com.ludei.webview.plus -d
[CocoonJS] Executing command 'plugin add com.ludei.webview.plus -d'
[CocoonJS] Installing Webview+ in your Cordova Project.
[CocoonJS] Downloading Webview+...
Fetching plugin "com.ludei.webview.plus" via plugin registry
Plugin "com.ludei.webview.plus" already installed on android.
[CocoonJS] Executing 'ant release -buildfile D:\My Documents\MyProject\plugins\com.ludei.webview.plus\android\build.xml'
Buildfile: D:\My does not exist!
Build failed
[CocoonJS] Cannot build Webview+ project