This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes dots in path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "dots in path " Watch "dots in path " New topic

dots in path

J J Singh

Joined: Mar 20, 2010
Posts: 12

I want to know from where this is being read

e.g 1 <property file="${basedir}/../Interface/"/>

e.g 2

This make directory task is telling to make something like classes folder , but where?

<mkdir dir="${basedir}/../classes"/>

how to read those two dots?

Thanks in advance
J J Singh

Joined: Mar 20, 2010
Posts: 12
Okay i found it

Two dots will take me to parent directory of place where current location is

<mkdir dir="${basedir}/../classes"/>

e.g if basedir is .
then .. will take one level up

and then create directory named classes inside that directory.

jQuery in Action, 2nd edition
subject: dots in path