This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes customize the build.properties appserver.home= ${user.home} Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "customize the build.properties appserver.home= ${user.home}" Watch "customize the build.properties appserver.home= ${user.home}" New topic
Author

customize the build.properties appserver.home= ${user.home}

ezechiel kader
Greenhorn

Joined: Dec 25, 2009
Posts: 2
Hi,
i need to customize build.properties
appserver.home=${user.home} goes to c:/xxxx but my tomcat install dir is in D:/sandbox/tomcat
i need it to go to D: hard drive please help
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

ezechiel, welcome to Java Ranch!

Why not simply set it as follows:

appserver.home=D:/sandbox/tomcat


JBoss In Action
ezechiel kader
Greenhorn

Joined: Dec 25, 2009
Posts: 2
Hi Peter, Thanks very much , it's works after folowing your suggestion
merry christmass
 
 
subject: customize the build.properties appserver.home= ${user.home}
 
Similar Threads
Modifying appserver.home property in build.properties file NOT working
Buildfile: build.xml does not exist! Build failed
setting db.url in Spring tutorial
Build failure in Step-by-step tutorial
Error The requested resource is not available