You can look at the active system properties in the Eclipse configuration details from Help / About Eclipse SDK / Configuration Details. There is several properties named like eclipse.*, e.g. eclipse.buildId

 regards,
 Eugene


stug23 wrote:
I am trying to work around a bug related to the Maven embedder. I would like
to define a profile wherein activation is controlled by a property which is
intrinsically available in Eclipse so that I can disable the profile when
running a Maven build in Eclipse.

I tried to use 'eclipse.product=org.eclipse.platform.ide' which is available
in the Eclipse Configuration Details but can't seem to get Maven to pickup
this property. I want the activation to be based solely on a property so
that the profile doesn't need to set outside of Eclipse.

Is there a way to do this?

Note that I would rather not do this at all however the bug
(NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory):

  <http://jira.codehaus.org/browse/MNGECLIPSE-847>

has not yet been fixed and users are running into problems where resources
don't get copied because of this bug.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to