ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] [Commented] (IVYDE-280) Can't resolve the use of ${ant.project.name}
Date Fri, 08 Apr 2011 12:50:05 GMT

    [ 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

Mime
View raw message