Nico Seessle wrote:
> Hi there,
>
> taking the current "implementation" of the repository as a start-point I
> have some questions. Maybe someone can answer them or we can try to find
> answers together...
>
> --- current repository ---
> <?xml version="1.0" encoding="utf-8"?>
> <project name="xml-xerces">
> <component name="xerces">
> <revision version="1.2">
> <test class="org.apache.xerces.xml.foo"/>
> <jar url="http://xml.apache.org/bin/xml-xerces/xerces-1.2.jar"/>
> </revision>
> </component>
> </project>
> --- current repository ---
>
> The questions:
>
> What is the purpose of the "test"-element, is this class looked for in the
> local classpath to see if requested resource is already available?
Yes.
> What if there is no class which can be used to find differences between two
> releases?
the test element would not be required. It was just an idea that I had.
> What if the resource is not in the classpath that is available when Ant is
> running (for example the property is used in a nested classpath element with
> javac)?
Good question. I suppose that I could:
a) drop the test element.
b) add classpath capability to the <cjan/> task.
> What if the required resource is not available as a jar file? (For example
> JUnit seems to be only available as zip files)?
Right now it is jar files. It can and will change, I am sure. I am
sure that people will eventually want it to download compelete distros,
but that is the cart before the horse, and I just wanted jars for now ;-)
> What is running on the Server-Side? Or is the CJANGet-task supposed to
> download all the xml files from the repository if they change?
The intention is that the cjan task will look at some static xml up on
the net, and then from that xml file determine the url to download from.
Is that clear enough. I am designing it this way to see how it will
work. Maybe it ultimately becomes a dynamic resource ;-)
>
> Ok, I think that should be enough for the moment :-)
Feel free to jump in with more. More heads are better than just mine ;-)
Scott Sanders