Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6544411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:27:44+00:00 2026-05-25T11:27:44+00:00

Is there an Ant taskdef somewhere that provides a <scala> task that will use

  • 0

Is there an Ant taskdef somewhere that provides a <scala> task that will use my SCALA_HOME and which supports classname=, <classpath>, <arg>, <jvmarg>, etc., analogous to <java>?

Scala ant tasks only defines <scalac>, <fsc>, and <scaladoc> Ant tasks (and configure ant for scala discusses those tasks). However, there is no <scala> task for running Scala applications, which seems to be an oversight. I know I can cobble together a <java> task to run Scala, but that seems rather inconvenient and round-about.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:27:45+00:00Added an answer on May 25, 2026 at 11:27 am

    There doesn’t seem to be an ant task for running scala yet. I think there are two reasons for that:

    Firstly, the one you allude to in your question – you can cobble together a task to do it. In fact, the “scala” executable is just a batch/sh script to run java with the right classpath and options.

    Second, I think most scala projects use sbt, and the majority of the remainder use maven, so I guess nobody has run across the need for a specialized ant task for execution yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ant build.xml file with XJC task definition: <taskdef name=xjc classname=com.sun.tools.xjc.XJCTask> <classpath>
Are there ant plugins that wrap maven so that I can make use of
Is there any ant task based tool using which, we can generate annotation based
Is there an ANT Task that would execute a block only if a given
Is there an ant task (similar to ftp or scp tasks) that would allow
Is there a way in Ant which can check that a specified properties file
Are there any tools/ ant tasks that could be integrated into the ant build
Is there a way in Ant to just use regex to search through a
Is there a way to run a specific Ant task via the keyboard? I
Are there some IBM ant tasks that support this?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.