ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Moore <JohnMo...@PDSI-Software.COM>
Subject RE: Patch for Rmic.java to support -iiop <options> and -idl <opti ons> /
Date Thu, 16 Nov 2000 17:32:01 GMT
Index: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Rmic.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Rmic.java
,v
retrieving revision 1.14
diff -r1.14 Rmic.java
76a77,80
>  * <li>iiop: Generate IIOP compatable output 
>  * <li>iiopopts: Include IIOP options 
>  * <li>idl: Generate IDL output 
>  * <li>idlopts: Include IDL options 
98a103,107
>     private boolean iiop = false;
>     private String  iiopopts;
>     private boolean idl  = false;
>     private String  idlopts;
> 
156a166,197
>     /**
>      * Indicates that IIOP compatible stubs should
>      * be generated.  This defaults to false 
>      * if not set.  
>      */
>     public void setIiop(boolean iiop) {
>         this.iiop = iiop;
>     }
> 
>     /**
>      * pass additional arguments for iiop 
>      */
>     public void setIiopopts(String iiopopts) {
>         this.iiopopts = iiopopts;
>     }
> 
>     /**
>      * Indicates that IDL output should be 
>      * generated.  This defaults to false 
>      * if not set.  
>      */
>     public void setIdl(boolean idl) {
>         this.idl = idl;
>     }
> 
>     /**
>      * pass additional arguments for idl compile 
>      */
>     public void setIdlopts(String idlopts) {
>         this.idlopts = idlopts;
>     }
> 
168a210,221
>         if (iiop) {
>             log("IIOP has been turned on.", Project.MSG_INFO);
> 	    if( iiopopts != null ) {
> 		log("IIOP Options: " + iiopopts, Project.MSG_INFO );
> 	    }
>         }
>         if (idl) {
>             log("IDL has been turned on.", Project.MSG_INFO);
> 	    if( idlopts != null ) {
> 		log("IDL Options: " + idlopts, Project.MSG_INFO );
> 	    }
>         }
190a244,256
> 	if (iiop) {
> 	  argCount++;
> 	  if( iiopopts != null ) {
> 	    argCount++;
>           }
> 	}
> 	if (idl) {
> 	  argCount++;
> 	  if( idlopts != null ) {
> 	    argCount++;
>           }
> 	}
> 	
205a272,284
> 
> 	if( iiop ) {
>              args[i++] = "-iiop";
> 	     if( iiopopts != null ) 
> 		args[i++] = iiopopts;
> 	}
> 
> 	if( idl )  {
> 	     args[i++] = "-idl";
> 	     if( idlopts != null ) 
> 		args[i++] = idlopts;
> 	}
> 


-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@bost.de]
Sent: Thursday, November 16, 2000 3:44 AM
To: ant-dev@jakarta.apache.org
Subject: Re: Patch for Rmic.java to support -iiop <options> and -idl
<options>


John Moore <JohnMoore@PDSI-Software.COM> wrote:

> I'd like to know who I should direct the file to.

This list and then sooner or later one of the committers will
hopefully pick it up. If not, keep bugging us.

Stefan

Mime
View raw message