You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2011/04/08 14:04:05 UTC

[jira] [Created] (IVYDE-280) Can't resolve the use of ${ant.project.name}

Can't resolve the use of ${ant.project.name}
--------------------------------------------

                 Key: IVYDE-280
                 URL: https://issues.apache.org/jira/browse/IVYDE-280
             Project: IvyDE
          Issue Type: Bug
         Environment: eclipse 20100917-0705 (helios service release 1)
            Reporter: Benson Margulies


I downloaded the hadoop 0.20.2 binary package, and told eclipse to make a 'project from existing' on it. Then I added an ivy container to the classpath, and I got ...


Description	Resource	Path	Location	Type
Impossible to resolve dependencies of org.apache.hadoop#${ant.project.name};working@tinhat.local	ivy.xml	/hadoop-stuff	Unknown	Problem


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (IVYDE-280) Can't resolve the use of ${ant.project.name}

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017431#comment-13017431 ] 

Nicolas Lalevée commented on IVYDE-280:
---------------------------------------

I just tried to import as a Java project from the uncompressed hadoop-0.20.2.tar.gz. I think there is an issue with the distrib itself as it is missing some piece. In the main build.xml there is an import of "../build-contrib.xml" which by definition doesn't exist. Maybe there are defined this missing properties.

And considering the missing property 'ant.project.name', it is then designed to not run outside of ant.

The workaround it to create a .properties file which contain the missing properties. And then in the IvyDE classpath container, add a reference to that properties file: http://ant.apache.org/ivy/ivyde/history/latest-milestone/cpc/create.html#localconf


> Can't resolve the use of ${ant.project.name}
> --------------------------------------------
>
>                 Key: IVYDE-280
>                 URL: https://issues.apache.org/jira/browse/IVYDE-280
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: eclipse 20100917-0705 (helios service release 1)
>            Reporter: Benson Margulies
>
> I downloaded the hadoop 0.20.2 binary package, and told eclipse to make a 'project from existing' on it. Then I added an ivy container to the classpath, and I got ...
> Description	Resource	Path	Location	Type
> Impossible to resolve dependencies of org.apache.hadoop#${ant.project.name};working@tinhat.local	ivy.xml	/hadoop-stuff	Unknown	Problem

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (IVYDE-280) Can't resolve the use of ${ant.project.name}

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-280.
-----------------------------------

    Resolution: Invalid

> Can't resolve the use of ${ant.project.name}
> --------------------------------------------
>
>                 Key: IVYDE-280
>                 URL: https://issues.apache.org/jira/browse/IVYDE-280
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: eclipse 20100917-0705 (helios service release 1)
>            Reporter: Benson Margulies
>
> I downloaded the hadoop 0.20.2 binary package, and told eclipse to make a 'project from existing' on it. Then I added an ivy container to the classpath, and I got ...
> Description	Resource	Path	Location	Type
> Impossible to resolve dependencies of org.apache.hadoop#${ant.project.name};working@tinhat.local	ivy.xml	/hadoop-stuff	Unknown	Problem

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira