What do you try to do exactly?
Do you want the working directory or the path of the target directory?

Emmanuel

B. De Mezzo a écrit :
B. De Mezzo a écrit :
hello,
I am looking for a property to pass througth maven to get the absolute path location of the current build working directory. Does it exist ? If not, have you got an idea to get this piece of information ?

Thx,
BDM.
update:
- ${basedir} is not a good solution because it changes for each project in multi-module project. - And when I use a piece of ant code within maven (in some <configuration><task>...</task></configuration>), the modification, I have done onto an ant-style property, is not visible back in maven. - Using profiles to set a property according to an existing file or an existing property (to do distinction between root project and module project levels) does not work too ...

I am becoming disappointed ...
HHEEELLLPPP :)

Thx,
BDM.




Reply via email to