Hi All,

Discovering the joy of coding Java in a Mac environment I learned that there
is no tools.jar in the Mac version of the JDK.
Consequence is, my projects having dependencies on tools.jar fail to build.

So for the project with a direct dependency, I used Profile successfully.
I created one profile triggered by the OS family and everything went smooth.

Now I got 2 problems:
  - it seems that, when inherited through transitive dependency, the
profile trigger is not taken into account
and tools.jar is added to the dependencies list anyway.
  - I got an ant plugin setup in the build section with tools.jar in the
dependencies section of the plugin.
What do I use to make the dependency conditional there?


thanks in advance

Jerome

Reply via email to