-
Notifications
You must be signed in to change notification settings - Fork 4
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
ATR: Workspace has no build.xml files. #14
Comments
Hi there - I also am experiencing this issue; platform is Windows 10. EDIT: I suspect this may be an issue with the way multi-root workspaces work? EDIT EDIT: Yep, this.rootPath always gets defined with the first workspaceFolder (workspaceFolder[0]), and never searches in alternate workspace folders. You can replicate this issue with the following.
tl;dr: the rootPath bit needs to be rewritten to properly scan for the build.xml files in multi-root workspaces. If I have enough time today/this weekend, I'll submit a PR. |
Sorry for the delay (the usual workload issues). |
Fantastic, thank you! I didn't get to it this weekend (see also: workload issues, haha). |
@Tank-Missile, @sflynn850 I've finally released v0.3.0 which will scan workspace folders in turn until it hits one with a build file. |
Thanks so much! |
I still have got the same problem. I am on Windows 10. |
@blueoak-dhananjaysinghsengar Do you have details of your environment so that I can try and re-create? |
@NickHeap2 here are the details - Let me know if you are after any other details. |
@blueoak-dhananjaysinghsengar there shouldn't be an issue with that combination. If you can give me details of your workspace layout and settings I'm happy to get it working for you. |
I have the same issue : ATR: Workspace has no build.xml files. |
I have a single workspace which houses multiple projects. One of these projects has a build.xml file. By modifying buildFileDirectories to look into the project's root directory, the build.xml file should be found. However, that is not the case. Instead, I get the error
ATR: Workspace has no build.xml files.
no matter what I set buildFileDirectories to. My platform is Linux. If my workspace is located in /home/<user>/Projects, and my project and build.xml file is located in /home/<user>/Projects/ant-project, what should I set buildFileDirectories to?The text was updated successfully, but these errors were encountered: