[ALOY-85] Need to make ti.alloy compiler plugin work consistently
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-09-25T21:55:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2012 Sprint 20, Release 3.0.0 |
Components | Titanium SDK, Titanium Studio |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-07-16T07:33:38.000+0000 |
Updated | 2018-03-07T22:25:41.000+0000 |
Description
Current problems with ti.alloy plugin:
* Will not work on Windows
* nodejs path is hard-coded to
/usr/local/bin/node
* alloy path is hard-coded to /usr/local/bin/alloy
These would be fairly easy to solve, but it appears as though compiler plugins launched through TiStudio do not have full access to the user's environment variables. My own $PATH is pretty large, but when inspected in the compiler plugin, it returns only
/usr/bin:/bin:/usr/sbin:/sbin
So we need a more reliable way to configure this plugin until we have true Titanium Studio integration. Either that or we continue to post workarounds as users encounter issues.
Something to consider is the CLI rewrite and upcoming TiStudio integration that would eliminate much of these issues. How much effort do we want to put into improving something that may soon be obsolete?
Probably this is a post pre-release issue. Unless it is super simple to fix. There are also issues of how if we fix up python scripts how are we going to distribute with alloy, if we have developers override exiting build scripts we could introduce build regression not tested by QA.
Dependency has been resolved. Need to determine the minimum version this will be available in for TiStudio and code around that accordingly.