Hi,
How can I execute a "run" or "start" command based on the OS (Mac or
Win)? In other word, if xxe is running on a Mac, when trying to execute
a
<command ...>
<macro>
<sequence>
<command name="run" parameter="if Mac use this else use that"/>
</sequence>
</macro>
</command>
I tried playing with <pass> but it works only for one OS at a time
(depending on the test). I am using xxe-2.11 (sorry, old version but we
paid for it and our process currently only works with this version - no
time for upgrading our process)
The main problem is that whenever I use "run", the relative path is
different for Mac and Win. I am trying to "run" a ANT target. Also, I
*must* put my application inside <XML-Mind-Install>/addon/config and not
into <username>/.xxe2/config/. My ant script is located inside
addon/config/<myapp>/xml/...
I was hoping to do something like:
<command name="run" parameter="../addon/config/lib/ant/bin/ant
-buildfile ../addon/config/<myapp>/xml/build.xml targetone"/>
which would work for both platform. However, the relative path for the
Mac is always: /Applications
I also tried all the xxe variable such as %{D} and %{C} with no success.
Hope I have provided enough details,
Thanks in advance,
Jocelyn Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080616/1f3e0093/attachment.htm