ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@anyware-tech.com>
Subject Re: IvyDE and dynamic revisions
Date Mon, 18 Feb 2008 15:10:03 GMT
Le lundi 18 février 2008, guillaume a écrit :
> Hello,
>
> I'm having troubles with dynamic revision in IvyDE. The following
> configuration works fine with Ant but fails with IvyDE
> (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.+


Some of my colleagues did have the same issues in trying the 1.3 version of 
IvyDE. But they didn't had time to do further debugging or test so I cannot 
help them.



> Thanks for any hint !
>
> Regards.
> Guillaume
>
> Here are various configuration files and logs :
> Project ivy.xml
> <ivy-module version="2.0">
>     <info organisation="customer" module="IvyTestProject"
> revision="1.0.0" status="integration"/>
>     <configurations>
>         <conf name="default"/>
>         <conf name="test" extends="default"/>
>     </configurations>
>
>     <publications>
>         <artifact name="ivytestproject" type="jar" ext="jar" conf="*"/>
>     </publications>
>
>     <dependencies>
>         <dependency org="junit" name="junit" rev="3.8.+" conf="default"/>
>         <dependency org="junit-addons" name="junit-addons" rev="1.4"
> conf="test->master;test->runtime" />
>         <dependency org="org.springframework" name="spring" rev="2.0.6"
> conf="default"/>
>     </dependencies>
> </ivy-module>
>
>
>
> Ivy settings
> <ivysettings>
>     <settings defaultResolver="ftp" checkUpToDate="true"
> defaultCache="./ivy_cache" />
>     <resolvers>
>         <vfs name="ftp" allownomd="false">
>             <ivy
> pattern="ftp://**********:repo-central@localhost/external-lib/[organisation
>]/[module]/[revision]/[artifact]-[revision].xml" />
>             <artifact
> pattern="ftp://**********:repo-central@localhost/external-lib/[organisation
>]/[module]/[revision]/[artifact]-[revision].jar" />
>         </vfs>
>     </resolvers>
> </ivysettings>
>
>
> Repository structure :
> 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
>
>
> IvyDE says :
> Impossible to resolve dependencies of dexiabil#IvyTestProject;1.0.0:
> unresolved dependency: junit#junit;3.8.+: not found
> unresolved dependency: junit#junit;3.8.+: not found
> See IvyConsole for further details
> --> I couldn't found a eclipse view / logfile named IvyConsole. Eclipse
> error log states that no stacktrace is available.


In fact the "Ivy console" is a "console". So see the console view, and choose 
the "Ivy console" in the console's menu, menu containing also "Java stack 
trace console", "CVS", etc...
And so you will have the proper Ivy debugging infos.

Nicolas

Mime
View raw message