The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Tue, 10 Aug 2004 5:55 AM
Body:
OK links don't work completely (I remembered there was something tricky about it),
that's why I said to add batch files to wrapp your commands.
%PROGRAMFILES% is used to put your application into them, it doens't say that you
have to put the %PROGRAMFILES%\YourApp\ in the PATH.
On most windows system, you have none of these %PROGRAMFILES% on the path, because
starting the correct application is done either throught the UI or using mime.types
registration in the registry (correct me if I am wrong).
As with gaim, I've used it many times on windows, and it's not been on the PATH,
because I never start it from the CL.
If you face problems with it, it is because you have gaim and cygwin in your PATH,
while if you use one of the solutions below, you can selectively have Gaim OR cygwin
in the PATH; meaning that your problem will go away.
You can still have a batch file that will start your application from C:\BIN
E.g.
> type C:\BIN\gaim.bat
PATH=%PATH%;C:\Program Files\Gaim\
gaim.exe
>
(syntax might be wrong)
or if you don't want that, keep your system PATH small and make a batch file that
fills up your PATH
E.g.
> type fullpath.bat
PATH=%PATH%;C:\Program Files\Gaim\;C:\Program Files\XXX\; .....
and then each time you need to use a program that is in the full path in a CMD, you do
a
. C:\fullpath.bat
before, to load your PATH.
And last solution you can make a special maven wrapper script that sets your PATH to
the minimum before you start maven. Once again problem should be solved.
My reason for not wanting it? It's because windows doesn't require you to have 1000 of
entries in the PATH, and there are other solutions that work as good, and are cleaner.
To have 1000 entries in the PATH is not clean, from a theorical and from a Microsoft
point of view neither.
Maybe I am wrong. let the assignee decide :)
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPSCM-26?page=comments#action_22945
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPSCM-26
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPSCM-26
Summary: Provide property for cvs binary
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-scm-plugin
Assignee: Brett Porter
Reporter: Peter Nabbefeld
Created: Mon, 9 Aug 2004 7:24 AM
Updated: Tue, 10 Aug 2004 5:55 AM
Description:
Please provide a property to set the cvs binary to be used: My PATH environment
variable contains nearly about 700 characters (more than 8 lines in the cmd window),
so I'd prefer not to add a path element for every helper application. I suggest to
temporarily add the path-to-cvs-binary during evaluation of the jelly script only if
the property is set.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]