Re: Need of serious help (almost there!)

2005-04-16 Thread Brett Porter
works on spaced paths in WinXP... looks like we will need to add a note to Windows install instructions that in case of weirdness, explicitly set M2_HOME. - Brett On 4/17/05, baleineca <[EMAIL PROTECTED]> wrote: - To unsubscrib

Re: Need of serious help (almost there!)

2005-04-16 Thread baleineca
Just noticed my previous test was run from maven 1 install path, but it's the same from maven 2 install path: C:\Program Files\maven-2.0-alpha-1>test.bat ~dps0: C:\PROGRA~1\MAVEN-~1.0-A\bin\test.bat ~dp0: C:\Program Files\maven-2.0-alpha-1\bin\ ~s0: C:\PROGRA~1\MAVEN-~1.0-A\bin\test.bat ~0: test.

Re: Need of serious help (almost there!)

2005-04-16 Thread baleineca
Even more strange... Seems like the same batch file misbehaves when run from a path that contains space! I got the correct output from test.bat when tested from a path with no spaces. I even added the following lines to test.bat: if "%OS%"=="Windows_NT" set M2_HOME=%~dps0.. echo M2_HOME = %M2_

Re: Need of serious help (almost there!)

2005-04-16 Thread Brett Porter
Can you try this on win2000? Create test.bat: @echo off echo ~dps0: %~dps0 echo ~dp0: %~dp0 echo ~s0: %~s0 echo ~0: %~0 echo ~dps0\..: %~dps0\.. echo ~dps0..: %~dps0.. Then run: "cmd /C test.bat" I get... ~dps0: c:\home\Brett\ ~dp0: c:\home\Brett\ ~s0: c:\home\Brett\test.bat ~0: test.bat ~dps0\

Re: Need of serious help (almost there!)

2005-04-16 Thread baleineca
I'm no batch file expert either and I thought it's was strange, but here's what happens with the original line `if "%OS%"=="Windows_NT" SET M2_HOME=%~dps0\..`: M2_HOME = C:\PROGRA~1\MAVEN-~1.0-A\bin\m2.bat\.. which points to bin. I also thought it was supposed to return the directory, but it's

Re: Need of serious help (almost there!)

2005-04-16 Thread Brett Porter
Hi, On 4/17/05, baleineca <[EMAIL PROTECTED]> wrote: > Change line 86 from: > if "%OS%"=="Windows_NT" SET M2_HOME=%~dps0\.. > > to > > if "%OS%"=="Windows_NT" SET M2_HOME=%~dps0\..\\.. > > (need double \\ to escape) Can you explain this to me? I'm no .bat file wizard, but I thought I tested th

Re: Need of serious help (almost there!)

2005-04-16 Thread baleineca
I cant just type anything, I must put in the full path... or drag/drop THEN append the command afterwards. -Original Message- From: baleineca [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 10:54 PM To: Maven Users List Subject: Re: Need of serious help (almost there!) I am no

RE: Need of serious help (almost there!)

2005-04-15 Thread Dave \"The Gerb\"
Nope, I cant just type anything, I must put in the full path... or drag/drop THEN append the command afterwards. -Original Message- From: baleineca [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 10:54 PM To: Maven Users List Subject: Re: Need of serious help (almost there!) I

Re: Need of serious help (almost there!)

2005-04-14 Thread baleineca
If I put in "D:\maven-2.0-alpha-1\bin\m2.bat maven -v" I get the version number. -Original Message- From: Mykel Alvis [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 2:04 PM To: Maven Users List Subject: Re: Need of serious help JAVA_HOME should be set to the root of

RE: Need of serious help (almost there!)

2005-04-14 Thread Dave \"The Gerb\"
nses. Thank you all! > > Dave > > -Original Message- > From: Patrick Roumanoff [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 13, 2005 7:57 PM > To: Maven Users List > Subject: RE: Need of serious help > > run the maven.bat command from the command line >

Re: Need of serious help

2005-04-14 Thread Mykel Alvis
gt; Dave > > -Original Message- > From: Patrick Roumanoff [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 13, 2005 7:57 PM > To: Maven Users List > Subject: RE: Need of serious help > > run the maven.bat command from the command line > then you'll b

RE: Need of serious help (gettin warmer....)

2005-04-13 Thread Daniel Or
AM To: 'Maven Users List' Subject: RE: Need of serious help (gettin warmer) Ok... got java pointing to the Sdk instead of the Jdk... got maven pointed right... Now I get "Exception in thread "main" java.lang.NoClassDefFoundError: Files\Apache Any takers? Dave -

RE: Need of serious help (gettin warmer....)

2005-04-13 Thread Dave \"The Gerb\"
April 13, 2005 7:57 PM To: Maven Users List Subject: RE: Need of serious help run the maven.bat command from the command line then you'll be able to see the message. to achieve that follow the instructions: click on the start menu then choose "Run..." enter "cmd" a

RE: Need of serious help

2005-04-13 Thread Dave \"The Gerb\"
for responses. Thank you all! Dave -Original Message- From: Patrick Roumanoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 7:57 PM To: Maven Users List Subject: RE: Need of serious help run the maven.bat command from the command line then you'll be able to see the me

RE: Need of serious help

2005-04-13 Thread Patrick Roumanoff
gt; Sent: Thursday, 14 April 2005 09:26 > To: 'Maven Users List' > Subject: Need of serious help > > > > Big newbie here gang. > > I tried to get Maven 1.0.2 to run on here (here = win2000) > but never to any > avail. First, Id click on maven.bat an

Re: Need of serious help

2005-04-13 Thread Arik Kfir
Hi Dave, Did you define JAVA_HOME and (optionally) MAVEN_HOME on your machine? More over, the maven.bat is mainly a command line client - e.g. you need to specify WHAT you want it to do - for instance: C:\dvlp\myproject> maven java:compile or: C:\dvlp\myproject> maven jar This will create a "t

Re: Need of serious help

2005-04-13 Thread Brett Porter
Many is a command line tool, and not intended to be run for a long time. You should select the command prompt from your start menu, and run "maven" from there. If it is not found, you need to add it to your path - you can find instructions in the "installation instructions" at maven.apache.org. P

Need of serious help

2005-04-13 Thread Dave \"The Gerb\"
Big newbie here gang. I tried to get Maven 1.0.2 to run on here (here = win2000) but never to any avail. First, Id click on maven.bat and a dos window would pop up and close so fast could never read any messages. After some website reading (further), tweaking, variable editing it would at least s