-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Fetch Lightning' now puts files in src/aura, also doesn't get .manifest file #40
Comments
Hi, Same here. MavensMate for Sublime Text v6.0.3. Hope we can find a workaround soon. :( Gustavo |
The only workaround I could find is: 1 - Lightning Fetch all your bundles. In my case it creates a the "aura" folder on "src". Then you can edit your components and save them. Hope this can help meanwhile we get a solution. |
I do something similar. Pure force CLI "force fetch -t aura" into a totally separate directory. |
This is a bug. The plugin actually tries to determine what the file type is based on directory structure. A change to the CLI has made that a big more difficult to determine. I'll see if I can get a fix in soon. |
Ok, maybe not a bug. MavensMate may be confusing the plugin. If you have a src folder, then the cli will download your metadata to that folder, otherwise, it should download to metadata, or create metadata and download to metadata. If MavensMate is using "src" (as does the Eclipse IDE) then you should be seeing the actual metadata (definitions) in the src folder. Still need to test the missing .manifest. |
I have a project with src and metadata folders. I use the Eclipse IDE for src (classes, pages, etc.) and sublime + plugin for the lightning components in metadata. With the setup, until recently the plugin fetched lightning components into metadata. |
I have not done any testing with MavensMate. You could try using it in a On Fri, Jun 17, 2016 at 6:40 PM, Richard Cook notifications@github.com
Thanks, |
Windows 7 64 bit. I've had my project with the directory structure (both metadata and src directories) for a while; fetching components into src\aura is a new phenomenon. |
Ok, that's helpful. What behavior are you looking to see? On Tue, Jun 21, 2016 at 9:38 AM, Richard Cook notifications@github.com
Thanks, |
In a project or directory where there are both metadata and src directories, fetching a lightning component puts it in the metadata directory. This is the behavior that happened previously. I've had this directory structure for months, and until very recently a lightning fetch would put components in the metadata\aura directory. |
Ok, I understand, so in the case of the presence of both meta and src, On Tue, Jun 28, 2016 at 10:33 AM, Richard Cook notifications@github.com
Thanks, |
#TODO Currently, GetSourceDir is dependent on the order of the two member slice that contains the possible directory names, "src", "metadata". Need to check to see if both exist rather than returning upon first match to slice. |
Windows 7 64 bit, latest Lightning plugin and force cli
Doing 'Fetch, Lightning' and picking a component. Previously components were put in metadata/aura directory, and .manifest file was fetched as well. Now components are put in src/aura, with no .manifest file.
The text was updated successfully, but these errors were encountered: