cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Kirbatski (JIRA)" <>
Subject [jira] [Commented] (CB-11623) --link-to no longer seems to be working
Date Tue, 29 Nov 2016 19:02:58 GMT


Kyle Kirbatski commented on CB-11623:

Sorry for the late reply. I just tested it and it doesn't seem to be working. The www folder
is still being created. Here is the output from the command:

kkirbatski$ cordova create /absolute/path/to/project io.cordova.hellocordova HelloCordova
--verbose --link-to=/absolute/path/to/frontend
Warning: using prerelease version 6.4.1-nightly.2016.11.29.0dad8c6d (cordova-lib@6.4.1-nightly.2016.11.29.9af68fe4)
Using detached cordova-create
Creating a new cordova project.
Symlinking assets.
index.js does not specify valid sub-directory: /absolute/path/to/frontend

It looks like I now have to specify the --link-to argument to the parent folder and add the
following to that folder as "index.js":

module.exports = {
	"dirname": __dirname + "/frontend"

I'm unsure if this is expected functionality or not, but it's certainly not how it used to

> --link-to no longer seems to be working
> ---------------------------------------
>                 Key: CB-11623
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, CordovaLib
>    Affects Versions: 6.3.0
>         Environment: Windows 10, Windows Command Prompt
>            Reporter: Graham Harper
>            Assignee: Steve Gill
>              Labels: triaged
> We have a build script for installing and building Cordova from source control that begins
with the line:
> cordova create bin com.example.domain APPNAME --link-to=www
> Where www is our existing app code (html, css, js etc.)
> We've been running this build script on new deployments just fine for 6 months or so,
and its behaviour until this version has been to create a simlink in the newly-created 'bin'
folder to our existing app in 'www'; however, as of 6.3.0 this is no longer working. The command
creates the bin folder, but it only contains the default 'Hello Cordova' application.
> --copy-from still seems to be working (although is marked as deprecated), so we can work
around this issue, but it's not appropriate for our deployment and development process.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message