You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by fi...@cirquedigital.com on 2004/05/10 23:48:12 UTC

[repository] versioning

Hi,

I was wondering if anybody did any work on automatic
versioning of artifacts ?

I have the following situation:

.xapp --> declares dependency on xbundles

     .xbundles --> declares dependency on jars, xconfs,...

What I'm looking for is a way to run version 1.0 of
the app, which will then automatically take the latest
1.0.* of the bundles which will the
automatically take the latest 1.0.* of the jars.

Or even, be able to run version 'CURRENT' of the app, which
then resolves to 1.1 as soon as that is available.

This effect is obviously possible by copying all the resources
multiple times to 1.0-CURRENT and 1-CURRENT and CURRENT and
so on, but I was wondering if there's a more elegant solution.


As a side question: I was under the impression that the
timestamp argument to LoaderUtils.getResource() would
make sure that a resource gets re-downloaded if the
repository changed (using a simple file:// repository
for testing), but that doesn't seem to be working -- can
any one explain what the purpose of the parameter is ?


Thanks for any insights!

- Filip



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org