Hi Oleg,

> The path is actually relative:
> <import file="../project/build-common.xml"/>

The trick is as follows:

<!-- override as appropriate for your environment -->
<property name="build.common" location="../project/build-common.xml" />
<import file="${build.common}" />


I have been thinking about another trick, where each module
would have a build-common.xml which includes the one from
the project directory. When building the release, the local
one could be replaced by a copy of the project directory one.
The problem with this idea is that releases are no longer
reproducible then. Manually replacing build-project.xml when
creating the SVN branch might solve this.


I also have some ideas that would affect the build process,
but I need more time to become familiar with Maven and the
Maven-Ant-interaction. I am quite familiar with Ant alone,
but I'm always afraid to break Maven functionality.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to