You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Julien Henry <ju...@capgemini.com> on 2006/09/15 16:09:04 UTC

How to set path environement variable ?

Hi,

I try to run a simple command from the provider :
mvn scm:checkout -DconnectionUrl=scm:synergy:BGZBFZH~1 -X
...
[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-scm-plugin:1.0-SNAPSHOT:checkout' -->
[DEBUG] (f) basedir = D:\tmp
[DEBUG] (s) checkoutDirectory = D:\tmp\target\checkout
[DEBUG] (f) connectionType = connection
[DEBUG] (s) connectionUrl = scm:synergy:BGZBFZH~1
[DEBUG] (f) developerConnectionUrl = scm:synergy:BGZBFZH~1
[DEBUG] (f) settings = org.apache.maven.settings.Settings@8ceeea
[DEBUG] (f) skipCheckoutIfExists = false
[DEBUG] -- end configuration --
[INFO] [scm:checkout]
project_spec = BGZBFZH~1
[INFO] Removing D:\tmp\target\checkout
[DEBUG] executing checkout command...
[DEBUG] basedir: D:\tmp\target\checkout
[DEBUG] Executing: D:\tmp\target\checkout>>ccm wa -et 
D:\tmp\target\checkout BGZBFZH~1
[ERROR] Provider message:
[ERROR] 'ccm' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

[ERROR] Command output:
[ERROR]
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Command failed.'ccm' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

I can confirm ccm is a real command in the Windows %PATH%. What should I do?

I tried to add -Dplexus.system.*path*=%*PATH*%
but I get tons of errors, concerning my JDK.

Thanks
-- 

_________________________________________________________________________

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com <http://www.capgemini.com/>

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience**** **
_________________________________________________________________________


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


Re: How to set path environement variable ?

Posted by Emmanuel Venisse <em...@venisse.net>.

Julien Henry a écrit :
> 
> Hi,
> 
> I try to run a simple command from the provider :
> mvn scm:checkout -DconnectionUrl=scm:synergy:BGZBFZH~1 -X
> ...
> [DEBUG] Configuring mojo 
> 'org.apache.maven.plugins:maven-scm-plugin:1.0-SNAPSHOT:checkout' -->
> [DEBUG] (f) basedir = D:\tmp
> [DEBUG] (s) checkoutDirectory = D:\tmp\target\checkout
> [DEBUG] (f) connectionType = connection
> [DEBUG] (s) connectionUrl = scm:synergy:BGZBFZH~1
> [DEBUG] (f) developerConnectionUrl = scm:synergy:BGZBFZH~1
> [DEBUG] (f) settings = org.apache.maven.settings.Settings@8ceeea
> [DEBUG] (f) skipCheckoutIfExists = false
> [DEBUG] -- end configuration --
> [INFO] [scm:checkout]
> project_spec = BGZBFZH~1
> [INFO] Removing D:\tmp\target\checkout
> [DEBUG] executing checkout command...
> [DEBUG] basedir: D:\tmp\target\checkout
> [DEBUG] Executing: D:\tmp\target\checkout>>ccm wa -et 
> D:\tmp\target\checkout BGZBFZH~1
> [ERROR] Provider message:
> [ERROR] 'ccm' n'est pas reconnu en tant que commande interne
> ou externe, un programme exécutable ou un fichier de commandes.
> 
> [ERROR] Command output:
> [ERROR]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Command failed.'ccm' n'est pas reconnu en tant que commande interne
> ou externe, un programme exécutable ou un fichier de commandes.
> 
> I can confirm ccm is a real command in the Windows %PATH%. What should I 
> do?

"Command failed..." is a DOS message, so DOS can find ccm in the path. where have you defined it in 
your path? system path or user path?

Emmanuel
> 
> I tried to add -Dplexus.system.*path*=%*PATH*%
> but I get tons of errors, concerning my JDK.
> 
> Thanks


Re: How to set path environement variable ?

Posted by Julien Henry <ju...@capgemini.com>.
Oups sorry, I was playing with too many terminals... and using the only 
one that was not closed since I set PATH variable.

Julien Henry a écrit :
>
> Hi,
>
> I try to run a simple command from the provider :
> mvn scm:checkout -DconnectionUrl=scm:synergy:BGZBFZH~1 -X
> ...
> [DEBUG] Configuring mojo 
> 'org.apache.maven.plugins:maven-scm-plugin:1.0-SNAPSHOT:checkout' -->
> [DEBUG] (f) basedir = D:\tmp
> [DEBUG] (s) checkoutDirectory = D:\tmp\target\checkout
> [DEBUG] (f) connectionType = connection
> [DEBUG] (s) connectionUrl = scm:synergy:BGZBFZH~1
> [DEBUG] (f) developerConnectionUrl = scm:synergy:BGZBFZH~1
> [DEBUG] (f) settings = org.apache.maven.settings.Settings@8ceeea
> [DEBUG] (f) skipCheckoutIfExists = false
> [DEBUG] -- end configuration --
> [INFO] [scm:checkout]
> project_spec = BGZBFZH~1
> [INFO] Removing D:\tmp\target\checkout
> [DEBUG] executing checkout command...
> [DEBUG] basedir: D:\tmp\target\checkout
> [DEBUG] Executing: D:\tmp\target\checkout>>ccm wa -et 
> D:\tmp\target\checkout BGZBFZH~1
> [ERROR] Provider message:
> [ERROR] 'ccm' n'est pas reconnu en tant que commande interne
> ou externe, un programme exécutable ou un fichier de commandes.
>
> [ERROR] Command output:
> [ERROR]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Command failed.'ccm' n'est pas reconnu en tant que commande 
> interne
> ou externe, un programme exécutable ou un fichier de commandes.
>
> I can confirm ccm is a real command in the Windows %PATH%. What should 
> I do?
>
> I tried to add -Dplexus.system.*path*=%*PATH*%
> but I get tons of errors, concerning my JDK.
>
> Thanks

-- 

_________________________________________________________________________

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com <http://www.capgemini.com/>

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

 

**Join the Collaborative Business Experience**** **
_________________________________________________________________________

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.