incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mosur Ravi, Balaji" <>
Subject RE: idl preprocessor
Date Tue, 10 Apr 2007 22:18:39 GMT
Hi lars,

I think tools is the proper module for the idl2java tool also. We can create a common package
inside tools to incorporate the code that would be shared among all the tools.

How about

It should be ok to pass a reader, we would anyways know quickly if antlr has a problem.

The tools module uses Java 5, so no worries there...

- Balaji

-----Original Message-----
From: Lars K├╝hne [] 
Sent: Tuesday, April 10, 2007 6:59 PM
Subject: idl preprocessor


some questions regarding the IDL preprocessor I mentioned in YOKO-320:

Package name:
I would like to create a new package for the IDL preprocessor and be 
able to later reuse it in an Idl2Java compiler (YOKO-27). However the 
existing code in seems to be specifically 
targeting WSDL output, so I wonder if is a good package for the 
preprocessor. Should I rather use Is the 
tools module even the right choice or is tools purely concerned with the 
IDL<->WSDL bridge?

Reader vs. InputStream:
The code I have acts as a Reader, not an InputStream. Judging from the 
Antlr API, this doesn't seem to be a problem, but I'm not sure about 
escape character processing. Can someone confirm that passing a Reader 
to Antlr is equivalent to passing an InputStream?

Java 5:
My existing code uses Java5 features (Generics, StringBuilder, etc.). Is 
is OK to use Java5 in the tools module?


View raw message