Hi! I've been trying to set a property dependent on the OS nant is running on, but so far I've failed. I can't get this to work:
<if unless="${operating-system::get-platform(environment::get-operating-system())==PlatformID.Unix}"> <property name="java.classpath.separator" value=";"/> </if> <if if="${operating-system::get-platform(environment::get-operating-system())==PlatformID.Unix}"> <property name="java.classpath.separator" value=":"/> </if> I always receive "Property evaluation failed." as error message. Can someone help me? Thanks in advance, Johannes ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users