Yes. I am not sure what is up with tools.jar. The file looks like the following:

+maven.home
+java.home
+tools.jar

=[root.maven] org.apache.maven.cli.App

[root]
    ${tools.jar}
    ${maven.home}/lib/commons-grant-1.0-beta-4.jar
    ${maven.home}/lib/ant-1.5.3-1.jar
...

I did not see tools.jar or whatever it refers to.

Also, someone said to try to set JAVA_HOME to the jdk directory, so I set it to 
"c:\J2SDK_Forte\jdk1.4.0", where the bin, include, jre etc directories are. After this 
the error looks like the following:

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:543)
        at com.werken.forehead.Forehead.main(Forehead.java:573)
Caused by: java.lang.NoSuchMethodError: org.dom4j.io.XMLWriter.setEscapeText(Z)V

        at org.apache.commons.jelly.XMLOutput.createXMLOutput(XMLOutput.java:189
)
        at org.apache.maven.cli.App.initializeRootContext(App.java:339)
        at org.apache.maven.cli.App.initialize(App.java:283)
        at org.apache.maven.cli.App.doMain(App.java:449)
        at org.apache.maven.cli.App.main(App.java:1074)
        ... 6 more

Thanks,
Hetal


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 6:47 PM
To: Maven Users List
Subject: RE: installing maven


Ok what about the other jar files listed in $MAVEN_HOME\bin\forehead.conf? 
Do they all exist?

--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"Thakkar, Hetal" <[EMAIL PROTECTED]> wrote on 27/08/2003 
01:10:58 AM:

> JAVA_HOME is set to "c:\J2SDK_Forte\jdk1.4.0\jre", where the bin and
> lib directory for java are.
> 
> Thanks,
> Hetal
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 25, 2003 8:05 PM
> To: Maven Users List
> Subject: RE: installing maven
> 
> 
> Is JAVA_HOME set?
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
> 
> 
> "Thakkar, Hetal" <[EMAIL PROTECTED]> wrote on 26/08/2003 
> 02:44:59 AM:
> 
> > I have not specified any urls any where. I am just trying to run 
> > maven, out of the box.
> > 
> > Thanks,
> > Hetal
> > 
> > -----Original Message-----
> > From: Trygve Laugst�l [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, August 24, 2003 4:40 AM
> > To: Maven Users List
> > Subject: Re: installing maven
> > 
> > 
> > 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.<init>(URL.java:586)
> > >         at java.net.URL.<init>(URL.java:476)
> > >         at java.net.URL.<init>(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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to