diff options
author | Michi Henning <michi@zeroc.com> | 2002-07-25 07:04:46 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-07-25 07:04:46 +0000 |
commit | 9e9f73e98a399180afc1a618bd4cba534fa5ed7b (patch) | |
tree | 87ab44e1284c95a9f129a7536225c6b4df79de65 /java/ant/Slice2JavaTask.java | |
parent | Fixes (diff) | |
download | ice-9e9f73e98a399180afc1a618bd4cba534fa5ed7b.tar.bz2 ice-9e9f73e98a399180afc1a618bd4cba534fa5ed7b.tar.xz ice-9e9f73e98a399180afc1a618bd4cba534fa5ed7b.zip |
Changed Slice parser to disallow leading underscore for identifiers.
Changed Slice parser to reject identifiers beginning with "Ice", unless
the --ice option is used. Changed Slice parser to disallow identifiers
that have a trailing "Operations", "Holder", "Helper", "Prx", or "Ptr",
to avoid clashes with language mappings. Fixed tests and remaining code
base to work correctly with the changed rules.
Diffstat (limited to 'java/ant/Slice2JavaTask.java')
-rw-r--r-- | java/ant/Slice2JavaTask.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/ant/Slice2JavaTask.java b/java/ant/Slice2JavaTask.java index 68d8344acec..7b7f0cd08dd 100644 --- a/java/ant/Slice2JavaTask.java +++ b/java/ant/Slice2JavaTask.java @@ -196,6 +196,11 @@ public class Slice2JavaTask extends org.apache.tools.ant.Task { StringBuffer cmd = new StringBuffer(); + // + // Add --ice + // + cmd.append(" --ice"); + // // Add --output-dir // |