Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 16287 invoked from network); 11 Mar 2008 07:24:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 07:24:16 -0000 Received: (qmail 22810 invoked by uid 500); 11 Mar 2008 07:24:13 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 22780 invoked by uid 500); 11 Mar 2008 07:24:13 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 22771 invoked by uid 99); 11 Mar 2008 07:24:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 00:24:13 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 07:23:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 446FB234C08C for ; Tue, 11 Mar 2008 00:22:46 -0700 (PDT) Message-ID: <489878716.1205220166279.JavaMail.jira@brutus> Date: Tue, 11 Mar 2008 00:22:46 -0700 (PDT) From: "Guillaume (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-738) Support dynamic revisions with ftp in URLResolver In-Reply-To: <1161047090.1203498223406.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577320#action_12577320 ] Guillaume commented on IVY-738: ------------------------------- You're right, it was verbose only, mea culpa. I've attached a debug log. Here is the corresponding part for ant : {code} [ivy:retrieve] listing all in ftp://repo-central:repo-central@localhost/external-lib/junit/junit/[revision]/ivy-[revision].xml [ivy:retrieve] using external-lib to list all in ftp://repo-central:repo-central@localhost/external-lib/junit/junit/ [ivy:retrieve] list called for URIftp://repo-central:repo-central@localhost/external-lib/junit/junit/ [ivy:retrieve] resourceImpl=ftp://repo-central:repo-central@localhost/external-lib/junit/junit [ivy:retrieve] resourceImpl.exists()true [ivy:retrieve] resourceImpl.getType()folder Class org.apache.commons.vfs.FileType loaded from parent loader (parentFirst) [ivy:retrieve] FileType.FOLDERfolder Class org.apache.commons.vfs.FileName loaded from parent loader (parentFirst) [ivy:retrieve] child 0ftp://repo-central:repo-central@localhost/external-lib/junit/junit/3.8.1 [ivy:retrieve] child 1ftp://repo-central:repo-central@localhost/external-lib/junit/junit/3.8.2 [ivy:retrieve] child 2ftp://repo-central:repo-central@localhost/external-lib/junit/junit/maven-metadata.xml [ivy:retrieve] child 3ftp://repo-central:repo-central@localhost/external-lib/junit/junit/maven-metadata.xml.md5 [ivy:retrieve] child 4ftp://repo-central:repo-central@localhost/external-lib/junit/junit/maven-metadata.xml.sha1 [ivy:retrieve] found 5 resources [ivy:retrieve] found revs: [3.8.1, 3.8.2, maven-metadata.xml, maven-metadata.xml.md5, maven-metadata.xml.sha1] {code} It finds the revision. Please note that the ant script and ivyde are running on the same machine (my computer) and are using the same ftp account (ftp server is also a development ftp server located on my computer). > Support dynamic revisions with ftp in URLResolver > ------------------------------------------------- > > Key: IVY-738 > URL: https://issues.apache.org/jira/browse/IVY-738 > Project: Ivy > Issue Type: Improvement > Affects Versions: 2.0.0-beta-1 > Environment: Eclipse 3.2 and IvyDE 1.2 > Eclipse 3.3 (MyEclipse 6.0.1) and IvyDE 1.3 (org.apache.ivyde.eclipse_1.3.0.20071209120000.jar) > Reporter: Guillaume > Attachments: ivy-settings-ivyde1_2.xml, ivy-settings-ivyde1_3.xml, ivy.xml, test_ant.txt, test_ant_debug.txt, test_ivyde.txt > > > Configuration (attachments follow) > The repository structure is a simple filesystem (on the same machine than Eclipse and Ant for the test) : > The folder ftpuser_home\external-lib\junit\junit exists and has two subfolders named after version numbers : > 3.8.1 which contains ivy-3.8.1.xml, jars and so on > 3.8.2 which contains ivy-3.8.2.xml, jars and so on > User has proper rights to list directory contents which proves to be ok with ant task. > Using Eclipse 3.3 and IvyDE 1.3 (snapshot build - org.apache.ivyde.eclipse_1.3.0.20071209120000.jar) : > JUnit 3.8.+ gets resolved to the latest 3.8.x version available on my repository (3.8.2 in this test) with an ant resolve task. But it isn't resolved at all with IvyDE. > In ant, the related logs are pretty simple (ant ivy settings are pointing to the same ivy settings file than ivyde) : > [ivy:retrieve] found junit#junit;3.8.2 in ftp > [ivy:retrieve] [3.8.2] junit#junit;3.8.+ > Ivy Console summary : > {code} > :::: WARNINGS > module not found: junit#junit;3.8.+ > ==== ftp: tried > ftp://********:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml > ftp://********:repo-central@localhost/external-lib/junit/junit/[revision]/ivy-[revision].xml > :::::::::::::::::::::::::::::::::::::::::::::: > :: UNRESOLVED DEPENDENCIES :: > :::::::::::::::::::::::::::::::::::::::::::::: > :: junit#junit;3.8.+: not found > :::::::::::::::::::::::::::::::::::::::::::::: > {code} > FTP logs : > {code} > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message... > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.24 beta > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse (Tim.Kosse@gmx.de) > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/ > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> USER repo-central > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 331 Password required for repo-central > (000765) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> PASS ************ > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 230 Logged on > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> TYPE I > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 200 Type set to I > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib" is current directory. > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD junit > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib/junit" is current directory. > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD junit > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib/junit/junit" is current directory. > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD 3.8.+ > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 CWD failed. "/external-lib/junit/junit/3.8.+": directory not found. > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 CWD failed. "/external-lib/junit/junit/external-lib": directory not found. > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message... > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.24 beta > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse (Tim.Kosse@gmx.de) > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/ > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> USER repo-central > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> 331 Password required for repo-central > (000766) 2/18/2008 15:05:34 PM - (not logged in) (127.0.0.1)> PASS ************ > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 230 Logged on > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> TYPE I > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 200 Type set to I > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib" is current directory. > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD junit > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 250 CWD successful. "/external-lib/junit" is current directory. > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> EPSV ALL > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 229 Entering Extended Passive Mode (|||2324|) > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> EPSV > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 229 Entering Extended Passive Mode (|||2325|) > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> RETR junit > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 File not found > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> CWD external-lib > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> 550 CWD failed. "/external-lib/junit/external-lib": directory not found. > (000766) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> disconnected. > (000765) 2/18/2008 15:05:34 PM - repo-central (127.0.0.1)> disconnected. > {code} > Using Eclipse 3.2 and IvyDE 1.2 : > If i specify either junit 3.8.1 or 3.8.2, the ivy file and he jar are properly resolved and retrieved. But when it comes to dynamic revision 3.8.+, it fails : > {code} > Could not determine the last modified timestamp of "ftp://*******:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml" because it does not exist. > listing all in ftp://*******:repo-central@localhost/external-lib/junit/junit/[revision]/ivy-[revision].xml > using external-lib to list all in ftp://*******:repo-central@localhost/external-lib/junit/junit/ > list called for URIftp://*******:repo-central@localhost/external-lib/junit/junit/ > resourceImpl=ftp://*******:repo-central@localhost/external-lib/junit/junit > resourceImpl.exists()false > resourceImpl.getType()imaginary > FileType.FOLDERfolder > found 0 resources > found revs: [] > external-lib: no resource found for [ junit | junit | 3.8.+ ]: pattern=ftp://*******:repo-central@localhost/external-lib/[organisation]/[module]/[revision]/[artifact]-[revision].xml > external-lib: no ivy file found for [ junit | junit | 3.8.+ ] > tried ftp://*******:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml > tried ftp://*******:repo-central@localhost/external-lib/junit/junit/[3.8.+]/ivy-[3.8.+].xml > WARN: module not found: [ junit | junit | 3.8.+ ] > WARN: external-lib: tried ftp://*******:repo-central@localhost/external-lib/junit/junit/3.8.+/ivy-3.8.+.xml > WARN: external-lib: tried ftp://*******:repo-central@localhost/external-lib/junit/junit/[3.8.+]/ivy-[3.8.+].xml > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.