From aba526e28367b13319f0e56a44bed581417646d0 Mon Sep 17 00:00:00 2001 From: Tomas O'Connor Date: Fri, 14 Mar 2003 10:06:40 +0000 Subject: CommandLineTools should use AllFilesFilter --- scripting/java/build.xml | 5 +++-- scripting/java/org/openoffice/idesupport/CommandLineTools.java | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'scripting') diff --git a/scripting/java/build.xml b/scripting/java/build.xml index d6bc2ff9da79..fefcb232c984 100755 --- a/scripting/java/build.xml +++ b/scripting/java/build.xml @@ -3,9 +3,9 @@ # # $RCSfile: build.xml,v $ # -# $Revision: 1.17 $ +# $Revision: 1.18 $ # -# last change: $Author: dfoster $ $Date: 2003-02-25 16:06:44 $ +# last change: $Author: toconnor $ $Date: 2003-03-14 11:06:40 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -249,6 +249,7 @@ + diff --git a/scripting/java/org/openoffice/idesupport/CommandLineTools.java b/scripting/java/org/openoffice/idesupport/CommandLineTools.java index 51da687f2038..19135c25602a 100644 --- a/scripting/java/org/openoffice/idesupport/CommandLineTools.java +++ b/scripting/java/org/openoffice/idesupport/CommandLineTools.java @@ -2,9 +2,9 @@ * * $RCSfile: CommandLineTools.java,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: toconnor $ $Date: 2003-03-12 18:26:28 $ + * last change: $Author: toconnor $ $Date: 2003-03-14 11:06:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,6 +68,7 @@ import java.util.StringTokenizer; import org.openoffice.idesupport.zip.ParcelZipper; import org.openoffice.idesupport.xml.ParcelDescriptor; +import org.openoffice.idesupport.filter.AllFilesFilter; import org.openoffice.idesupport.*; public class CommandLineTools { @@ -302,7 +303,7 @@ public class CommandLineTools { } contents = new File(contents.getAbsolutePath()); - String name = ParcelZipper.getParcelZipper().zipParcel(contents); + String name = ParcelZipper.getParcelZipper().zipParcel(contents, AllFilesFilter.getInstance()); System.out.println(name + " generated"); } -- cgit