diff options
author | Tomas O'Connor <toconnor@openoffice.org> | 2003-03-14 10:06:40 +0000 |
---|---|---|
committer | Tomas O'Connor <toconnor@openoffice.org> | 2003-03-14 10:06:40 +0000 |
commit | aba526e28367b13319f0e56a44bed581417646d0 (patch) | |
tree | b9577b5503bc389fbf413757d13c1f4cee5a523c | |
parent | 49bb1939019d800432e16fdcd56e7248eba411e3 (diff) |
CommandLineTools should use AllFilesFilter
-rwxr-xr-x | scripting/java/build.xml | 5 | ||||
-rw-r--r-- | scripting/java/org/openoffice/idesupport/CommandLineTools.java | 7 |
2 files changed, 7 insertions, 5 deletions
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 @@ <exclude name="${netbeans.dir}/**/ParcelDescriptorChildren.class"/> <exclude name="${netbeans.dir}/**/ScriptNode.class"/> <include name="${idesupport.dir}/**/*.class"/> + <include name="CommandLineTools*"/> <exclude name="${idesupport.dir}/localoffice/*.class"/> </fileset> <fileset dir="."> 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"); } |