Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting XML attribute with a variable #16

Open
rgrima opened this issue Oct 1, 2024 · 1 comment
Open

Setting XML attribute with a variable #16

rgrima opened this issue Oct 1, 2024 · 1 comment

Comments

@rgrima
Copy link

rgrima commented Oct 1, 2024

Is there any way to set an attribute with a variable?

Something like this:

  <parameterset name="defineProblem">
    <parameter name="outpath" tag="test-name1">test-name1</parameter>
    <parameter name="outpath" tag="test-name2">test-name2</parameter>
  </parameterset>
  <benchmark name="TEST-NAME" outpath=$outpath>

  </benchmark>
@thobreuer
Copy link
Collaborator

At least not the outpath of a benchmark, as the parameterset is only evaluated inside the benchmark/step. Whereas there are attributes like the suffix of a step that supports the usage of parameters.
If you are specifically looking for options to set the outpath, we have added two new features in version 2.7.0:

* Added: New environment variable JUBE_BENCHMARK_OUTPATH to set the benchmark outpath.
* Added: New command line option --outpath of jube run to specify the benchmark outpath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants