Integration with Maven
Paweł Baran
pwelbrn at gmail.com
Tue May 31 05:44:44 UTC 2011
On 31.05.2011 02:35, Marius Kruger wrote:
>
> On 30 May 2011 18:35, Paweł Baran <pwelbrn at gmail.com
> <mailto:pwelbrn at gmail.com>> wrote:
> I use bzr-externals with multi-module maven projects and it works great.
> (I tell maven about this structure too with an aggregation/reactor
> pom.xml so I can build all or a subset too.)
>
> Can the relative path be relative in repository server? I mean
> situation when modules are on the same server (their repositories
> in the same directory). For instance:
> /home/user/bzr-repos/repository1/project1
> and
> /home/user/bzr-repos/repository2/project2.
>
> I want to link from one to the second. For example in project1
> directory module1 subdirectory to project2/. I tried to assign
> project1/module1 -> ../../repository2/project2, but it didn't
> work. Relative path works only on client side (local)?
>
>
> I'm not sure what you mean. Is repository1/project1 and
> repository2/project2 supposed to contain the same stuff?
> The one could be a bound branch or checkout of the other on the client
> and on the server.
> I don't think bzr-externals will set that up automatically when
> pushing, but you should be able to set it up manually.
>
> --
> <>< Marius ><>
>
project2 is one of the project1 modules. I would like to link to it
using relative path in server where i have both project repositories. I
can't use full path, because the absolute path is:
bzr+ssh://login@server/path/to/repository/of/project2
This path is saved in .bzrmeta. (What about another users?)
project2 is placed on the same server, for instance
server/bzr-repos/repository2/project2. project1 —
server/bzr-repos/repository1/project1. I want to link from subdirectory
of project1 to project2 using relative path. Something like:
../../../repository2/project2.
Thanks for the reply!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110531/36297c7f/attachment.html>
More information about the bazaar
mailing list