[
http://jira.codehaus.org/browse/MOJO-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161537#action_161537
]
Timo Meinen commented on MOJO-1289:
-----------------------------------
I did some research and found out that applications won't recognize the
environment variables under MAC OS X. If I launch eclipse within a shell
(terminal) with the command
open /Applications/eclipse/Eclipse.app
the plugins work. To set explicit environment variables under OSX follow this
guide: http://www.shebang.nl/2008/09/osx-environment-variables/
So you can close this issue, because it depends on the OSX settings.
Thank you
Timo
> Buildnumber can't get revision information if run within a IDE like Eclipse
> or NetBeans
> ---------------------------------------------------------------------------------------
>
> Key: MOJO-1289
> URL: http://jira.codehaus.org/browse/MOJO-1289
> Project: Mojo
> Issue Type: Bug
> Components: buildnumber
> Environment: Mac OS X 10.5, Java 1.6, Maven 2.0.9, Eclipse 3.4,
> NetBeans 6.5
> Reporter: Timo Meinen
>
> Hello,
> the buildnumber-plugin works fine from a shell, but it doesn't work when
> executed from Eclipse or NetBeans. I get this error:
> Command output:
> /bin/sh: svn: command not found
> ------------------------------------------------------------------------
> [ERROR]BUILD ERROR
> ------------------------------------------------------------------------
> Cannot get the revision information from the scm repository :
> Error!
> Maybe the environment is not set correctly, so that the plugin cannot find
> the svn-executable. Can I configure the absolute SVN Path to the plugin?
> Best regards
> Timo Meinen
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email