diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-03-25 19:02:28 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-03-25 19:02:28 +0000 |
commit | 8a7a40e0ced854d0eb3294c53d53b72c3bb96221 (patch) | |
tree | 3029b1d7ef5165b4b745c057ce7fefd961643bc1 /java/ant/Slice2JavaTask.java | |
parent | Updated to put proper paths in the projects. (diff) | |
download | ice-8a7a40e0ced854d0eb3294c53d53b72c3bb96221.tar.bz2 ice-8a7a40e0ced854d0eb3294c53d53b72c3bb96221.tar.xz ice-8a7a40e0ced854d0eb3294c53d53b72c3bb96221.zip |
adding support for TIE classes
Diffstat (limited to 'java/ant/Slice2JavaTask.java')
-rw-r--r-- | java/ant/Slice2JavaTask.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/java/ant/Slice2JavaTask.java b/java/ant/Slice2JavaTask.java index 7a08e332390..98ce6be25de 100644 --- a/java/ant/Slice2JavaTask.java +++ b/java/ant/Slice2JavaTask.java @@ -70,6 +70,7 @@ public class Slice2JavaTask extends org.apache.tools.ant.Task _outputDir = null; _package = null; _includePath = null; + _tie = false; } public void @@ -125,6 +126,12 @@ public class Slice2JavaTask extends org.apache.tools.ant.Task } } + public void + setTie(boolean tie) + { + _tie = tie; + } + public FileSet createFileset() { @@ -212,6 +219,14 @@ public class Slice2JavaTask extends org.apache.tools.ant.Task } // + // Add --tie + // + if (_tie) + { + cmd.append(" --tie"); + } + + // // Add files to be translated // for (int i = 0; i < buildList.size(); i++) @@ -256,5 +271,6 @@ public class Slice2JavaTask extends org.apache.tools.ant.Task private File _outputDir; private String _package; private Path _includePath; + private boolean _tie; private java.util.List _fileSets = new java.util.LinkedList(); } |