summaryrefslogtreecommitdiff
path: root/java/ant/Slice2JavaTask.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-12-12 23:11:19 +0000
committerMark Spruiell <mes@zeroc.com>2003-12-12 23:11:19 +0000
commit3c11b3351613d74378780103295395a3fb6e3c39 (patch)
treee4a0cfddf317dc6b3b6d831e78d4706f31d51e9b /java/ant/Slice2JavaTask.java
parentAdding support for global metadata. Removing the --package option in (diff)
downloadice-3c11b3351613d74378780103295395a3fb6e3c39.tar.bz2
ice-3c11b3351613d74378780103295395a3fb6e3c39.tar.xz
ice-3c11b3351613d74378780103295395a3fb6e3c39.zip
Removing --package option from slice2java. Adding translator test for
packaging.
Diffstat (limited to 'java/ant/Slice2JavaTask.java')
-rw-r--r--java/ant/Slice2JavaTask.java20
1 files changed, 1 insertions, 19 deletions
diff --git a/java/ant/Slice2JavaTask.java b/java/ant/Slice2JavaTask.java
index ed465fdafb8..f456b3473e0 100644
--- a/java/ant/Slice2JavaTask.java
+++ b/java/ant/Slice2JavaTask.java
@@ -42,7 +42,6 @@ import java.io.BufferedWriter;
* Attributes specific to slice2java:
*
* translator - The pathname of the translator (default: "slice2java").
- * package - The value for the --package translator option.
* tie - The value for the --tie translator option.
*
* Example:
@@ -52,7 +51,7 @@ import java.io.BufferedWriter;
* <property name="slice.dir" value="../include/slice"/>
* <target name="generate">
* <mkdir dir="tags" />
- * <slice2java tagdir="tags" outputdir="out" package="com.foo">
+ * <slice2java tagdir="tags" outputdir="out">
* <define name="SYMBOL" value="VALUE"/>
* <includepath>
* <pathelement path="${slice.dir}" />
@@ -72,7 +71,6 @@ public class Slice2JavaTask extends SliceTask
Slice2JavaTask()
{
_translator = null;
- _package = null;
_tie = false;
}
@@ -83,12 +81,6 @@ public class Slice2JavaTask extends SliceTask
}
public void
- setPackage(String pkg)
- {
- _package = pkg;
- }
-
- public void
setTie(boolean tie)
{
_tie = tie;
@@ -169,15 +161,6 @@ public class Slice2JavaTask extends SliceTask
}
//
- // Add --package
- //
- if(_package != null)
- {
- cmd.append(" --package ");
- cmd.append(_package);
- }
-
- //
// Add include directives
//
if(_includePath != null)
@@ -329,6 +312,5 @@ public class Slice2JavaTask extends SliceTask
}
private File _translator;
- private String _package;
private boolean _tie;
}