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
Ability to run any current ant .xml out of the build system #12
Comments
Not sure I follow. You can change the file superant uses via configs, it will try a file you have selected in the file viewer first also if you wanted to build from a specific file. Are you talking about target names being hidden? if that is the case you can also change that behavior with configs to show targets with underscores or without descriptions. |
Let assume I have a folder If I do not have a sublime project for this folder yet, I am going to something like A) Today, if I want to urn the build.xml project, I need to do the following:
B) What I would like to do is the following.
So, I think that A is great, but It would be great to allow the B scenario as well. Or perhaps, SuperAnt already do B, but somehow, I cannot find how. |
If you do not create a sublime project how would you "select the .xml file of choice" or are you simply talking about selecting it in the file list without any memory of this in sublime text? If simply selecting the file from the file list that should currently be working. If you have a ANT xml file selected when you hit CMD+B it should use that always. It then attempts to search from there for your build file. Also once you have selected Tools > Build System >SuperAnt you do not need to that again. So normally its just 1 step for A. |
If I do not set the Build System to SuperAnt for my project, when I click Jeremy, On Sun, Jan 12, 2014 at 11:00 PM, Ross Gerbasi notifications@github.comwrote:
Jeremy Chone |
I see what you're saying. So essentially you want the same menu you get using the build system and CMD + B to pop up when you do a CMD+SHIFT+P and type Super Ant |
Yes, that it. Sorry to have been confusing. This way, for my sublime On Mon, Jan 13, 2014 at 11:42 AM, Ross Gerbasi notifications@github.comwrote:
Jeremy Chone |
Added Text Command "Super Ant - List Targets" to run Super Ant without changing the build system. Added Context Menu Option for Super Ant - List Targets (right click in sublime) Removed Default.sublime-commands
Alright all fixed up, the command is called Super Ant - List Targets but I like to go with CMD+SHIFT+P and type "sal". Pops up first in my list. Also added a context option if you want to right click select Super Ant -> List Targets |
Great. I am using package control, do I need to do something special to update it? I tried "Package Update" but did not see the update. Am I missing something? |
Hmmm It seems like it knows it was updated https://sublime.wbond.net/packages/Super%20Ant I don't think there is anything else I need to do, pretty sure it pulls form the repo. You could always uninstall and reinstall the plugin? |
Perhaps there are some cache somewhere not updated. I will git it couple of Thanks a lot for this feature. Jeremy, On Wed, Jan 15, 2014 at 10:57 AM, Ross Gerbasi notifications@github.comwrote:
Jeremy Chone |
Current
Right now, we have to set the project to build with Ant to be able to run and select a target from a ant xml.
Wish
It would be great to also be able to run (via the Command Shift P) the same SuperAnt Build command that would popup the list of targets to execute from the current ant file (no matter the name).
This will allow people that use ant as a side scripting language rather than their project build system to still use SuperAnt in random ant files.
My use case:
For example, all my Java projects are maven driven, but I often have a build.xml to copy and update some files over. It's not part of the process as their are just very rare action I take during a project life cycle, but nice to have them scripted in a cross platform way.
The text was updated successfully, but these errors were encountered: