From users-return-8156-apmail-maven-users-archive=maven.apache.org@maven.apache.org Mon Aug 25 12:00:03 2003 Return-Path: Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 12557 invoked by uid 500); 25 Aug 2003 12:00:01 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 12487 invoked from network); 25 Aug 2003 12:00:00 -0000 Received: from pat.uio.no (129.240.130.16) by daedalus.apache.org with SMTP; 25 Aug 2003 12:00:00 -0000 Received: from mail-mx4.uio.no ([129.240.10.45]) by pat.uio.no with esmtp (Exim 4.20) id 19qtDo-0003oK-RE for users@maven.apache.org; Sun, 24 Aug 2003 13:39:48 +0200 Received: from fimm.ifi.uio.no ([129.240.65.205]) by mail-mx4.uio.no with esmtp (Exim 4.14) id 19qtDm-0001Ts-Jn for users@maven.apache.org; Sun, 24 Aug 2003 13:39:46 +0200 Received: from localhost (trygvela@localhost) by fimm.ifi.uio.no ; Sun, 24 Aug 2003 13:39:36 +0200 (MEST) Date: Sun, 24 Aug 2003 13:39:36 +0200 (MEST) From: =?ISO-8859-1?Q?Trygve_Laugst=F8l?= To: Maven Users List Subject: Re: installing maven In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning. X-UiO-MailScanner: No virus found X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 22 Aug 2003, Thakkar, Hetal wrote: > I am running in to the following problem while trying to install maven. > > I downloaded the Maven zip file and extracted it. > I also setup the MAVEN_HOME and PATH variables. > > But I cannot run the %MAVEN_HOME%\bin\install_repo.bat > %HOME%\.maven\repository command since install_repo.bat does not exist. > I am not sure what is going wrong. Also, two days back on 20th the > instructions were different for installing then now. > > If I try to run maven without running the install_repo.bat then I get > the following error, regardless of the parameters passed to maven: > java.net.MalformedURLException: unknown protocol: c > at java.net.URL.(URL.java:586) > at java.net.URL.(URL.java:476) > at java.net.URL.(URL.java:425) > at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) > at com.werken.forehead.Forehead.load(Forehead.java:322) > at com.werken.forehead.Forehead.config(Forehead.java:245) > at com.werken.forehead.Forehead.config(Forehead.java:131) > at com.werken.forehead.Forehead.main(Forehead.java:571) > > Could this be because I am behind a firewall? > > Any suggestions will be appriciated. > > Thanks, > Hetal > This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org