You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "rednix (JIRA)" <ji...@apache.org> on 2009/02/03 17:39:59 UTC

[jira] Commented: (IVY-987) Error message: "impossible to get artifacts when data has not been loaded" , on certain modules only

    [ https://issues.apache.org/jira/browse/IVY-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670009#action_12670009 ] 

rednix commented on IVY-987:
----------------------------

Any news on this issue? Sorry to be impatient on this... but if I can help to make some progress on this (be it testing a trunk version or anything else) just let me know.
The pom of org.apache.struts#struts2-spring-plugin is as follows:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.struts</groupId>
        <artifactId>struts2-plugins</artifactId>
        <version>2.1.6</version>
    </parent>
    <groupId>org.apache.struts</groupId>
    <artifactId>struts2-spring-plugin</artifactId>
    <packaging>jar</packaging>
    <name>Struts 2 Spring Plugin</name>

    <scm>
       <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_1_6/plugins/spring</connection>
       <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_1_6/plugins/spring</developerConnection>
       <url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_1_6/plugins/spring</url>
    </scm>
   
   <properties>
    <spring.version>2.5.3</spring.version>
   </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>${spring.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring.version}</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
            <version>3.8.2</version>
        </dependency>
   </dependencies>
</project>

> Error message: "impossible to get artifacts when data has not been loaded" , on certain modules only
> ----------------------------------------------------------------------------------------------------
>
>                 Key: IVY-987
>                 URL: https://issues.apache.org/jira/browse/IVY-987
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: ubuntu 8.04, java .1.6.0_06 Java HotSpot(TM) Client VM, calling external ant 1.7  from netbeans 6.1 IDE, ivy ant task in ants home lib dir 
>            Reporter: K. Rekk
>
> I found a similiar post here:
> http://www.mail-archive.com/ivy-user@ant.apache.org/msg01766.html
>  Everything worked fine with 2.0.0 beta .
> >
> > It's just a simple test and dom4j seems to cause the problem with
> > standard ivysettings :
> >    <dependencies>
> >        <dependency org="dom4j" name="dom4j" rev="1.6.1"/>
> >         <dependency org="log4j" name="log4j" rev="1.2.9"/>
> >        <dependency org="junit" name="junit" rev="4.5"/>
> >    </dependencies>
> > </ivy-module>
> Removing dom4j makes it work again.
> So I dont know, is it dom4j or ivy causing the problem?
> > output:
> >
> > init:
> > deps-jar:
> > ivy-retrieve:
> > No ivy:settings found for the default reference 'ivy.instance'.  A
> > default instance will be used
> > no settings file found, using default...
> > :: loading settings :: url =
> > jar:file:/home/kostja/VZG/soa-workarea-ref/tools/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivysettings.xml
> > :: resolving dependencies :: gbv.de#test;working@myhome
> >        confs: [default]
> >        found dom4j#dom4j;1.6.1 in public
> >        found xml-apis#xml-apis;1.0.b2 in public
> >        found jaxme#jaxme-api;0.3 in public
> >        found jaxen#jaxen;1.1-beta-6 in public
> >        found jdom#jdom;1.0 in public
> >        found xerces#xmlParserAPIs;2.6.2 in public
> >        found xerces#xercesImpl;2.6.2 in public
> >        found xom#xom;1.0b3 in public
> >        found com.ibm.icu#icu4j;2.6.1 in public
> >        found org.ccil.cowan.tagsoup#tagsoup;0.9.7 in public
> >        found msv#xsdlib;20030807 in public
> >        found msv#relaxngDatatype;20030807 in public
> >        found pull-parser#pull-parser;2 in public
> >        found xpp3#xpp3;1.1.3.3 in public
> >        found stax#stax-api;1.0 in public
> >        found log4j#log4j;1.2.9 in public
> >        found junit#junit;4.5 in public
> >
> > :: problems summary ::
> > :::: ERRORS
> >        impossible to get artifacts when data has not been loaded.
> > IvyNode = xalan#xalan;2.5.1
> > :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> > /home/kostja/VZG/soa-workarea-ref/projects/Test/build.xml:15: impossible
> > to resolve dependencies:
> >        java.lang.IllegalStateException: impossible to get artifacts
> > when data has not been loaded. IvyNode = xalan#xalan;2.5.1
> > BUILD FAILED (total time: 0 seconds)

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