@@ -73,41 +73,4 @@ def parse_arguments(argv):
73
73
def main (argv ):
74
74
args = parse_arguments (argv [1 :])
75
75
#print("genjava %s/%s" % (args.package, args.message))
76
- print (" output dir..........%s" % args .output_dir )
77
76
gradle_project .create (args .package , args .output_dir )
78
- #search_path = genmsg.command_line.includepath_to_dict(args.include_path)
79
- #print(" search path.......%s" % search_path)
80
- #gradle_project_dir = os.path.join(args.output_dir, 'gradle')
81
- #os.mkdir(gradle_project_dir)
82
-
83
- # try:
84
- # if options.initpy:
85
- # if options.outdir:
86
- # retcode = write_modules(options.outdir)
87
- # else:
88
- # parser.error("Missing args")
89
- # else:
90
- # if len(args) < 2:
91
- # parser.error("please specify args")
92
- # if not os.path.exists(options.outdir):
93
- # # This script can be run multiple times in parallel. We
94
- # # don't mind if the makedirs call fails because somebody
95
- # # else snuck in and created the directory before us.
96
- # try:
97
- # os.makedirs(options.outdir)
98
- # except OSError as e:
99
- # if not os.path.exists(options.outdir):
100
- # raise
101
- # search_path = genmsg.command_line.includepath_to_dict(options.includepath)
102
- # retcode = gen.generate_messages(options.package, args[1:], options.outdir, search_path)
103
- # except genmsg.InvalidMsgSpec as e:
104
- # print("ERROR: ", e, file=sys.stderr)
105
- # retcode = 1
106
- # except MsgGenerationException as e:
107
- # print("ERROR: ", e, file=sys.stderr)
108
- # retcode = 2
109
- # except Exception as e:
110
- # traceback.print_exc()
111
- # print("ERROR: ",e)
112
- # retcode = 3
113
- # sys.exit(retcode or 0)
0 commit comments