I was able to get this far…
task autoPickInterface(type:Exec) {
standardOutput System.out
standardInput System.in
commandLine 'cmd', '/v', '/c', '"choices.bat -j 11x64 -s 17x64 & sandbox &
run-profile creekstone & java Products.HostInterface.HostInterface -r -n
autoPickInterface -l"'
}
However, I cannot type input into the output window. I can’t help but think
there is something I just don’t understand…I tried this:
task runApp(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'Products.HostInterface.HostInterface'
args '-r -n autoPickInterface -l'
}
And I get an enormous classpath…
Mike
From: Laszlo Kishalmi <[email protected]>
Sent: Tuesday, July 2, 2019 5:18 PM
To: [email protected]
Subject: Re: NB11 - gradle support
The best way to do it to add Gradle tasks in your build.grade for each main
class (like runApp1, runApp2).
Then open the project properties and configure custom actions for each
application.
Or you might reconfigure run and debug actions to use:
run${input:Application}
or
run${input:Application,DefaultApp}
This way you would be prompted for the application to run/debug.
On 7/2/19 12:06 PM, Mike Billman wrote:
Our gradle project isn’t set up with run configured because we run multiple
applications out of the same project (different main classes). Just wondering
the best way to set this up…custom tasks?
Thanks.
Mike
From: Geertjan Wielenga <[email protected]><mailto:[email protected]>
Sent: Tuesday, July 2, 2019 3:02 PM
To: Mike Billman <[email protected]><mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: NB11 - gradle support
Open the project and click Run.
If the above doesn't work, what's the problem exactly so that we can help with
the problem you're encountering?
Gj
On Tue, Jul 2, 2019 at 9:00 PM Mike Billman
<[email protected]<mailto:[email protected]>> wrote:
Hey –
I was wondering if there are any tutorials on using the new gradle support
introduced in 11.0. I would like to try to figure out how to run my
applications, but am not sure how.
Thanks!
Mike Billman
Senior Software Engineer
CPTE
[qclogo]
50 E-Business Way
Suite 300
Cincinnati, OH 45241
T +1 513 469 1424
E [email protected]<mailto:[email protected]>
F +1 513 469 1425