ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R. Mark Volkmann" <mark.volkm...@home.com>
Subject accessing Ant project name
Date Sun, 26 Nov 2000 22:41:37 GMT
Is it possible to reference the name of a project within a target?
For example, can I do something like this?

<project name="My Project">
  <target name="getProjectName">
    <echo message="${project.name}"/>
  </target>
</project>

I made up the property name "project.name". This doesn't work but it seems
there should be some way I can use the name of the project within a target.


Mime
View raw message