Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » String Substitution Task
String Substitution Task [message #1856850] Thu, 05 January 2023 14:15 Go to next message
Robert Neßelrath is currently offline Robert NeßelrathFriend
Messages: 12
Registered: December 2022
Junior Member
Hello everybody,

has anybody a short explanation what the StringSubstituationTask does and how it is used? I failed to find any information about it .

Thank you very much :)

[Updated on: Thu, 05 January 2023 14:16]

Report message to a moderator

Re: String Substitution Task [message #1856852 is a reply to message #1856850] Thu, 05 January 2023 14:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
It lets you define a value as appears in Window -> Preferences -> Run/Debug -> String Substitution. Those in turn can be used in various places, such as in launch configurations so that a "named" value can be declared in one place and reused in many places.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: String Substitution Task [message #1856862 is a reply to message #1856852] Thu, 05 January 2023 18:30 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6683
Registered: July 2009
Senior Member
For example, I have this in my user.setup:

<?xml version="1.0" encoding="UTF-8"?>
<setup:CompoundTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    filter="(osgi.os=win32)"
    name="Windows">
  <setupTask
      xsi:type="setup:StringSubstitutionTask"
      name="maven.root"
      value="C:\develop\bin\apache-maven-3.6.3"/>
</setup:CompoundTask>


Re: String Substitution Task [message #1856869 is a reply to message #1856862] Fri, 06 January 2023 08:03 Go to previous message
Robert Neßelrath is currently offline Robert NeßelrathFriend
Messages: 12
Registered: December 2022
Junior Member
Thats's quite interesting. Thank you very much Eike.
Previous Topic:Installing 2022-12 products warns about unsigned content
Next Topic:Oomph headless
Goto Forum:
  


Current Time: Tue May 07 22:34:07 GMT 2024

Powered by FUDForum. Page generated in 0.03183 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top