Sublime Forum

Entering data while build script in progress

#1

Hello,

I just started using sublime-text and have really liked it so far.
I use java and compile by using a build.xml script. (using ant).
I have my sublime-build setup as follows:

{
“cmd”: [“ant”, “-s”, “build.xml”, “all”],
“file_regex”: “^ \[javac\] (.+):([0-9]+):() (.)$”,
“working_dir”: “${file_path}”,
“selector”: “source.java”,
}

The issue I am having is that in my build.xml, as some point, I need to input a text. It works in command line, but not in sublime.

I tried to add “shells”:true but it did not take the input.

Any idea?

Thanks, in advance.

0 Likes