Specifying install paths
1 posts in topic
Flat View  Flat View

Posted By:   Evan_Minton
Posted On:   Tuesday, February 24, 2004 11:21 AM

Is there a property like make's --prefix for ant?
I'm actually using it on Windows 2000 server and compiled ant with nmake.

I tried to see if "ant -Dprefix=c:path ofolder" worked, but it doesn't seem to.

I built an using the following command:

nmake /f Makefile INSTDIR=c:ant1.6.1

It would be nice if there was something similar for both systems (Linux and Windows).

Re: Specifying install paths

Posted By:   Anonymous  
Posted On:   Wednesday, February 25, 2004 02:36 AM

I don´t know what prefix does on make. But all relatve paths are resolved to ${basedir} property. It´s defined in the tag or defaults to the directory containing the buildfile. You can differ from that default - but you have to be careful, because that´s an unsual scenario ...
About | Sitemap | Contact