wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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 build.properties is being read

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

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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: dots in path