Have located the problem.  If you have magic already installed then as
far as the running ant process is concerned - magic is already part of
the running process and the 'ant setup' target is modifying the magic
jar file.  The modification of the jar is what is causing the Invalid
LOC header (bad signature) exception.  

The good news is that if you run 'ant setup' again it should work
because the files will now be the same (at least that what's happening
here on my machine).

Steve.


> -----Original Message-----
> From: S V Subramonian [mailto:[EMAIL PROTECTED]
> Sent: 09 September 2004 18:19
> To: Avalon framework users
> Subject: RE: Merlin - JMX Demo
> 
> Hi Steve,
> 
> As requested by you, I fetched the latest version and
> tried to build. I am getting the same error. FYI, I am
> using ant 1.6.2.
> 
> I have added the error message to this email.
> 
> ERROR MESSAGE:
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> D:\avalon>ant -version
> Apache Ant version 1.6.2 compiled on July 16 2004
> D:\avalon>cd ..
> 
> D:\> svn co
> http://svn.apache.org/repos/asf/avalon/trunk avalon
> U  avalon\runtime\repository\test\build.properties
> U  avalon\runtime\meta\impl\build.properties
> U
>
avalon\runtime\composition\impl\src\java\org\apache\avalon\composition\m
od
> el\
> impl\Commissioner.java
> U
>
avalon\runtime\composition\impl\src\java\org\apache\avalon\composition\m
od
> el\
> impl\DefaultContainmentModel.java
> A  avalon\central\site\New Text Document.txt
> U
> avalon\central\laboratory\avalon-
> net\DynamicProxy\Apache.Avalon.DynamicProxy.
> csproj
> U
> avalon\central\laboratory\avalon-
> net\DynamicProxy\DynamicProxyTest\CustomProx
> yGeneratorTestCase.cs
> U
> avalon\central\laboratory\avalon-
> net\DynamicProxy\DynamicProxyTest\ProxyGener
> atorTestCase.cs
> A
> avalon\central\laboratory\avalon-
> net\DynamicProxy\Builder\DefaultProxyBuilder
> .cs
> D
> avalon\central\laboratory\avalon-
> net\DynamicProxy\Builder\ProxyBuilderImpl.cs
> 
> U
> avalon\central\laboratory\avalon-net\DynamicProxy\ProxyGenerator.cs
> Checked out revision 43611.
> 
> D:\>cd avalon
> 
> D:\avalon>ant setup
> Buildfile: build.xml
> 
> check-magic-home:
> 
> declare-magic-home:
> 
> setup:
> 
> check-magic-home:
> 
> declare-magic-home:
> 
> setup-proxy:
> 
> setup-antlib:
> 
> create-magic-home:
>      [echo] Preparing magic system using C:\Documents
> and Settings\SSubramonian/
> .magic
>      [echo] Using home directory: C:\Documents and
> Settings\SSubramonian/.magic
>      [echo] Using cache: C:\Documents and
> Settings\SSubramonian/.magic/main
>      [echo] Using doc repository: C:\Documents and
> Settings\SSubramonian/.magic/
> docs
>       [get] Getting:
> http://www.dpml.net/avalon/tools/bars/avalon-tools-magic.ba
> r
>     [unzip] Expanding: C:\Documents and
> Settings\SSubramonian\.magic\main\avalon
> \tools\bars\avalon-tools-magic.bar into C:\Documents
> and Settings\SSubramonian\.
> magic\main\avalon\tools
>      [copy] Copying 1 file to C:\Documents and
> Settings\SSubramonian\.magic
>      [copy] Warning:  modified in the future.
>      [copy] Copying 2 files to C:\Documents and
> Settings\SSubramonian\.magic\tem
> plates
>      [copy] Warning:  modified in the future.
>      [copy] Warning: modern modified in the future.
>      [copy] Warning: modern\html modified in the
> future.
>      [copy] Warning: modern\html\resources modified in
> the future.
>      [copy] Warning: modern\html\resources\images
> modified in the future.
>      [copy] Warning: modern\html\resources\styles
> modified in the future.
>      [copy] Copying 3 files to C:\Documents and
> Settings\SSubramonian\.magic\the
> mes
>      [copy] Warning: avalon-tools-magic.jar modified
> in the future.
>      [copy] Copying 1 file to C:\Documents and
> Settings\SSubramonian\.ant\lib
> 
> setup-junit:
> 
> setup:
>      [echo] Setup complete.
> 
> BUILD FAILED
> java.lang.InternalError: jzentry == 0,
>  jzfile = 9413336,
>  total = 81,
>  name = C:\Documents and
> Settings\SSubramonian\.ant\lib\avalon-tools-magic.jar,
>  i = 10,
>  message = invalid LOC header (bad signature)
> 
> Total time: 18 seconds
> D:\avalon>
> 
> 
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> regards,
> Subbu
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- Stephen McConnell <[EMAIL PROTECTED]> wrote:
> 
> >
> >
> > > BUILD FAILED
> > > java.lang.InternalError: jzentry == 0,
> > >  jzfile = 9413336,
> > >  total = 79,
> > >  name = C:\Documents and
> > >
> >
> Settings\SSubramonian\.ant\lib\avalon-tools-magic.jar,
> > >  i = 17,
> > >  message = invalid LOC header (bad signature)
> >
> > Ummm - that's strange.  Could you try again (I've
> > just posted a clean
> > build of the jar and bar file).   Also - make sure
> > you are running with
> > Ant 1.6.2.
> >
> > Cheers, Steve.
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> 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