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 <geert...@apache.org>
*Sent:* Tuesday, July 2, 2019 3:02 PM
*To:* Mike Billman <mikebill...@qcsoftware.com>
*Cc:* users@netbeans.apache.org
*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 <mikebill...@qcsoftware.com <mailto:mikebill...@qcsoftware.com>> 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 mikebill...@qcsoftware.com <mailto:mikebill...@qcsoftware.com>

    F +1 513 469 1425

Reply via email to