[Biojava-dev] Docbook error

Matthew Pocock matthew_pocock@yahoo.co.uk
Wed, 06 Nov 2002 20:43:43 +0000


Could it be a binary-file-in-cvs-as-text problem? On my linux box I get 
further, and then it looks for the dtd under 
/usr/share/sgml/docbook/xml-dtd/docbookx.dtd rather than in 
ant-build/lib/xml-dtd-4.2

-M


Schreiber, Mark wrote:
> Hi -
> 
> I just did a cvs update and tried the docbook target in the ant build
> and got:
> 
> C:\src\cvs\biojava-live>ant docbook
> Buildfile: build.xml
> 
> init:
>      [echo] JUnit present:                   ${junit.present}
>      [echo] JUnit supported by Ant:          true
> 
> prepare:
> 
> prepare-core:
> 
> prepare-docs:
>      [echo] Trax API present:                true
>     [unjar] Expanding: C:\src\cvs\biojava-live\docbook.jar into
> C:\src\cvs\biojava-live\ant-build\lib
> 
> BUILD FAILED
> java.lang.IllegalArgumentException
>         at
> java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:291)
>         at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:230)
>         at
> java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:75)
>         at
> org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:156)
>         at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:127)
>         at org.apache.tools.ant.Task.perform(Task.java:319)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:336)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> Total time: 6 seconds
> java.lang.IllegalArgumentException
>         at
> java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:291)
>         at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:230)
>         at
> java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:75)
>         at
> org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:156)
>         at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:127)
>         at org.apache.tools.ant.Task.perform(Task.java:319)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:336)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> 
> Is this working on other peoples machines or am I needing to install
> some other files?
> 
> Mark Schreiber PhD
> Bioinformatics
> AgResearch Invermay
> PO Box 50034
> Mosgiel
> New Zealand
>  
> PH:   +64 3 489 9175
> FAX:  +64 3 489 3739
> 
> =======================================================================
> Attention: The information contained in this message and/or attachments
> from AgResearch Limited is intended only for the persons or entities
> to which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipients is prohibited by AgResearch
> Limited. If you have received this message in error, please notify the
> sender immediately.
> =======================================================================
> _______________________________________________
> biojava-dev mailing list
> biojava-dev@biojava.org
> http://biojava.org/mailman/listinfo/biojava-dev
> 


-- 
BioJava Consulting LTD - Support and training for BioJava
http://www.biojava.co.uk

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com