Hello,
I'm fairly new to ant. I want to set some properties to be used in the
classpath according to the os that ant is running on. Basically,
something like...
sunos = (os.name.equals("SunOS")) ? true : false;
sep = (sunos) ? "/" : "\";
classroot = (sunos) ? sep + "root" : "R:" + sep;
Is there a way to do this? I've looked at the <available ...> task, but
it's not clear yet how to use that towards my goal. Thanks for your
help.
Oh, the justification is that we have a samba server running on a sun
station. The projects classpath directories are exported to our PC
desktops using samba. Thus, I want Ant to build on both the server and
the PC client.
--
* Tim Veazey - Software Engineer
* SupplyEdge, Inc.
* Phone: (626) 585-2788 x113
* (800) 733-3380 x113
* Fax (626) 585-2785