Beginnings of automated Java library publishing, dependency tracking and

downloading system.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@702 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-04-11 07:23:59 +00:00
parent 6caf731ff9
commit d2fbfd11cf
19 changed files with 1223 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
Dependency system design
------------------------
- Two interfaces: Java object interface and ANT wrapper
- If possible, use no external libraries to avoid bootstrapping problems
(can't use depends to download depends for depends):
+ make use of built-in Java XML parsing services
+ make use of built-in Java logging services
+ will have to "depend" on ant
- Object interface available via the following classes:
public class Dependency
{
public String getLibraryName ();
public File getLocalJar ();
public boolean isUpToDate ();
public void bringUpToDate ();
}
public class DependencyParser
{
public <Dependency>List parseDependencies (
File definition, File repository);
}
public class LibraryDescriptor
{
}