Opened 14 years ago

Closed 13 years ago

#27776 closed defect (fixed)

commons-fileupload does not build

Reported by: ivanchi69@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), pixilla (Bradley Giesbrecht), jborchers@…, brett@…
Port: commons-fileupload

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I get this error on the commons-fileupload dependency when i try to install tomcat6

Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install commons-fileupload
Log for commons-fileupload is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-fileupload/main.log

thanks

Attachments (2)

main.log (15.4 KB) - added by ivanchi69@… 14 years ago.
main.log
main.2.log (29.5 KB) - added by jborchers@… 14 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: tomcat6 commons-fileupload removed
Port: commons-fileupload added; tomcat6 removed
Summary: Error while installing tomcat6commons-fileupload failed to install

Don't forget to use WikiFormatting.

commons-fileupload installs fine for me. Please attach the main.log file mentioned above so we can see what went wrong on your system.

Changed 14 years ago by ivanchi69@…

Attachment: main.log added

main.log

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: commons-fileupload failed to installcommons-fileupload: Error opening connection java.io.FileNotFoundException

The relevant error seems to be:

      [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar

See also #28732.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: commons-fileupload: Error opening connection java.io.FileNotFoundExceptioncommons-fileupload does not build

Or maybe that's not relevant after all.

comment:4 Changed 14 years ago by jborchers@…

I also do have the same error with installing tomcat6 on Mac OS X 10.6.6 with Java 1.6.0_24-b07-334 and MacPorts Version: 1.9.2

--->  Building commons-fileupload
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install commons-fileupload
Log for commons-fileupload is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-fileupload/main.log

Changed 14 years ago by jborchers@…

Attachment: main.2.log added

comment:5 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:6 Changed 13 years ago by brett@…

ports version: 2.0.3
OS X Lion
Tomcat 6
Mac Book Pro - Early 2011
Xcode: 4.1

When trying to reinstall tomcat6 after some issues with bad memory and whilst reinstalling I received a build failure message

I've tried:

  1. sudo port install tomcat6 build.asroot=yes as suggested in #30448
  2. The approach suggested here #28732

I've also tried installing the commons-fileupload package on it's own, to no avail. All output is based on the following command

sudo port install commons-fileupload

Main.log Output

:debug:main epoch: in tree: 0 installed: 0
:debug:main apache-ant 1.8.2_0 exists in the ports tree
:debug:main apache-ant 1.8.2_0  is the latest installed
:debug:main apache-ant 1.8.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/apache-ant
:debug:main OS darwin/11.1.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main No need to upgrade! apache-ant 1.8.2_0 >= apache-ant 1.8.2_0
:debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
:debug:main epoch: in tree: 0 installed: 0
:debug:main junit 4.6_2 exists in the ports tree
:debug:main junit 4.6_2  is the latest installed
:debug:main junit 4.6_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/junit
:debug:main OS darwin/11.1.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main No need to upgrade! junit 4.6_2 >= junit 4.6_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main hamcrest-core 1.2_0 exists in the ports tree
:debug:main hamcrest-core 1.2_0  is the latest installed
:debug:main hamcrest-core 1.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/hamcrest-core
:debug:main OS darwin/11.1.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main No need to upgrade! hamcrest-core 1.2_0 >= hamcrest-core 1.2_0
:debug:main epoch: in tree: 20061005 installed: 20061005
:debug:main servlet23-api 1_0 exists in the ports tree
:debug:main servlet23-api 1_0  is the latest installed
:debug:main servlet23-api 1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/servlet23-api
:debug:main OS darwin/11.1.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main No need to upgrade! servlet23-api 1_0 >= servlet23-api 1_0
:debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
:debug:main kaffe is *not* installed by MacPorts
:debug:main Searching for dependency: kaffe
:debug:main Didn't find receipt, going to depspec regex for: kaffe
:debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
:debug:main kaffe not installed, soft dependency satisfied
:msg:main --->  Computing dependencies for commons-fileupload:info:main .:debug:main Searching for dependency: apache-ant
:debug:main Found Dependency: receipt exists for apache-ant
:debug:main Searching for dependency: kaffe
:debug:main Didn't find receipt, going to depspec regex for: kaffe
:debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
:debug:main Found Dependency: path: /usr/bin filename: java regex: ^java$
:debug:main Searching for dependency: junit
:debug:main Found Dependency: receipt exists for junit
:debug:main Searching for dependency: servlet23-api
:debug:main Found Dependency: receipt exists for servlet23-api
:msg:main 
:debug:main Executing org.macports.main (commons-fileupload)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Mon Sep 12 18:59:52 BST 2011
:msg:archivefetch --->  Fetching archive for commons-fileupload
:debug:archivefetch Executing org.macports.archivefetch (commons-fileupload)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/software/commons-fileupload to macports
:debug:archivefetch euid/egid changed to: 502/501
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  commons-fileupload-1.2.1_0.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/commons-fileupload
:msg:archivefetch --->  Attempting to fetch commons-fileupload-1.2.1_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/commons-fileupload
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Sep 12 18:59:52 BST 2011
:notice:fetch --->  Fetching commons-fileupload
:debug:fetch euid/egid changed to: 0/0
:debug:fetch chowned /opt/local/var/macports/distfiles/commons-fileupload to macports
:debug:fetch euid/egid changed to: 502/501
:debug:fetch Executing org.macports.fetch (commons-fileupload)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Sep 12 18:59:52 BST 2011
:notice:checksum --->  Verifying checksum(s) for commons-fileupload
:debug:checksum Executing org.macports.checksum (commons-fileupload)
:info:checksum --->  Checksumming commons-fileupload-1.2.1-src.tar.gz
:debug:checksum Correct (md5) checksum for commons-fileupload-1.2.1-src.tar.gz
:debug:checksum Correct (sha1) checksum for commons-fileupload-1.2.1-src.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Mon Sep 12 18:59:52 BST 2011
:notice:extract --->  Extracting commons-fileupload
:debug:extract Executing org.macports.extract (commons-fileupload)
:info:extract --->  Extracting commons-fileupload-1.2.1-src.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/commons-fileupload/commons-fileupload-1.2.1-src.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/commons-fileupload/commons-fileupload-1.2.1-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/commons-fileupload/commons-fileupload-1.2.1-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:info:extract /usr/bin/gnutar: A lone zero block at 1136
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Sep 12 18:59:52 BST 2011
:debug:patch Executing org.macports.patch (commons-fileupload)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Sep 12 18:59:52 BST 2011
:notice:configure --->  Configuring commons-fileupload
:debug:configure Using compiler 'Mac OS X llvm-gcc 4.2'
:debug:configure Executing org.macports.configure (commons-fileupload)
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Sep 12 18:59:52 BST 2011
:notice:build --->  Building commons-fileupload
:debug:build Executing org.macports.build (commons-fileupload)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' CLASSPATH='/opt/local/share/java/servlet23-api.jar:/opt/local/share/java/junit.jar'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name=commons-fileupload -Dnoget=true'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name=commons-fileupload -Dnoget=true 
:info:build Buildfile: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/build.xml
:info:build 
:info:build init:
:info:build 
:info:build setProxy:
:info:build 
:info:build noProxy:
:info:build      [echo] Proxy not used.
:info:build 
:info:build get-custom-dep-commons-io.jar:
:info:build 
:info:build get-dep-commons-io.jar:
:info:build       [get] Getting: http://repo1.maven.org/maven/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] To: /Users/brettking/.maven/repository/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] Not modified - so not downloaded
:info:build       [get] Getting: http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] To: /Users/brettking/.maven/repository/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar
:info:build       [get] Can't get http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar to /Users/brettking/.maven/repository/commons-io/jars/commons-io-1.3.2.jar
:info:build 
:info:build get-custom-dep-servlet-api.jar:
:info:build 
:info:build get-dep-servlet-api.jar:
:info:build       [get] Getting: http://repo1.maven.org/maven/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] To: /Users/brettking/.maven/repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] Not modified - so not downloaded
:info:build       [get] Getting: http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] To: /Users/brettking/.maven/repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build       [get] Can't get http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars/servlet-api-2.4.jar to /Users/brettking/.maven/repository/javax.servlet/jars/servlet-api-2.4.jar
:info:build 
:info:build get-custom-dep-portlet-api.jar:
:info:build 
:info:build get-dep-portlet-api.jar:
:info:build       [get] Getting: http://repo1.maven.org/maven/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] To: /Users/brettking/.maven/repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] Not modified - so not downloaded
:info:build       [get] Getting: http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] To: /Users/brettking/.maven/repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build       [get] Can't get http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars/portlet-api-1.0.jar to /Users/brettking/.maven/repository/javax.portlet/jars/portlet-api-1.0.jar
:info:build 
:info:build get-custom-dep-junit.jar:
:info:build 
:info:build get-dep-junit.jar:
:info:build       [get] Getting: http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar
:info:build       [get] To: /Users/brettking/.maven/repository/junit/jars/junit-3.8.1.jar
:info:build       [get] Not modified - so not downloaded
:info:build       [get] Getting: http://people.apache.org/repo/m1-snapshot-repository/junit/jars/junit-3.8.1.jar
:info:build       [get] To: /Users/brettking/.maven/repository/junit/jars/junit-3.8.1.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/junit/jars/junit-3.8.1.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/junit/jars/junit-3.8.1.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/junit/jars/junit-3.8.1.jar
:info:build       [get] Can't get http://people.apache.org/repo/m1-snapshot-repository/junit/jars/junit-3.8.1.jar to /Users/brettking/.maven/repository/junit/jars/junit-3.8.1.jar
:info:build 
:info:build get-custom-dep-maven-xdoc-plugin.jar:
:info:build 
:info:build get-dep-maven-xdoc-plugin.jar:
:info:build       [get] Getting: http://repo1.maven.org/maven/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] To: /Users/brettking/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] Not modified - so not downloaded
:info:build       [get] Getting: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] To: /Users/brettking/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build       [get] Can't get http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar to /Users/brettking/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar
:info:build 
:info:build get-custom-dep-maven-changelog-plugin.jar:
:info:build 
:info:build get-dep-maven-changelog-plugin.jar:
:info:build       [get] Getting: http://repo1.maven.org/maven/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] To: /Users/brettking/.maven/repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] Not modified - so not downloaded
:info:build       [get] Getting: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] To: /Users/brettking/.maven/repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] Error opening connection java.io.FileNotFoundException: http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build       [get] Can't get http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-changelog-plugin-1.9.1.jar to /Users/brettking/.maven/repository/maven/plugins/maven-changelog-plugin-1.9.1.jar
:info:build 
:info:build get-deps:
:info:build 
:info:build compile:
:info:build     [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/target/classes
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/build.xml:80: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
:info:build     [javac] Compiling 27 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/target/classes
:info:build     [javac] error: error reading /Users/brettking/.maven/repository/commons-io/jars/commons-io-1.3.2.jar; cannot read zip file
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java:38: package org.apache.commons.io does not exist
:info:build     [javac] import org.apache.commons.io.IOUtils;
:info:build     [javac]                             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java:39: package org.apache.commons.io.output does not exist
:info:build     [javac] import org.apache.commons.io.output.DeferredFileOutputStream;
:info:build     [javac]                                    ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java:166: cannot find symbol
:info:build     [javac] symbol  : class DeferredFileOutputStream
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItem
:info:build     [javac]     private transient DeferredFileOutputStream dfos;
:info:build     [javac]                       ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java:23: package org.apache.commons.io does not exist
:info:build     [javac] import org.apache.commons.io.FileCleaningTracker;
:info:build     [javac]                             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java:92: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItemFactory
:info:build     [javac]     private FileCleaningTracker fileCleaningTracker;
:info:build     [javac]             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java:213: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItemFactory
:info:build     [javac]     public FileCleaningTracker getFileCleaningTracker() {
:info:build     [javac]            ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java:224: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItemFactory
:info:build     [javac]     public void setFileCleaningTracker(FileCleaningTracker pTracker) {
:info:build     [javac]                                        ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:22: package javax.portlet does not exist
:info:build     [javac] import javax.portlet.ActionRequest;
:info:build     [javac]                     ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:69: cannot find symbol
:info:build     [javac] symbol  : class ActionRequest
:info:build     [javac] location: class org.apache.commons.fileupload.portlet.PortletFileUpload
:info:build     [javac]     public static final boolean isMultipartContent(ActionRequest request) {
:info:build     [javac]                                                    ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:117: cannot find symbol
:info:build     [javac] symbol  : class ActionRequest
:info:build     [javac] location: class org.apache.commons.fileupload.portlet.PortletFileUpload
:info:build     [javac]     public List /* FileItem */ parseRequest(ActionRequest request)
:info:build     [javac]                                             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:138: cannot find symbol
:info:build     [javac] symbol  : class ActionRequest
:info:build     [javac] location: class org.apache.commons.fileupload.portlet.PortletFileUpload
:info:build     [javac]     public FileItemIterator getItemIterator(ActionRequest request)
:info:build     [javac]                                             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java:21: package javax.portlet does not exist
:info:build     [javac] import javax.portlet.ActionRequest;
:info:build     [javac]                     ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java:41: cannot find symbol
:info:build     [javac] symbol  : class ActionRequest
:info:build     [javac] location: class org.apache.commons.fileupload.portlet.PortletRequestContext
:info:build     [javac]     private ActionRequest request;
:info:build     [javac]             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java:51: cannot find symbol
:info:build     [javac] symbol  : class ActionRequest
:info:build     [javac] location: class org.apache.commons.fileupload.portlet.PortletRequestContext
:info:build     [javac]     public PortletRequestContext(ActionRequest request) {
:info:build     [javac]                                  ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/FileCleanerCleanup.java:23: package org.apache.commons.io does not exist
:info:build     [javac] import org.apache.commons.io.FileCleaningTracker;
:info:build     [javac]                             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/FileCleanerCleanup.java:46: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.servlet.FileCleanerCleanup
:info:build     [javac]     public static FileCleaningTracker
:info:build     [javac]                   ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/FileCleanerCleanup.java:59: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.servlet.FileCleanerCleanup
:info:build     [javac]             FileCleaningTracker pTracker) {
:info:build     [javac]             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java:441: cannot find symbol
:info:build     [javac] symbol  : variable IOUtils
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItem
:info:build     [javac]                         IOUtils.copy(in, out);
:info:build     [javac]                         ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java:557: cannot find symbol
:info:build     [javac] symbol  : class DeferredFileOutputStream
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItem
:info:build     [javac]             dfos = new DeferredFileOutputStream(sizeThreshold, outputFile);
:info:build     [javac]                        ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItem.java:710: cannot find symbol
:info:build     [javac] symbol  : variable IOUtils
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItem
:info:build     [javac]             IOUtils.copy(input, output);
:info:build     [javac]             ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java:198: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.disk.DiskFileItemFactory
:info:build     [javac]         FileCleaningTracker tracker = getFileCleaningTracker();
:info:build     [javac]         ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:69: warning: [deprecation] isMultipartContent(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
:info:build     [javac]     public static final boolean isMultipartContent(ActionRequest request) {
:info:build     [javac]                                 ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:69: isMultipartContent(ActionRequest) in org.apache.commons.fileupload.portlet.PortletFileUpload cannot override isMultipartContent(org.apache.commons.fileupload.RequestContext) in org.apache.commons.fileupload.FileUploadBase; overridden method is static final
:info:build     [javac]     public static final boolean isMultipartContent(ActionRequest request) {
:info:build     [javac]                                 ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java:117: warning: [deprecation] parseRequest(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
:info:build     [javac]     public List /* FileItem */ parseRequest(ActionRequest request)
:info:build     [javac]                                ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/FileCleanerCleanup.java:48: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.servlet.FileCleanerCleanup
:info:build     [javac]         return (FileCleaningTracker)
:info:build     [javac]                 ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/FileCleanerCleanup.java:71: cannot find symbol
:info:build     [javac] symbol  : class FileCleaningTracker
:info:build     [javac] location: class org.apache.commons.fileupload.servlet.FileCleanerCleanup
:info:build     [javac]                 new FileCleaningTracker());
:info:build     [javac]                     ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/ServletFileUpload.java:66: warning: [deprecation] isMultipartContent(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
:info:build     [javac]     public static final boolean isMultipartContent(
:info:build     [javac]                                 ^
:info:build     [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/src/java/org/apache/commons/fileupload/servlet/ServletFileUpload.java:124: warning: [deprecation] parseRequest(javax.servlet.http.HttpServletRequest) in org.apache.commons.fileupload.FileUploadBase has been deprecated
:info:build     [javac]     public List /* FileItem */ parseRequest(HttpServletRequest request)
:info:build     [javac]                                ^
:info:build     [javac] Note: Some input files use unchecked or unsafe operations.
:info:build     [javac] Note: Recompile with -Xlint:unchecked for details.
:info:build     [javac] 25 errors
:info:build     [javac] 4 warnings
:info:build 
:info:build BUILD FAILED
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/build.xml:80: Compile failed; see the compiler error output for details.
:info:build 
:info:build Total time: 3 seconds
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name=commons-fileupload -Dnoget=true " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for commons-fileupload): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for commons-fileupload is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/main.log

build.xml Content

<?xml version="1.0" encoding="UTF-8"?>

<!--build.xml generated by maven from project.xml version 1.2.1
  on date September 5 2007, time 1015-->

<project default="jar" name="commons-fileupload" basedir=".">
  <!--Load local and user build preferences-->

  <property file="build.properties">
  </property>
  <property file="${user.home}/build.properties">
  </property>
  <!--Build properties-->

  <property name="defaulttargetdir" value="${basedir}/target">
  </property>
  <property name="libdir" value="${user.home}/.maven/repository">
  </property>
  <property name="classesdir" value="${basedir}/target/classes">
  </property>
  <property name="testclassesdir" value="${basedir}/target/test-classes">
  </property>
  <property name="testreportdir" value="${basedir}/target/test-reports">
  </property>
  <property name="distdir" value="${basedir}/dist">
  </property>
  <property name="javadocdir" value="${basedir}/dist/docs/api">
  </property>
  <property name="final.name" value="commons-fileupload-1.2.1">
  </property>
  <property name="proxy.host" value="">
  </property>
  <property name="proxy.port" value="">
  </property>
  <property name="proxy.username" value="">
  </property>
  <property name="proxy.password" value="">
  </property>
  <path id="build.classpath">
    <pathelement location="${libdir}/commons-io/jars/commons-io-1.3.2.jar">
    </pathelement>
    <pathelement location="${libdir}/javax.servlet/jars/servlet-api-2.4.jar">
    </pathelement>
    <pathelement location="${libdir}/javax.portlet/jars/portlet-api-1.0.jar">
    </pathelement>
    <pathelement location="${libdir}/junit/jars/junit-3.8.1.jar">
    </pathelement>
    <pathelement location="${libdir}/maven/plugins/maven-xdoc-plugin-1.9.2.jar">
    </pathelement>
    <pathelement location="${libdir}/maven/plugins/maven-changelog-plugin-1.9.1.jar">
    </pathelement>
  </path>
  <target name="init" description="o Initializes some properties">
    <mkdir dir="${libdir}">
    </mkdir>
    <condition property="noget">
      <equals arg2="only" arg1="${build.sysclasspath}">
      </equals>
    </condition>
    <!--Test if JUNIT is present in ANT classpath-->

    <available property="Junit.present" classname="junit.framework.Test">
    </available>
    <!--Test if user defined a proxy-->

    <condition property="useProxy">
      <and>
        <isset property="proxy.host">
        </isset>
        <not>
          <equals trim="true" arg2="" arg1="${proxy.host}">
          </equals>
        </not>
      </and>
    </condition>
  </target>
  <target name="compile" description="o Compile the code" depends="get-deps">
    <mkdir dir="${classesdir}">
    </mkdir>
    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
      <src>
        <pathelement location="${basedir}/src/java">
        </pathelement>
      </src>
      <classpath refid="build.classpath">
      </classpath>
    </javac>
    <mkdir dir="${classesdir}/META-INF">
    </mkdir>
    <copy todir="${classesdir}/META-INF">
      <fileset dir="${basedir}/.">
        <include name="NOTICE.txt">
        </include>
      </fileset>
    </copy>
  </target>
  <target name="jar" description="o Create the jar" depends="compile,test">
    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
    </jar>
  </target>
  <target name="clean" description="o Clean up the generated directories">
    <delete dir="${defaulttargetdir}">
    </delete>
    <delete dir="${distdir}">
    </delete>
  </target>
  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
    <mkdir dir="dist">
    </mkdir>
    <copy todir="dist">
      <fileset dir="${defaulttargetdir}" includes="*.jar">
      </fileset>
      <fileset dir="${basedir}" includes="LICENSE*, README*">
      </fileset>
    </copy>
  </target>
  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
    <fail message="There were test failures.">
    </fail>
  </target>
  <target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
    <mkdir dir="${testreportdir}">
    </mkdir>
    <junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
      <sysproperty key="basedir" value=".">
      </sysproperty>
      <formatter type="xml">
      </formatter>
      <formatter usefile="false" type="plain">
      </formatter>
      <classpath>
        <path refid="build.classpath">
        </path>
        <pathelement path="${ant.home}/lib/xml-apis.jar:${ant.home}/lib/xercesImpl.jar"/>
        <pathelement path="${testclassesdir}">
        </pathelement>
        <pathelement path="${classesdir}">
        </pathelement>
      </classpath>
      <batchtest todir="${testreportdir}">
        <fileset dir="${basedir}/src/test">
          <include name="**/*Test.java">
          </include>
        </fileset>
      </batchtest>
    </junit>
  </target>
  <target name="junit-present" unless="Junit.present" depends="init">
    <echo>================================= WARNING ================================</echo>
    <echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.</echo>
    <echo>==========================================================================</echo>
  </target>
  <target name="compile-tests" if="Junit.present" depends="junit-present,compile">
    <mkdir dir="${testclassesdir}">
    </mkdir>
    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
      <src>
        <pathelement location="${basedir}/src/test">
        </pathelement>
      </src>
      <classpath>
        <path refid="build.classpath">
        </path>
        <pathelement path="${classesdir}">
        </pathelement>
      </classpath>
    </javac>
    <copy todir="${testclassesdir}">
      <fileset dir="${basedir}/src/test">
        <include name="**/*.xml">
        </include>
      </fileset>
    </copy>
  </target>
  <target name="javadoc" description="o Generate javadoc" depends="get-deps">
    <mkdir dir="${javadocdir}">
    </mkdir>
    <tstamp>
      <format pattern="2002-yyyy" property="year">
      </format>
    </tstamp>
    <property name="copyright" value="Copyright &amp;copy;  The Apache Software Foundation. All Rights Reserved.">
    </property>
    <property name="title" value="FileUpload 1.2.1 API">
    </property>
    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${basedir}/src/java" packagenames="org.apache.commons.fileupload.*">
      <classpath>
        <path refid="build.classpath">
        </path>
      </classpath>
    </javadoc>
  </target>
  <target name="get-dep-commons-io.jar" description="o Download the dependency : commons-io.jar" unless="commons-io.jar" depends="init,setProxy,noProxy,get-custom-dep-commons-io.jar">
    <mkdir dir="${libdir}/commons-io/jars/">
    </mkdir>
    <get dest="${libdir}/commons-io/jars/commons-io-1.3.2.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/commons-io/jars/commons-io-1.3.2.jar">
    </get>
    <get dest="${libdir}/commons-io/jars/commons-io-1.3.2.jar" usetimestamp="true" ignoreerrors="true" src="http://people.apache.org/repo/m1-snapshot-repository/commons-io/jars/commons-io-1.3.2.jar">
    </get>
  </target>
  <target name="get-custom-dep-commons-io.jar" if="commons-io.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/commons-io/jars/">
    </mkdir>
    <get dest="${libdir}/commons-io/jars/commons-io-1.3.2.jar" usetimestamp="true" ignoreerrors="true" src="${commons-io.jar}">
    </get>
  </target>
  <target name="get-dep-servlet-api.jar" description="o Download the dependency : servlet-api.jar" unless="servlet-api.jar" depends="init,setProxy,noProxy,get-custom-dep-servlet-api.jar">
    <mkdir dir="${libdir}/javax.servlet/jars/">
    </mkdir>
    <get dest="${libdir}/javax.servlet/jars/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/javax.servlet/jars/servlet-api-2.4.jar">
    </get>
    <get dest="${libdir}/javax.servlet/jars/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true" src="http://people.apache.org/repo/m1-snapshot-repository/javax.servlet/jars/servlet-api-2.4.jar">
    </get>
  </target>
  <target name="get-custom-dep-servlet-api.jar" if="servlet-api.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/javax.servlet/jars/">
    </mkdir>
    <get dest="${libdir}/javax.servlet/jars/servlet-api-2.4.jar" usetimestamp="true" ignoreerrors="true" src="${servlet-api.jar}">
    </get>
  </target>
  <target name="get-dep-portlet-api.jar" description="o Download the dependency : portlet-api.jar" unless="portlet-api.jar" depends="init,setProxy,noProxy,get-custom-dep-portlet-api.jar">
    <mkdir dir="${libdir}/javax.portlet/jars/">
    </mkdir>
    <get dest="${libdir}/javax.portlet/jars/portlet-api-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/javax.portlet/jars/portlet-api-1.0.jar">
    </get>
    <get dest="${libdir}/javax.portlet/jars/portlet-api-1.0.jar" usetimestamp="true" ignoreerrors="true" src="http://people.apache.org/repo/m1-snapshot-repository/javax.portlet/jars/portlet-api-1.0.jar">
    </get>
  </target>
  <target name="get-custom-dep-portlet-api.jar" if="portlet-api.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/javax.portlet/jars/">
    </mkdir>
    <get dest="${libdir}/javax.portlet/jars/portlet-api-1.0.jar" usetimestamp="true" ignoreerrors="true" src="${portlet-api.jar}">
    </get>
  </target>
  <target name="get-dep-junit.jar" description="o Download the dependency : junit.jar" unless="junit.jar" depends="init,setProxy,noProxy,get-custom-dep-junit.jar">
    <mkdir dir="${libdir}/junit/jars/">
    </mkdir>
    <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/junit/jars/junit-3.8.1.jar">
    </get>
    <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://people.apache.org/repo/m1-snapshot-repository/junit/jars/junit-3.8.1.jar">
    </get>
  </target>
  <target name="get-custom-dep-junit.jar" if="junit.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/junit/jars/">
    </mkdir>
    <get dest="${libdir}/junit/jars/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="${junit.jar}">
    </get>
  </target>
  <target name="get-dep-maven-xdoc-plugin.jar" description="o Download the dependency : maven-xdoc-plugin.jar" unless="maven-xdoc-plugin.jar" depends="init,setProxy,noProxy,get-custom-dep-maven-xdoc-plugin.jar">
    <mkdir dir="${libdir}/maven/plugins/">
    </mkdir>
    <get dest="${libdir}/maven/plugins/maven-xdoc-plugin-1.9.2.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/maven/plugins/maven-xdoc-plugin-1.9.2.jar">
    </get>
    <get dest="${libdir}/maven/plugins/maven-xdoc-plugin-1.9.2.jar" usetimestamp="true" ignoreerrors="true" src="http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-xdoc-plugin-1.9.2.jar">
    </get>
  </target>
  <target name="get-custom-dep-maven-xdoc-plugin.jar" if="maven-xdoc-plugin.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/maven/plugins/">
    </mkdir>
    <get dest="${libdir}/maven/plugins/maven-xdoc-plugin-1.9.2.jar" usetimestamp="true" ignoreerrors="true" src="${maven-xdoc-plugin.jar}">
    </get>
  </target>
  <target name="get-dep-maven-changelog-plugin.jar" description="o Download the dependency : maven-changelog-plugin.jar" unless="maven-changelog-plugin.jar" depends="init,setProxy,noProxy,get-custom-dep-maven-changelog-plugin.jar">
    <mkdir dir="${libdir}/maven/plugins/">
    </mkdir>
    <get dest="${libdir}/maven/plugins/maven-changelog-plugin-1.9.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven/maven/plugins/maven-changelog-plugin-1.9.1.jar">
    </get>
    <get dest="${libdir}/maven/plugins/maven-changelog-plugin-1.9.1.jar" usetimestamp="true" ignoreerrors="true" src="http://people.apache.org/repo/m1-snapshot-repository/maven/plugins/maven-changelog-plugin-1.9.1.jar">
    </get>
  </target>
  <target name="get-custom-dep-maven-changelog-plugin.jar" if="maven-changelog-plugin.jar" depends="init,setProxy,noProxy">
    <mkdir dir="${libdir}/maven/plugins/">
    </mkdir>
    <get dest="${libdir}/maven/plugins/maven-changelog-plugin-1.9.1.jar" usetimestamp="true" ignoreerrors="true" src="${maven-changelog-plugin.jar}">
    </get>
  </target>
  <target name="get-deps" unless="noget" depends="get-dep-commons-io.jar,get-dep-servlet-api.jar,get-dep-portlet-api.jar,get-dep-junit.jar,get-dep-maven-xdoc-plugin.jar,get-dep-maven-changelog-plugin.jar">
  </target>
  <target name="setProxy" if="useProxy" depends="init">
    <!--Proxy settings works only with a JDK 1.2 and higher.-->

    <echo>Proxy used :</echo>
    <echo>Proxy host [${proxy.host}]</echo>
    <echo>Proxy port [${proxy.port}]</echo>
    <echo>Proxy user [${proxy.username}]</echo>
    <setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" proxypassword="${proxy.password}" proxyhost="${proxy.host}">
    </setproxy>
  </target>
  <target name="noProxy" unless="useProxy" depends="init">
    <echo>Proxy not used.</echo>
  </target>
  <target name="install-maven">
    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
    </get>
    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
    </unjar>
  </target>
</project>

I'm a little stuck and feeling very green ATM any help welcomed.

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jborchers@… brett@… added

To all the people on this ticket: I've updated commons-fileupload to 1.2.2; has that helped?

comment:8 Changed 13 years ago by brett@…

thanks for the update. this now installs. :)

comment:9 Changed 13 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.