Store portable scenario association in xpr file
Posted: Sat Sep 13, 2014 11:47 pm
Hi there,
I've trying to figure out how to do the following:
We have an ant file ("build-dist.xml") which is part of an ant scenario. I'd like to associate the ant build file itself with the scenario, so that when I have that file open, the scenario runs when I click on the red triangle button.
I can easily do this in the editor, with the result that the association is stored in the oxyOptionsSa16.0.xml file in my Oxygen directory:
However, I'd like to store this in the project's .xpr file, in such a way that it uses a path to the build file which is relative to the location of the .xpr file, making it portable.
There must be a straightforward way to do this, but I can't figure it out.
All help appreciated,
Martin
I've trying to figure out how to do the following:
We have an ant file ("build-dist.xml") which is part of an ant scenario. I'd like to associate the ant build file itself with the scenario, so that when I have that file open, the scenario runs when I click on the red triangle button.
I can easily do this in the editor, with the result that the association is stored in the oxyOptionsSa16.0.xml file in my Oxygen directory:
Code: Select all
<scenarioAssociation>
<field name="url">
<String>file:/home/mholmes/DiskStation/mholmes/WorkData/tei/jtei/issue_repo/trunk/oxygen/oxygen_aux_files/ant/build-dist.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>2/internal/jTEI (internal)/jtei-distro</String>
</list>
</field>
<field name="scenarioTypes">
<list>
<String>ANT</String>
</list>
</field>
</scenarioAssociation>
There must be a straightforward way to do this, but I can't figure it out.
All help appreciated,
Martin