--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
--- Begin Message ---
On Tue, 2002-06-11 at 20:49, Peter Lynch wrote:
> Hello,
>
> Somewhere along the way the name element for the dependency element was removed
> from the project descriptor. This is good.
>
> There is a need to describe dependencies though. Remember the case:
They should be fully described, but the descriptions should come from
project foo's descriptor. They shouldn't be repeated N times across N
different project descriptors. The shared repository of project
information not here yet but that's where the info should come from. The
<url> was a concession because there currently is no real linkage
between projects.
> <dependency>
> <name>Java Secure Socket Extension</name>
> <type>required</type>
> <version>1.02</version>
> <jar>jsse.jar</jar>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
> <dependency>
> <name>Java Secure Socket Extension</name>
> <type>required</type>
> <version>1.02</version>
> <jar>jnet.jar</jar>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
> <dependency>
> <name>Java Secure Socket Extension</name>
> <type>required</type>
> <version>1.02</version>
> <jar>jcert.jar</jar>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
>
> ( I know the above won't work now.)
>
> The three jars all belong to the same dist.
>
> I would like the option to :
>
> 1. Give them an optional description
> 2. optionally combine them under one dependency with multiple jar elements. This
> accounts for some distributions consisting of multiple jars.
Both of these should come from the project descriptor of the said
project. Vincent was talking about a <deliverables> element or something
similar that would declare artifacts to be exported. Jars produced could
definitely be one of them.
> So instead of:
>
> <dependency>
> <description>Java Secure Socket Extensions</description>
> <id>jcert</id>
> <version>1.02</version>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
>
> <dependency>
> <description>Java Secure Socket Extensions</description>
>
> <id>jsse</id>
> <version>1.02</version>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
>
> <dependency>
> <description>Java Secure Socket Extensions</description>
>
> <id>jnet</id>
> <version>1.02</version>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
>
>
> The new element would look like:
> <dependency>
> <description>Java Secure Socket Extensions</description>
> <ids>
> <id>jcert</id>
> <id>jnet</id>
> <id>jsse</id>
> </id>
> <version>1.02</version>
> <url>http://java.sun.com/products/jsse/index-102.html</url>
> </dependency>
I think repeating this information is wrong. We need a shared repo of
information. When is that going to happen, I don't know. I updated the
new design document describing what's been done so far.
> I brought this up before, but thought I would revisit the latest thinking as the
> project descriptor keeps changing.
I think what is there now would work if the shared information was
present.
> -Peter
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
--- End Message ---
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>