Hey Toby, Thanks for bringing this up. I'll take a look at it On Jun 8, 2016 10:14 AM, "Tobias Bocanegra" <[email protected]> wrote:
> Hi, > > btw, this also affects all those developers that use a java based IDE to > invoke Cordova (Intellij, WebStorm, AppCode, Eclipse, Android Studio) > > Regards, Toby > > > On Tue, Jun 7, 2016 at 10:08 PM, Tobias Bocanegra <[email protected]> > wrote: > > > Hi, > > > > I see a different behaviour in relative plugin resolution between 6.1.1 > > and 6.2. > > I'm invoking cordova via ant (java), which sets the current working > > directory of the cordova process correctly, but does not change the > env.PWD > > [0]. > > > > until 6.1.1 this was not a problem, but since 6.2 my relative plugin > paths > > don't resolve anymore. I tried to figure out where the change came from, > > but until now I was not successful. > > > > I would change the order of the assignment in [1] to: > > > > origCwd = process.cwd() || process.env.PWD; > > > > but since this didn't change between 6.1 and 6.2, I don't think this is > > the culprit. > > any advice? > > > > regards, toby > > > > for details see: https://issues.apache.org/jira/browse/CB-11387 > > > > [0] > > > https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File) > > [1] > > > https://github.com/apache/cordova-lib/blob/6.2.x/cordova-lib/src/cordova/util.js#L131 > > >
