Hi All,
I have a java swing application that I build with maven. I include
some Mac OS X java libraries to integrate the app into OS X. I get
errors when compiling on Windows, as the os x libraries are not
available.
Is it possible to detect the current OS and exclude some java classes
from compiling when not working on OS X?
I am looking to configure the compile like:
<if>
<equals arg1="${isMacOsX}" arg2="false" />
<then>
<exclude>myClassesToExclude</exclude>
</then>
</if>
thanks a lot
Timo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]