com.finalist.jaggenerator
Class LibCopier

java.lang.Object
  extended bycom.finalist.jaggenerator.LibCopier

public class LibCopier
extends java.lang.Object

Helper class for copying jar files to the generated build file to prevent unnecessary downloads. User: Rudie Ekkelenkamp Date: Apr 16, 2004 Time: 9:13:55 PM


Constructor Summary
LibCopier()
           
 
Method Summary
static java.util.HashMap copyJars(java.lang.String libXmlFile, java.lang.String targetDir)
          Reads the libraries from the JAG generated libXmlFile and copy them if needed from the local lib directory to the generated lib directory.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibCopier

public LibCopier()
Method Detail

copyJars

public static java.util.HashMap copyJars(java.lang.String libXmlFile,
                                         java.lang.String targetDir)
                                  throws javax.xml.parsers.ParserConfigurationException,
                                         org.xml.sax.SAXException,
                                         java.io.IOException
Reads the libraries from the JAG generated libXmlFile and copy them if needed from the local lib directory to the generated lib directory.

Returns:
a Hashmap with filename/URL pairs as Strings that couldn't be copied .
Throws:
javax.xml.parsers.ParserConfigurationException - Indicates a serious configuration error.
org.xml.sax.SAXException - Encapsulate a general SAX error or warning.
java.io.IOException - Signals that an I/O exception of some sort has occurred

main

public static void main(java.lang.String[] args)


Copyright © 2003-2005 SourceForge. All Rights Reserved.