FWIW, project.properties inheiritance like this was recently fixed in CVS. (Thanks Brett!) So if you can live on the edge, try rc3 from CVS?
>>>>> On Tue, 27 Apr 2004 10:35:06 +0200, Michael Mattox <[EMAIL PROTECTED]> said: > This might work with multiproject (I haven't verified this) but if > you do a build for a subproject itself it does't work. Maybe this > is a bug or an oversight, but I think this is really necessary. > Currently there is no properties inheritence and I believe the > build.properties in a user's home should only be used to override > the defaults. It shouldn't be mandatory for the build. >> -----Message d'origine----- De : Arto Pastinen >> [mailto:[EMAIL PROTECTED] Envoy� : mardi 27 avril 2004 10:27 � >> : Maven Users List Objet : Re: build.properties & project.xml >> inheritence >> >> >> I just make some test where i put properties in "master" >> project.properties, and called it with maven multiproject plugin, >> and there subproject's got those properties. >> >> On Tue, 2004-04-27 at 11:03, Michael Mattox wrote: >> > I set up a master project.xml and my subprojects extend it. This >> is working > great. The problem is if I want to define properties >> in build.properties > and have them shared by the entire hierachy >> of projects. For example, I > define the webserver IP address in >> my "master" build.properties. How can I > get this to be inherited >> by all my subprojects? So far the only way I see > is to define a >> build.properties in my user home directory. The problem with > >> this is I want this file to be stored in CVS. The build won't work >> without > it. Please let me know if there is a way to do this. >> > >> > The solution, I think, is that when you extend a project.xml you >> should also > inherit its build.properties. That way there is a >> "master" build.properties > for the project, and it's stored in CVS >> with the project. >> > >> > Regards, > Michael Mattox >> > >> > > -- This E-mail is confidential. It may also be legally privileged. > If you are not the addressee you may not copy, forward, disclose or > use any part of it. If you have received this message in error, > please delete it and all copies from your system and notify the > sender immediately by return E-mail. Internet communications cannot > be guaranteed to be timely, secure, error or virus-free. The sender > does not accept liability for any errors or omissions. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] -- ===================================================================== Jeffrey D. Brekke [EMAIL PROTECTED] Wisconsin, USA [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
