From: Wolfgang M. M. <wol...@us...> - 2004-05-25 13:01:20
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/ant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28026/src/org/exist/ant Modified Files: XMLDBStoreTask.java Log Message: Added Darren's fix for XMLDBStoreTask. Index: XMLDBStoreTask.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/ant/XMLDBStoreTask.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XMLDBStoreTask.java 29 Jan 2004 15:06:50 -0000 1.2 --- XMLDBStoreTask.java 25 May 2004 13:00:54 -0000 1.3 *************** *** 104,108 **** prevDir = relDir; } ! } resourceType = type.equals("binary") ? "BinaryResource" : "XMLResource"; res = collection.createResource(file.getName(), resourceType); --- 104,109 ---- prevDir = relDir; } ! } else ! collection = root; resourceType = type.equals("binary") ? "BinaryResource" : "XMLResource"; res = collection.createResource(file.getName(), resourceType); |