File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.

wood burning stoves
subject: dots in path
Similar Threads
Characters replacement
Eclipse Doubt
unable to create War using Ant
Ant Build...What does the values in basedir="" mean?
[Ant] how to create a jar (not runnable) with other dependencies?