David Crossley wrote:
> David Crossley wrote:
> > When i do the quick test of the release candidate package,
> > it won't run straight away as advertised at ./index.html
> >
> > mkdir /local/08-test-release-rc1 and cd there
> > set FORREST_HOME and PATH
> >
> > cd site-author
> > forrest run
> > ---------------
> > Apache Forrest. Run 'forrest -projecthelp' to list options
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/tools/ant/launch/Launcher
> > ---------------
> >
> > I also tried to 'cd main; build' but same error
> > at the beginning of the process.
> >
> > With an up-to-date trunk, try the 'release-dist' target.
> > Unpack it and see how you go.
> >
> > NOTE: Please do not use that for testing and voting.
> > It must be using the final package that i provide
> > in the next step.
>
> By the way, when i return to using the trunk that built
> the release, then it works properly using the left-over
> build from running the "release-dist".
Listing the jar contents after unpacking the *.tar.gz ...
[apache-forrest-0.8]$ jar tvf build/xml-forrest.jar
0 Tue Apr 10 21:33:12 EST 2007 META-INF/
java.util.zip.ZipException: oversubscribed literal/length tree
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
at sun.tools.jar.Main.list(Main.java:744)
at sun.tools.jar.Main.run(Main.java:192)
at sun.tools.jar.Main.main(Main.java:904)
Listing the jar contents after unpacking the *.zip ...
[dos/apache-forrest-0.8]$ jar tvf build/xml-forrest.jar
java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:298)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:237)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
at sun.tools.jar.Main.list(Main.java:736)
at sun.tools.jar.Main.run(Main.java:192)
at sun.tools.jar.Main.main(Main.java:904)
While doing the same back in trunk (on the jar that
remains after running the "release-dist") all is well.
-David