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:

<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.

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 brought this up before, but thought I would revisit the latest thinking as the
project descriptor keeps changing.

-Peter



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

Reply via email to