java - How could I get a path to one project from another during runtime? -
i have project 2 modules named web-app , prebuildactions , there simple console application in prebuildactions.
the construction of folder next:
| prj | project1 -web-app -prebuild
i running prebuild, dlike path web-inf folder located in web-app
system.getproperty("user.dir");
gave me valid path project path prebuild folder. possible path folder web-inf located in other project folder grammatically without running web-app ? trying organize pre-build generation of configs web-app
perhaps -this possible go 1 level executing project? ../../
?
java
No comments:
Post a Comment