2008/7/11 Artur Śmiejowski <[EMAIL PROTECTED]>: > Halo! > > > > Maven don't work when In Windows Vista user has ampersand in the name for > example username=Tom&Jerry. Windows allows usernames like this, but Maven > treat ampersand in the name of users main folder as a part of some url (?) > or something . and cannot get path properly. Windows do not allow to change > username with all user's foldernames. > > > > Is it Maven bug? Maybe there is some solution. > > > > Please help! > > > > I do not want to change my username to use Maven. > > > > Greetings. > > > Maybe you should try using maven installation per project (preferred by me) . Then you can install M2 in C:\ProjectName\M2 and copy your settingx.xml to M2_HOME/conf. Start up with some system environemnt will be helpfull:
C:\ProjectName\SetEnvProjectName.bat ------------------------------------- set JAVA_HOME=C:\ProjectName\Jdk5 set M2_HOME=C:\ProjectName\M2 set JBOSS_HOME=C:\ProjectName\jboss set TNS_ADMIN=C:\ProjectName\instantclient set NLS_LANG=POLISH_POLAND.EE8MSWIN1250 set PATH=%PATH%;C:\ProjectName\M2\bin;C:\ProjectName\instantclient;C:\Var\Subversion\bin; ------------------------------------- C:\ProjectName\CmdProjectName.bat ---------------------------------------------------------- call SetEnvProjectName.bat cmd ---------------------------------------------------------- C:\ProjectName\EclipseProjectName.bat ------------------------------------------------------------- call SetEnvProjectName.bat start /B Eclipse\eclipse.exe ------------------------------------------------------------- I dont know if %USERPROFILE% is taken in that configuration (and your profile with &) because global configuration are first taken. -- Kamil Demecki