You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by richard head <du...@hotmail.com> on 2007/08/18 00:06:57 UTC

VFS 20070724 Build Problem

It appears that the jar at: 
http://www.ibiblio.org/maven/ant/jars/ant-1.6.2.jar is corrupted. I have 
deleted and retried several times with no luck.
Also, why is an attempt made to grab the jar from  
http://people.apache.org/repository/ant/jars/ant-1.6.2.jar if the initial 
get reports the file as "Not Modified"?

get-dep-ant.jar:
      [get] Getting: http://www.ibiblio.org/maven/ant/jars/ant-1.6.2.jar
      [get] To: C:\Documents and Settings\rh.WTO-WB077809\.maven\repository\
ant\jars\ant-1.6.2.jar
      [get] Not modified - so not downloaded
      [get] Getting: 
http://people.apache.org/repository/ant/jars/ant-1.6.2.jar
      [get] To: C:\Documents and Settings\rh.WTO-WB077809\.maven\repository\
ant\jars\ant-1.6.2.jar
      [get] Error opening connection java.io.FileNotFoundException: 
http://peopl
e.apache.org/repository/ant/jars/ant-1.6.2.jar
      [get] Error opening connection java.io.FileNotFoundException: 
http://peopl
e.apache.org/repository/ant/jars/ant-1.6.2.jar
      [get] Error opening connection java.io.FileNotFoundException: 
http://peopl
e.apache.org/repository/ant/jars/ant-1.6.2.jar
      [get] Can't get 
http://people.apache.org/repository/ant/jars/ant-1.6.2.jar
to C:\Documents and Settings\rh.WTO-WB077809\.maven\repository\ant\jars\ant
-1.6.2.jar

<snip>

compile:
    [javac] Compiling 219 source files to c:\Documents and Settings\rh.WTO-W
B077809\java\commons-vfs-20070724-src\target\classes
    [javac] error: error reading C:\Documents and Settings\rh.WTO-WB077809\.
maven\repository\ant\jars\ant-1.6.2.jar; error in opening zip file
    [javac] error: error reading C:\Documents and Settings\rh.WTO-WB077809\.
maven\repository\commons-net\jars\commons-net-1.4.1.jar; error in opening 
zip file


$ jar xf ../../.maven/repository/ant/jars/ant-1.6.2.jar
java.io.EOFException: Unexpected end of ZLIB input stream
        at 
java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
        at 
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:146)
        at sun.tools.jar.Main.extractFile(Main.java:827)
        at sun.tools.jar.Main.extract(Main.java:762)
        at sun.tools.jar.Main.run(Main.java:210)
        at sun.tools.jar.Main.main(Main.java:1022)

So I tried using Maven instead, which I know nothing about, and received 
this error:

Scanning for projects...
[INFO] 
-------------------------------------------------------------------------
---
[INFO] Building Maven Default Project
[INFO]    task-segment: [install]
[INFO] 
-------------------------------------------------------------------------
---
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an 
existing pom.xml, but the build is not using one.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Aug 17 11:11:19 PDT 2007
[INFO] Final Memory: 3M/6M
[INFO] 
------------------------------------------------------------------------

Can someone explain this to me? I don't have a problem with learning Maven, 
although I would rather complete my project thats uses VFS before getting 
into it.

Thanks

_________________________________________________________________
Now you can see troubleĀ…before he arrives 
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_protection_0507


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org