* Konstantin Shaposhnikov <[EMAIL PROTECTED]> [2003-11-02 17:33]:Oh, I was not very carefull while reading your answer. In my case situation slightly different, but I think you can handle similar properties in subprojects like me:
On 20:05 Sat 01 Nov , Alain Javier Guarnieri del Gesu wrote:
Is it possible to define a property in an extended project using the same value in the master project?
<!-- In master. -->
<project>
<siteDirectory>/www/ajgdg.com/codearea</siteDirectory> </project>
<!-- In extension. -->
<project>
<extends>master.xml</extends>
<siteDirectory>${pom.siteDirectory}/project1</siteDirectory>
</project>
It seems that my subproject values are all just a string prepended to a common prefix. How have other folks handled this?
This technique works fine for my projects.
I'm running out of memory when I do this. Is it possible to set arbitrary variables in a pom? Could I have a pom.siteBaseDirectory variable? (Runs off to check.) Nope.
In master:
<project>
<siteDirectory>/www/ajgdg.com/codearea/${pom.artifactId}</siteDirectory>
</project>In extension: <project> <id>project1</id> </project>
So sitedirectory for extension would be "/www/ajgdg.com/codearea/project1"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
