You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Jason van Zyl <jv...@apache.org> on 2001/08/09 00:42:53 UTC

[gump] normalizing project descriptors

Hi Sam,

Can we normalize the project descriptors? I would like to use the project
descriptors you have started for JJAR instead of rolling another project
descriptor but I really don't like the pattern

<project>
  
  <!-- this should be surrounded in tags -->
  <a/>
  <b/>
  <c/>
   
  <project>
    <a/>
    <b/>
    <c/>
  </project>
</project>

I 'project' info should be surrounding by 'project' tags or maybe it might
be better to call the blocks on the inside of the outer <project> tags
something like <target> for clarity. I think this would make mapping easier,
and I think it would make the DTD a little easier to follow.

Then could we add a version attribute for a dependency

<depend project="velocity" version="1.2"/>

This is something that Gump would ignore but would be used by JJAR to bring
down the right JAR. It would be cool to use the project info you've started.
I think the pattern you have in the project descriptors is exceptional and
not the norm, I think someone looking at a project descriptor for the first
time would have a hard time knowing that the top level tags have the same
meaning as tags surrounded by <project> tags. I know I did.

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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