cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-11623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706206#comment-15706206
] 

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
work.

> --link-to no longer seems to be working
> ---------------------------------------
>
>                 Key: CB-11623
>                 URL: https://issues.apache.org/jira/browse/CB-11623
>             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
(v6.3.4#6332)

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


Mime
View raw message