I want to allow Gump to use Depot to download jars from a repository (when
legal) so we don't have to manually install/distribute packages (or, keep it
to a minimum). My goal is to take this to 'personal cascaded Gumps', i.e.
where a user builds less and less & just automatically downloads the latest
Gumped jars from an upstream Gump.

We now have a third type of repository called 'artifact' (to match CVs and
SVN) that might point to (say) http://www.ibiblio.com/maven (the root of a
named repository).

<?xml version="1.0" encoding="ISO-8859-1"?>
<repository name="artifact_repository1" type="artifact">
  <title>Artifact Repository 1</title>
  <home-page>http://svn.apache.org/</home-page>
  <web>http://artifact.apache.org/</web>
  <redistributable/></repository>We now have a third type of repository
reference (in a module) that defines the 'group'.

  <artifacts repository="artifact_repository1" group="test"/>

As such, Gump can launch depot with those two pieces of information to
download the latest artifacts from that repository, for that group. [I need
to think about adding a version number to that element, but later.]

The next step is how we bind this in to the projects (and into how Gump
constructs classpaths and/or passes jars to Maven). Clearly we have <jar
entries in the project definitions, and these are starting to get
id=artifact id, so we can take the list of files that are downloaded and
(with some luck) bind each file to an artifact id. If that works (and the
issues is file naming of artifacts) we ought be good to go.

There will be some tweaks to allow a project overridden as a download, to
override a build (like packaging), and things like this, but we'll see about
that when we get there.

Thoughts on this approach?

regards,

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


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

Reply via email to