commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/classretrievers DynamicGeneratorClassRetriever.java
Date Mon, 28 Jan 2002 00:35:16 GMT
hammant     02/01/27 16:35:16

  Modified:    altrmi/src/java/org/apache/commons/altrmi/javacompiler
                        SunJavaCompiler.java
               altrmi/src/java/org/apache/commons/altrmi/server/impl/classretrievers
                        DynamicGeneratorClassRetriever.java
  Log:
  slight adjustments for embedability
  
  Revision  Changes    Path
  1.2       +5 -0      jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/javacompiler/SunJavaCompiler.java
  
  Index: SunJavaCompiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/javacompiler/SunJavaCompiler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SunJavaCompiler.java	25 Jan 2002 16:40:13 -0000	1.1
  +++ SunJavaCompiler.java	28 Jan 2002 00:35:16 -0000	1.2
  @@ -99,6 +99,11 @@
               };
           }
   
  +        //for (int i = 0; i < args.length; i++) {
  +        //    String arg = args[i];
  +        //    System.out.println("Arg " + i + "=" + arg);
  +        //}
  +
           return compiler.compile(args);
       }
   }
  
  
  
  1.2       +4 -1      jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/classretrievers/DynamicGeneratorClassRetriever.java
  
  Index: DynamicGeneratorClassRetriever.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/classretrievers/DynamicGeneratorClassRetriever.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DynamicGeneratorClassRetriever.java	27 Jan 2002 15:47:40 -0000	1.1
  +++ DynamicGeneratorClassRetriever.java	28 Jan 2002 00:35:16 -0000	1.2
  @@ -23,7 +23,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class DynamicGeneratorClassRetriever extends AbstractClassRetriever implements AltrmiProxyGenerator
{
   
  @@ -95,6 +95,9 @@
   
       public void setAltrmiClasspath(String altrmiClasspath) {
           mAltrmiClasspath = altrmiClasspath;
  +    }
  +    public void addToAltrmiClasspath(String classpathElement) {
  +        mAltrmiClasspath = mAltrmiClasspath + File.pathSeparator + classpathElement;
       }
   
       public void setClassGenDir(String classGenDir) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message