ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33583] - javac task ZipException - linux - java 1.5
Date Fri, 18 Feb 2005 13:06:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33583>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33583


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From peterreilly@apache.org  2005-02-18 14:06 -------
You are getting the exception because you are placing class files in
the classpath - for example at the command line:
javac -cp classes/peter/Hello.class -d x -sourcepath src src/peter/Hello.java
error: error reading classes/peter/Hello.class; java.util.zip.ZipException:
error in opening zip file

You need to change the "sms-all-classes" to something like:
<path id="sms-all-classes">
  <pathelement location="${bin}"/>
  <pathelement location="${jakarta.home}/common"/>
 .. etc
</path>


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message