[jira] Commented: (IVYDE-227) WTP Resolve Project in Workspace does not get exported to wtpwebapps directory

2010-06-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/IVYDE-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12874469#action_12874469
 ] 

Thorbjørn Ravn Andersen commented on IVYDE-227:
---

Could you please add to the FAQ and 
http://ant.apache.org/ivy/ivyde/history/latest-milestone/cpc/wtp.html that 
there is a known issue with WTP and Resolve in workspace?

Additionally if there is a way to work around this which can be used by 
newcomers to Ivy so the functionality can be useful anyway, I would appreciate 
hearing about it.Basically I want to have Ivy resolve which customer 
specific library to add to a web app while developing the customer specific 
library so the deployment mechanism should not be too heavy.

 WTP Resolve Project in Workspace does not get exported to wtpwebapps 
 directory
 

 Key: IVYDE-227
 URL: https://issues.apache.org/jira/browse/IVYDE-227
 Project: IvyDE
  Issue Type: Bug
Affects Versions: 2.1.0
 Environment: Windows
 Eclipse Galileo WTP
Reporter: Dave

 Selecting Resolve in workspace correctly resolves the project in the 
 workspace, but the project's jar is not exported to the output directory.  
 Runtime ClassNotFoundExceptions occur unless the user manually adds project 
 as Java EE dependency

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (IVY-1194) Downloads from maven repository fail when using transparent HTTP proxies

2010-06-02 Thread Constantine Plotnikov (JIRA)
Downloads from maven repository fail when using transparent HTTP proxies


 Key: IVY-1194
 URL: https://issues.apache.org/jira/browse/IVY-1194
 Project: Ivy
  Issue Type: Bug
  Components: Maven Compatibility
Affects Versions: 2.1.0
 Environment: Windows XP, Java 1.5.0.16, java 1.6.0.20
Reporter: Constantine Plotnikov
Priority: Blocker


The package without dependencies cannot fetch dependencies and samples in the 
package with dependencies do not work.

Fetching dependencies fails with the following log:
{quote}
Buildfile: build.xml

init-ivy:

retrieve-all:
[ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: url = 
jar:file:/C:/utils/apache/apache-ivy-2.1.0-wo/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: org.apache.ivy#ivy;2.1.0
[ivy:retrieve]  confs: [core, httpclient, oro, vfs, sftp, standalone, ant, 
default, test, source]
[ivy:retrieve]  found commons-httpclient#commons-httpclient;3.0 in public
[ivy:retrieve]  found commons-codec#commons-codec;1.2 in public
[ivy:retrieve]  found oro#oro;2.0.8 in public
[ivy:retrieve]  found commons-vfs#commons-vfs;1.0 in public
[ivy:retrieve]  found com.jcraft#jsch;0.1.31 in public
[ivy:retrieve]  found ant#ant;1.6.2 in public
[ivy:retrieve]  found ant#ant-nodeps;1.6.2 in public
[ivy:retrieve]  found ant#ant-trax;1.6.2 in public
[ivy:retrieve]  found junit#junit;3.8.2 in public
[ivy:retrieve]  found commons-lang#commons-lang;2.4 in public
[ivy:retrieve]  found org.apache.ant#ant-testutil;1.7.0 in public
[ivy:retrieve]  found ant#ant-launcher;1.6.2 in public
[ivy:retrieve]  found xerces#xercesImpl;2.6.2 in public
[ivy:retrieve]  found xerces#xmlParserAPIs;2.6.2 in public
[ivy:retrieve] downloading 
http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar ...
[ivy:retrieve]  (117kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve] :: resolution report :: resolve 1250ms :: artifacts dl 250ms
[ivy:retrieve]  :: evicted modules:
[ivy:retrieve]  commons-logging#commons-logging;1.0.3 by 
[commons-logging#commons-logging;1.0.4] in [default]
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|   core   |   0   |   0   |   0   |   0   ||   0   |   0   |
|httpclient|   3   |   0   |   0   |   0   ||   2   |   0   |
|oro   |   1   |   0   |   0   |   0   ||   1   |   0   |
|vfs   |   2   |   0   |   0   |   0   ||   1   |   0   |
|   sftp   |   1   |   0   |   0   |   0   ||   1   |   0   |
|standalone|   0   |   0   |   0   |   0   ||   0   |   0   |
|ant   |   1   |   0   |   0   |   0   ||   1   |   0   |
|  default |   10  |   0   |   0   |   1   ||   8   |   0   |
|   test   |   6   |   0   |   0   |   0   ||   6   |   0   |
|  source  |   0   |   0   |   0   |   0   ||   0   |   0   |
-

[ivy:retrieve] :: problems summary ::
[ivy:retrieve]  WARNINGS
[ivy:retrieve]  problem while downloading module descriptor: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom:
 invalid sha1: expected=
[ivy:retrieve] г computed=88c58ea4a562116ab15fb76c9097ee1f25cc750b (62ms)
[ivy:retrieve]  module not found: commons-logging#commons-logging;1.0.3
[ivy:retrieve]   local: tried
[ivy:retrieve]C:\Documents and 
Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
[ivy:retrieve]-- artifact 
commons-logging#commons-logging;1.0.3!commons-logging.jar:
[ivy:retrieve]C:\Documents and 
Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/jars/commons-logging.jar
[ivy:retrieve]   shared: tried
[ivy:retrieve]C:\Documents and 
Settings\Constantin.Plotnikov\.ivy2/shared/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
[ivy:retrieve]-- artifact 
commons-logging#commons-logging;1.0.3!commons-logging.jar:
[ivy:retrieve]C:\Documents and 
Settings\Constantin.Plotnikov\.ivy2/shared/commons-logging/commons-logging/1.0.3/jars/commons-logging.jar
[ivy:retrieve]   public: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
[ivy:retrieve]  problem while downloading module descriptor: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom:
 invalid sha1: expected=

[g...@vmgump]: Project test-ant (in module ant) failed

2010-06-02 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project test-ant has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 8 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- test-ant :  Java based build tool


Full details are available at:
http://vmgump.apache.org/gump/public/ant/test-ant/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html
Work Name: build_ant_test-ant (Type: Build)
Work ended in a state of : Failed
Elapsed: 20 mins 39 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dtest.haltonfailure=false 
-Dant.home=/srv/gump/public/workspace/ant/dist run-tests 
[Working Directory: /srv/gump/public/workspace/ant]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/build/testcases:/srv/gump/public/workspace/ant/src/tests/junit:/srv/gump/public/workspace/ant/src/etc/testcases:/srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/out:/srv/gump/public/workspace/ant/build/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/build/lib/ant-swing.jar:/srv/gump/public/workspace/ant/build/lib/ant-junit.jar:/srv/gump/public/workspace/ant/build/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/build/lib/ant-javamail.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/srv/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/srv/gump/public/workspace/ant/build/lib/ant-jsch.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/srv/gump/public/workspace/ant/build/lib/ant-antlr.jar:/srv/gump/public/works
 
pace/ant/build/lib/ant-commons-logging.jar:/srv/gump/public/workspace/ant/build/lib/ant-jdepend.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/srv/gump/public/workspace/ant/build/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/srv/gump/public/workspace/ant/build/lib/ant.jar:/srv/gump/public/workspace/ant/build/lib/ant-jai.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-02062010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-02062010.jar:/srv/gump/public/workspace/apache-commons/net/target/commons-net-1.5.0.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-02062010.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-02062010.jar:/srv/gump/p
 
ublic/workspace/jakarta-regexp/build/jakarta-regexp-02062010.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jdepend-2.6/lib/jdepend.jar:/srv/gump/packages/jsch/jsch-0.1.38.jar:/srv/gump/public/workspace/ant-antlibs/antunit/build/ant-antunit-02062010.jar:/srv/gump/public/workspace/junit/dist/junit-02062010.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-compiler.jar:/srv/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-runtime.jar:/srv/gump/public/workspace/xml-commons/java/build/which.jar:/srv/gump/public/workspace/rhino/build/rhino_02062010/js.jar:/srv/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-classpath-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-core-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-bsf
 
-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/srv/gump/packages/bsh-2.0b4/bsh-util-2.0b4.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-02062010.jar
-
[au:antunit] Target: testStringTokenizer took 0.001 sec
[au:antunit] Target: testExplicitLines took 0.001 sec

[jira] Assigned: (IVY-1194) Downloads from maven repository fail when using transparent HTTP proxies

2010-06-02 Thread Maarten Coene (JIRA)

 [ 
https://issues.apache.org/jira/browse/IVY-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maarten Coene reassigned IVY-1194:
--

Assignee: Maarten Coene

 Downloads from maven repository fail when using transparent HTTP proxies
 

 Key: IVY-1194
 URL: https://issues.apache.org/jira/browse/IVY-1194
 Project: Ivy
  Issue Type: Bug
  Components: Maven Compatibility
Affects Versions: 2.1.0
 Environment: Windows XP, Java 1.5.0.16, java 1.6.0.20
Reporter: Constantine Plotnikov
Assignee: Maarten Coene
Priority: Blocker

 The package without dependencies cannot fetch dependencies and samples in the 
 package with dependencies do not work.
 Fetching dependencies fails with the following log:
 {quote}
 Buildfile: build.xml
 init-ivy:
 retrieve-all:
 [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
 [ivy:retrieve] :: loading settings :: url = 
 jar:file:/C:/utils/apache/apache-ivy-2.1.0-wo/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
 [ivy:retrieve] :: resolving dependencies :: org.apache.ivy#ivy;2.1.0
 [ivy:retrieve]confs: [core, httpclient, oro, vfs, sftp, standalone, 
 ant, default, test, source]
 [ivy:retrieve]found commons-httpclient#commons-httpclient;3.0 in 
 public
 [ivy:retrieve]found commons-codec#commons-codec;1.2 in public
 [ivy:retrieve]found oro#oro;2.0.8 in public
 [ivy:retrieve]found commons-vfs#commons-vfs;1.0 in public
 [ivy:retrieve]found com.jcraft#jsch;0.1.31 in public
 [ivy:retrieve]found ant#ant;1.6.2 in public
 [ivy:retrieve]found ant#ant-nodeps;1.6.2 in public
 [ivy:retrieve]found ant#ant-trax;1.6.2 in public
 [ivy:retrieve]found junit#junit;3.8.2 in public
 [ivy:retrieve]found commons-lang#commons-lang;2.4 in public
 [ivy:retrieve]found org.apache.ant#ant-testutil;1.7.0 in public
 [ivy:retrieve]found ant#ant-launcher;1.6.2 in public
 [ivy:retrieve]found xerces#xercesImpl;2.6.2 in public
 [ivy:retrieve]found xerces#xmlParserAPIs;2.6.2 in public
 [ivy:retrieve] downloading 
 http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar ...
 [ivy:retrieve]  (117kB)
 [ivy:retrieve] .. (0kB)
 [ivy:retrieve] :: resolution report :: resolve 1250ms :: artifacts dl 250ms
 [ivy:retrieve]:: evicted modules:
 [ivy:retrieve]commons-logging#commons-logging;1.0.3 by 
 [commons-logging#commons-logging;1.0.4] in [default]
   -
   |  |modules||   artifacts   |
   |   conf   | number| search|dwnlded|evicted|| number|dwnlded|
   -
   |   core   |   0   |   0   |   0   |   0   ||   0   |   0   |
   |httpclient|   3   |   0   |   0   |   0   ||   2   |   0   |
   |oro   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |vfs   |   2   |   0   |   0   |   0   ||   1   |   0   |
   |   sftp   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |standalone|   0   |   0   |   0   |   0   ||   0   |   0   |
   |ant   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |  default |   10  |   0   |   0   |   1   ||   8   |   0   |
   |   test   |   6   |   0   |   0   |   0   ||   6   |   0   |
   |  source  |   0   |   0   |   0   |   0   ||   0   |   0   |
   -
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]problem while downloading module descriptor: 
 http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom:
  invalid sha1: expected=
 [ivy:retrieve] г computed=88c58ea4a562116ab15fb76c9097ee1f25cc750b (62ms)
 [ivy:retrieve]module not found: 
 commons-logging#commons-logging;1.0.3
 [ivy:retrieve] local: tried
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
 [ivy:retrieve]  -- artifact 
 commons-logging#commons-logging;1.0.3!commons-logging.jar:
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/jars/commons-logging.jar
 [ivy:retrieve] shared: tried
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/shared/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
 [ivy:retrieve]  -- artifact 
 commons-logging#commons-logging;1.0.3!commons-logging.jar:
 [ivy:retrieve]  

svn commit: r950762 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/util/url/BasicURLHandler.java src/java/org/apache/ivy/util/url/HttpClientHandler.java

2010-06-02 Thread maartenc
Author: maartenc
Date: Wed Jun  2 21:20:49 2010
New Revision: 950762

URL: http://svn.apache.org/viewvc?rev=950762view=rev
Log:
IMPROVEMENT: added support for 'gzip' HTTP Content-Encoding (IVY-1194)

Modified:
ant/ivy/core/trunk/CHANGES.txt
ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java
ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=950762r1=950761r2=950762view=diff
==
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed Jun  2 21:20:49 2010
@@ -115,6 +115,7 @@ for detailed view of each issue, please 
 - NEW: Support ivy.xml parent mechanism (IVY-742) (thanks to Jason Trump and 
Jean-Louis Boudart)
 - NEW: Make ivy.xml conf description available (IVY-1158)
 
+- IMPROVEMENT: added support for 'gzip' HTTP Content-Encoding (IVY-1194)
 - IMPROVEMENT: retrieve doesn't retrive files if the current one is more 
recent (IVY-1044)
 - IMPROVEMENT: better diagnostics when reporting bad ivy file in cache 
(IVY-1190)
 - IMPROVEMENT: Support changing=true for inline retrieve (IVY-1180)

Modified: 
ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java?rev=950762r1=950761r2=950762view=diff
==
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java 
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java 
Wed Jun  2 21:20:49 2010
@@ -28,6 +28,7 @@ import java.net.HttpURLConnection;
 import java.net.URL;
 import java.net.URLConnection;
 import java.net.UnknownHostException;
+import java.util.zip.GZIPInputStream;
 
 import org.apache.ivy.Ivy;
 import org.apache.ivy.util.CopyProgressListener;
@@ -116,6 +117,7 @@ public class BasicURLHandler extends Abs
 url = normalizeToURL(url);
 conn = url.openConnection();
 conn.setRequestProperty(User-Agent, Apache Ivy/ + 
Ivy.getIvyVersion());
+conn.setRequestProperty(Accept-Encoding, gzip);
 if (conn instanceof HttpURLConnection) {
 HttpURLConnection httpCon = (HttpURLConnection) conn;
 if (!checkStatusCode(url, httpCon)) {
@@ -124,7 +126,12 @@ public class BasicURLHandler extends Abs
 +  See log for more detail.);
 }
 }
-InputStream inStream  = conn.getInputStream();
+InputStream inStream;
+if (gzip.equals(conn.getContentEncoding())) {
+inStream = new GZIPInputStream(conn.getInputStream());
+} else {
+inStream = conn.getInputStream();
+}
 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
 
 byte[] buffer = new byte[BUFFER_SIZE];
@@ -147,6 +154,7 @@ public class BasicURLHandler extends Abs
 src = normalizeToURL(src);
 srcConn = src.openConnection();
 srcConn.setRequestProperty(User-Agent, Apache Ivy/ + 
Ivy.getIvyVersion());
+srcConn.setRequestProperty(Accept-Encoding, gzip);
 if (srcConn instanceof HttpURLConnection) {
 HttpURLConnection httpCon = (HttpURLConnection) srcConn;
 if (!checkStatusCode(src, httpCon)) {
@@ -156,7 +164,15 @@ public class BasicURLHandler extends Abs
 }
 }
 int contentLength = srcConn.getContentLength();
-FileUtil.copy(srcConn.getInputStream(), dest, l);
+
+InputStream inStream;
+if (gzip.equals(srcConn.getContentEncoding())) {
+inStream = new GZIPInputStream(srcConn.getInputStream());
+} else {
+inStream = srcConn.getInputStream();
+}
+
+FileUtil.copy(inStream, dest, l);
 if (dest.length() != contentLength  contentLength != -1) {
 dest.delete();
 throw new IOException(

Modified: 
ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java?rev=950762r1=950761r2=950762view=diff
==
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java 
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/HttpClientHandler.java 
Wed Jun  2 21:20:49 2010
@@ -28,6 +28,7 @@ import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Locale;
+import java.util.zip.GZIPInputStream;
 
 import 

[jira] Resolved: (IVY-1194) Downloads from maven repository fail when using transparent HTTP proxies

2010-06-02 Thread Maarten Coene (JIRA)

 [ 
https://issues.apache.org/jira/browse/IVY-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maarten Coene resolved IVY-1194.


Fix Version/s: 2.2.0-RC1
   Resolution: Fixed

Wow respect, excellent analysis of the problem! I don't think I would have been 
able to find it...

I've committed a fix in SVN trunk. Ivy now supports 'gzip' Content-Encoding by 
wrapping the InputStream in a GZIPInputStream.
Could you give it a try to see if it works for you?

Thanks,
Maarten

 Downloads from maven repository fail when using transparent HTTP proxies
 

 Key: IVY-1194
 URL: https://issues.apache.org/jira/browse/IVY-1194
 Project: Ivy
  Issue Type: Bug
  Components: Maven Compatibility
Affects Versions: 2.1.0
 Environment: Windows XP, Java 1.5.0.16, java 1.6.0.20
Reporter: Constantine Plotnikov
Assignee: Maarten Coene
Priority: Blocker
 Fix For: 2.2.0-RC1


 The package without dependencies cannot fetch dependencies and samples in the 
 package with dependencies do not work.
 Fetching dependencies fails with the following log:
 {quote}
 Buildfile: build.xml
 init-ivy:
 retrieve-all:
 [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
 [ivy:retrieve] :: loading settings :: url = 
 jar:file:/C:/utils/apache/apache-ivy-2.1.0-wo/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
 [ivy:retrieve] :: resolving dependencies :: org.apache.ivy#ivy;2.1.0
 [ivy:retrieve]confs: [core, httpclient, oro, vfs, sftp, standalone, 
 ant, default, test, source]
 [ivy:retrieve]found commons-httpclient#commons-httpclient;3.0 in 
 public
 [ivy:retrieve]found commons-codec#commons-codec;1.2 in public
 [ivy:retrieve]found oro#oro;2.0.8 in public
 [ivy:retrieve]found commons-vfs#commons-vfs;1.0 in public
 [ivy:retrieve]found com.jcraft#jsch;0.1.31 in public
 [ivy:retrieve]found ant#ant;1.6.2 in public
 [ivy:retrieve]found ant#ant-nodeps;1.6.2 in public
 [ivy:retrieve]found ant#ant-trax;1.6.2 in public
 [ivy:retrieve]found junit#junit;3.8.2 in public
 [ivy:retrieve]found commons-lang#commons-lang;2.4 in public
 [ivy:retrieve]found org.apache.ant#ant-testutil;1.7.0 in public
 [ivy:retrieve]found ant#ant-launcher;1.6.2 in public
 [ivy:retrieve]found xerces#xercesImpl;2.6.2 in public
 [ivy:retrieve]found xerces#xmlParserAPIs;2.6.2 in public
 [ivy:retrieve] downloading 
 http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar ...
 [ivy:retrieve]  (117kB)
 [ivy:retrieve] .. (0kB)
 [ivy:retrieve] :: resolution report :: resolve 1250ms :: artifacts dl 250ms
 [ivy:retrieve]:: evicted modules:
 [ivy:retrieve]commons-logging#commons-logging;1.0.3 by 
 [commons-logging#commons-logging;1.0.4] in [default]
   -
   |  |modules||   artifacts   |
   |   conf   | number| search|dwnlded|evicted|| number|dwnlded|
   -
   |   core   |   0   |   0   |   0   |   0   ||   0   |   0   |
   |httpclient|   3   |   0   |   0   |   0   ||   2   |   0   |
   |oro   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |vfs   |   2   |   0   |   0   |   0   ||   1   |   0   |
   |   sftp   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |standalone|   0   |   0   |   0   |   0   ||   0   |   0   |
   |ant   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |  default |   10  |   0   |   0   |   1   ||   8   |   0   |
   |   test   |   6   |   0   |   0   |   0   ||   6   |   0   |
   |  source  |   0   |   0   |   0   |   0   ||   0   |   0   |
   -
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]problem while downloading module descriptor: 
 http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom:
  invalid sha1: expected=
 [ivy:retrieve] г computed=88c58ea4a562116ab15fb76c9097ee1f25cc750b (62ms)
 [ivy:retrieve]module not found: 
 commons-logging#commons-logging;1.0.3
 [ivy:retrieve] local: tried
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
 [ivy:retrieve]  -- artifact 
 commons-logging#commons-logging;1.0.3!commons-logging.jar:
 [ivy:retrieve]  C:\Documents and 
 

[jira] Updated: (IVY-1194) Downloads from maven repository fail when using transparent HTTP proxies

2010-06-02 Thread Maarten Coene (JIRA)

 [ 
https://issues.apache.org/jira/browse/IVY-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maarten Coene updated IVY-1194:
---

Component/s: Core
 (was: Maven Compatibility)

 Downloads from maven repository fail when using transparent HTTP proxies
 

 Key: IVY-1194
 URL: https://issues.apache.org/jira/browse/IVY-1194
 Project: Ivy
  Issue Type: Bug
  Components: Core
Affects Versions: 2.1.0
 Environment: Windows XP, Java 1.5.0.16, java 1.6.0.20
Reporter: Constantine Plotnikov
Assignee: Maarten Coene
Priority: Blocker
 Fix For: 2.2.0-RC1


 The package without dependencies cannot fetch dependencies and samples in the 
 package with dependencies do not work.
 Fetching dependencies fails with the following log:
 {quote}
 Buildfile: build.xml
 init-ivy:
 retrieve-all:
 [ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
 [ivy:retrieve] :: loading settings :: url = 
 jar:file:/C:/utils/apache/apache-ivy-2.1.0-wo/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
 [ivy:retrieve] :: resolving dependencies :: org.apache.ivy#ivy;2.1.0
 [ivy:retrieve]confs: [core, httpclient, oro, vfs, sftp, standalone, 
 ant, default, test, source]
 [ivy:retrieve]found commons-httpclient#commons-httpclient;3.0 in 
 public
 [ivy:retrieve]found commons-codec#commons-codec;1.2 in public
 [ivy:retrieve]found oro#oro;2.0.8 in public
 [ivy:retrieve]found commons-vfs#commons-vfs;1.0 in public
 [ivy:retrieve]found com.jcraft#jsch;0.1.31 in public
 [ivy:retrieve]found ant#ant;1.6.2 in public
 [ivy:retrieve]found ant#ant-nodeps;1.6.2 in public
 [ivy:retrieve]found ant#ant-trax;1.6.2 in public
 [ivy:retrieve]found junit#junit;3.8.2 in public
 [ivy:retrieve]found commons-lang#commons-lang;2.4 in public
 [ivy:retrieve]found org.apache.ant#ant-testutil;1.7.0 in public
 [ivy:retrieve]found ant#ant-launcher;1.6.2 in public
 [ivy:retrieve]found xerces#xercesImpl;2.6.2 in public
 [ivy:retrieve]found xerces#xmlParserAPIs;2.6.2 in public
 [ivy:retrieve] downloading 
 http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar ...
 [ivy:retrieve]  (117kB)
 [ivy:retrieve] .. (0kB)
 [ivy:retrieve] :: resolution report :: resolve 1250ms :: artifacts dl 250ms
 [ivy:retrieve]:: evicted modules:
 [ivy:retrieve]commons-logging#commons-logging;1.0.3 by 
 [commons-logging#commons-logging;1.0.4] in [default]
   -
   |  |modules||   artifacts   |
   |   conf   | number| search|dwnlded|evicted|| number|dwnlded|
   -
   |   core   |   0   |   0   |   0   |   0   ||   0   |   0   |
   |httpclient|   3   |   0   |   0   |   0   ||   2   |   0   |
   |oro   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |vfs   |   2   |   0   |   0   |   0   ||   1   |   0   |
   |   sftp   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |standalone|   0   |   0   |   0   |   0   ||   0   |   0   |
   |ant   |   1   |   0   |   0   |   0   ||   1   |   0   |
   |  default |   10  |   0   |   0   |   1   ||   8   |   0   |
   |   test   |   6   |   0   |   0   |   0   ||   6   |   0   |
   |  source  |   0   |   0   |   0   |   0   ||   0   |   0   |
   -
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]problem while downloading module descriptor: 
 http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom:
  invalid sha1: expected=
 [ivy:retrieve] г computed=88c58ea4a562116ab15fb76c9097ee1f25cc750b (62ms)
 [ivy:retrieve]module not found: 
 commons-logging#commons-logging;1.0.3
 [ivy:retrieve] local: tried
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
 [ivy:retrieve]  -- artifact 
 commons-logging#commons-logging;1.0.3!commons-logging.jar:
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/local/commons-logging/commons-logging/1.0.3/jars/commons-logging.jar
 [ivy:retrieve] shared: tried
 [ivy:retrieve]  C:\Documents and 
 Settings\Constantin.Plotnikov\.ivy2/shared/commons-logging/commons-logging/1.0.3/ivys/ivy.xml
 [ivy:retrieve]  -- artifact 
 

DO NOT REPLY [Bug 49373] New: Property expansion inaccurate for prefixed file-based property loads.

2010-06-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49373

   Summary: Property expansion inaccurate for prefixed file-based
property loads.
   Product: Ant
   Version: 1.8.1
  Platform: PC
OS/Version: Windows NT
Status: NEW
  Severity: normal
  Priority: P2
 Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: apache...@g3i.de


Unexpected behaviour change between Ant 1.8.0 (OK) and Ant 1.8.1 (wrong).

 property file=foo.properties prefix=prfx /

Loading properties from a file should apply the prefix only to the newly loaded
properties. The prefix should not be used for property expansions on the value
side.

Below build.xml works with Ant 1.8.0 and fails with Ant 1.8.1:

---8---
?xml version=1.0 encoding=UTF-8?
project name=Test1 default=test1

target name=test1
echo file=foo.properties message=abc=$${def} /
property name=def value=ghi /
property name=prfx.def value=jkl /
property file=foo.properties prefix=prfx /
echo message=Value of $${prfx.abc} is ${prfx.abc}, should be ghi,
should not be jkl. /
/target

/project
---8---

1.8.0:
[echo] Value of ${prfx.abc} is ghi, should be ghi, should not be jkl.

1.8.1 (wrong):
[echo] Value of ${prfx.abc} is jkl, should be ghi, should not be jkl.

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


DO NOT REPLY [Bug 16131] not possible to suppress BUILD SUCCESSFUL message

2010-06-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=16131

--- Comment #6 from terw...@gmail.com 2010-06-03 00:08:22 EDT ---
Created an attachment (id=25511)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25511)
Adds a new argument -veryquiet which suppresses Build Successful message and
outputs nothing on no errors and warnings.

I know this is an old bug, and nobody wanted to change existing functionality.
But it was trivial and just waiting to be done, so I did it. The patch I'm
submitting takes a new -veryquiet argument which suppresses all messages if
there are no errors or warnings.

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