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 797349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:47:26+00:00 2026-05-14T22:47:26+00:00

On linux something like: <target name=runDo> <exec executable=gnome-terminal spawn=true> <arg line=-t ‘Title’ –geometry=120×80 -e

  • 0

On linux something like:

  <target name="runDo">
     <exec executable="gnome-terminal" spawn="true">
      <arg line="-t 'Title' --geometry=120x80 -e '/script/path/bin/do.sh'"/>
    </exec>
  </target>

Works fine.

I’ve tried installing xterm, gnome-terminal and rxvt via macports and running them similarly with no results as well as /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -e, but none seem to work. I’ve also tried running the script as the attribute value of executable, hoping the OS would pick an appropriate applications to launch, but no joy.

I can get it to run without spawning a new terminal, but I’m running the ant task from an IDE and would like to be able to keep it alive if I quit the IDE, or close the project to open another. Help?

  • 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-14T22:47:26+00:00Added an answer on May 14, 2026 at 10:47 pm

    Just went with xterm…

    <target name="startTomcat_DebugLinux" if="isLinux">
      <exec executable="gnome-terminal" spawn="true">
        <arg line="--window-with-profile=Tomcat --geometry=120x60 -e '${env.CATALINA_HOME}/bin/catalina.sh jpda run'" />
      </exec>
    </target>
    
    <target name="startTomcat_DebugMac" if="isMac">
      <exec executable="/usr/X11R6/bin/xterm" spawn="true">
        <arg  line="-geometry 180x65 -e ${env.CATALINA_HOME}/bin/catalina.sh jpda run" />
      </exec>
    </target>
    

    The problem before, that open -a couldn’t help with was that I couldn’t get the arguments jpda and run passed to the script. open takes a –args, but the args seem to be passed to terminal rather than the script. Other solutions are welcome, but this is working for me now.

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

Sidebar

Related Questions

In linux, when a terminal (like xterm) gets resized to something smaller, then expanded
My CMake setting to create a shared lib in linux is something like SET
My .bashrc looks something like this... export PERL5LIB=/tools/perl/Linux/${PLAT}/lib/perl5/5.10.0/${PLAT}-thread-multi export PERL5LIB=${PERL5LIB}:/tools/perl/Linux/${PLAT}/lib/perl5/5.10.0 function dev { export
Does anyone know of a linux-compatible command line html formatter? You know, something where
Suppose I've installed Linux on my flash drive. Why do I need something like
Is something like the following possible in C on Linux platform: I have a
I'm trying to compile a simple application in linux. My main.cpp looks something like
On Linux under X11 and using GTK+ you have something called Main Loop. Once
Very simple questions guys, but maybe I'm just forgetting something. In 64bit linux, a
I am attempting to find a binary file in a Linux system using something

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.