Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-alpha-4
-
Fix Version/s: 1.0
-
Component/s: None
-
Labels:None
-
Environment:tested with 1.0-alpha-4 and a daily snapshot
Win XP
JDK 1.4.2
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
When I launch plexus.bat I receive the error :
C:\Programs\dev\continuum-1.0-alpha-4\bin>plexus.bat
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
....
I attached the full log with echo enabled.
My problem comes from the fact that my path ends with a \ :
-Dplexus.system.path="C:\Programs\dev\php-4.3;C:\Programs\dev\svn\bin;C:\Programs\db\oracle\ora92\bin;C:\Programs\web\PuTTY;C:\Programs\dev\j2sdk1.4.2\BIN;C:\Programs\dev\apache-maven-dev\BIN;C:\Programs\dev\apache-ant-1.6.5\BIN;C:\Programs\dev\WinCvs1.3\CVSNT;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAMS\DEV\TCL\BIN;C:\PROGRAMS\DEV\PYTHON23\.;C:\Program Files\Fichiers communs\Roxio Shared\DLLShared;C:\Program Files\Bureautique\UltraEdit;C:\Programs\dev\WinCvs1.3\CVSNT;C:\Program Files\System\Support Tools;C:\Program Files\Support Tools\;;C:\Programs\dev\maven-2\bin;C:\Programs\dev\TortoiseSVN\bin;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Fichiers communs\Adobe\AGL;C:\Program Files\ATI Technologies\ATI.ACE\"
If I change my path with :
-Dplexus.system.path="C:\Programs\dev\php-4.3;C:\Programs\dev\svn\bin;C:\Programs\db\oracle\ora92\bin;C:\Programs\web\PuTTY;C:\Programs\dev\j2sdk1.4.2\BIN;C:\Programs\dev\apache-maven-dev\BIN;C:\Programs\dev\apache-ant-1.6.5\BIN;C:\Programs\dev\WinCvs1.3\CVSNT;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAMS\DEV\TCL\BIN;C:\PROGRAMS\DEV\PYTHON23\.;C:\Program Files\Fichiers communs\Roxio Shared\DLLShared;C:\Program Files\Bureautique\UltraEdit;C:\Programs\dev\WinCvs1.3\CVSNT;C:\Program Files\System\Support Tools;C:\Program Files\Support Tools\;;C:\Programs\dev\maven-2\bin;C:\Programs\dev\TortoiseSVN\bin;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Fichiers communs\Adobe\AGL;C:\Program Files\ATI Technologies\ATI.ACE"
It works.
To prevent this you can add do something like :
-Dplexus.system.path="%PATH%;."
we need to fix the plexus-runtime-builder first by creating a wrapper.conf by os