Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to stop annoying repeated prompts from Ant config folder_prompt variable?
How to stop annoying repeated prompts from Ant config folder_prompt variable? [message #939315] Wed, 10 October 2012 12:35 Go to next message
David Balch is currently offline David Balch
Messages: 2
Registered: October 2012
Junior Member
I'm investigating whether Eclipse would help streamline my Ant-based XML/XSLT course content processing system - inital signs are promising, but I'm stuck on something rather annoying:

I've set up an Ant configuration like this:

Buildfile: ${folder_prompt:workspace_loc:/SCE (svn)/sce/courses/}/build.xml
Arguments: ${string_prompt:Build type}


...as my system has a directory of build scripts (mainly ant & XSLT), and many courses, each with their own build file, like this (simplified for clarity):

sce
 * build-tools
 * courses
   * course-a
     * build.xml
     * (course files)
   * course-b
     * build.xml
     * (course files)

This works (allowing me to choose course-a or course-b, and the build runs), but the folder_prompt dialog is shown multiple times when editing the configuration.

The folder_prompt ("Please input a value for workspace_loc") is shown 11 times just from clicking "External tools configurations" before showing the configuration dialog. Each switch between configuration tabs provokes at least one more folder_prompt.

When running the build, dialogs are shown for folder_prompt, string_prompt, then folder_prompt again.

Can anyone suggest how to stop the folder_prompt appearing repeatedly?

Cheers,
Dave.

I'm running:

Ubuntu 12.04
Eclipse Version: 3.7.2
Build id: I20110613-1736

java.runtime.name=OpenJDK Runtime Environment
java.runtime.version=1.7.0_07-b30
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.version=1.7.0_07
java.vm.info=mixed mode
java.vm.name=OpenJDK 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=23.2-b09
Re: How to stop annoying repeated prompts from Ant config folder_prompt variable? [message #941248 is a reply to message #939315] Fri, 12 October 2012 06:34 Go to previous message
David Balch is currently offline David Balch
Messages: 2
Registered: October 2012
Junior Member
I've just tested on another PC, and get the same results.

Win7 Enterprise
Eclipse 4.2.1
Version: Juno Service Release 1
Build id: 20120920-0800

java.runtime.version=1.7.0_07-b11
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.version=1.7.0_07
Previous Topic:Automatically add a project nature
Next Topic:Expressions not working - <error(s)_during_the_evaluation>
Goto Forum:
  


Current Time: Thu Apr 24 06:34:51 EDT 2014

Powered by FUDForum. Page generated in 0.02046 seconds