On 19 Sep 2003, mark stephens <mark@idrsolutions.com> wrote:
> I've switched to Ant 1.6 (build 9/9/2003) in Eclipse.
I don't know anything about the Ant/Eclipse integration, but surely
something must have gone wrong or incomplete here.
> There are no duplicates.
If org.apache.tools.zip.ZipOutputStream doesn't have a file-arg
constructor in your ant.jar, the jar is broken. If it has, there must
be another place with this class somewhere in your classpath (and this
class gets loaded instead of the ant.jar version).
This is what
javap -classpath YOUR-PATH-TO/ant.jar -public org.apache.tools.zip.ZipOutputStream
should return
Compiled from ZipOutputStream.java
public class org.apache.tools.zip.ZipOutputStream extends java.io.FilterOutputStream {
public static final int DEFLATED;
public static final int STORED;
public org.apache.tools.zip.ZipOutputStream(java.io.OutputStream);
public org.apache.tools.zip.ZipOutputStream(java.io.File) throws java.io.IOException;
public boolean isSeekable();
public void setEncoding(java.lang.String);
public java.lang.String getEncoding();
public void finish() throws java.io.IOException;
public void closeEntry() throws java.io.IOException;
public void putNextEntry(org.apache.tools.zip.ZipEntry) throws java.io.IOException;
public void setComment(java.lang.String);
public void setLevel(int);
public void setMethod(int);
public void write(byte[], int, int) throws java.io.IOException;
public void write(int) throws java.io.IOException;
public void close() throws java.io.IOException;
public void flush() throws java.io.IOException;
}
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|