Marco Tedone wrote:

Hi, I'm nearly finished with Merlin installation; however, I'm doing
something wrong as the following command:

$ merlin - version

gives me the following output:

Exception in thread "main" java.util.zip.ZipException: The system cannot
find the path specified
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(Unknown Source)
       at java.util.jar.JarFile.<init>(Unknown Source)
       at java.util.jar.JarFile.<init>(Unknown Source)


The only reason why this error could occur is if the location of the jar file referenced by the merlin.bar file is incorrect (its basically the java command not finding the merlin cli jar file). This suggests that there may be a problem in the definition of MELRIN_HOME.


What happens when you do the following command:

$ dir %MERLIN_HOME%\bin\lib\

Stephen.



I'm following the instructions at the following URL:


http://avalon.apache.org/merlin/starting/installation/3.2/binary.html

However the following piece of code it's not clear to me:

"Versions of Merlin prior to the 3.2-dev 20031210 build maintained a local
repository of jar files under the %MERLIN_HOME%/repository directory. As of
the 20031210 build the repository is maintained under AVALON_HOME which
defaults to ${user.home}/.avalon. To override this behaviour you can either
define a AVALON_HOME environment variable or you can add a merlin.properties
file to ${user.home} containing the "merlin.repository" property key and a
value point to you preferred repository location."
I've in order:

1) Created a folder named merlin-SNAPSHOT
2) Copied under this folder /merlin and /plugins built from the avalon CVS
distribution (that created /merlin/target/merlin)
3) Set the MERLIN_HOME variable to merlin-SNAPSHOT
4) Added MERLIN_HOME/bin to the Path

Now I am not clear about what to do: shall I declared an AVALON_HOME which
points to the Avalon CVS distribution from which I built merlin?

I'm running on Windows XP.

Thanks for any help,

Marco




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





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





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



Reply via email to