You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by pc...@apache.org on 2004/05/14 22:36:41 UTC

cvs commit: xml-xmlbeans/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool XMLBean.java

pcal        2004/05/14 13:36:41

  Modified:    v2/src/xmlcomp/org/apache/xmlbeans/impl/tool XMLBean.java
  Log:
  add 'source' attribute to v1 XMLBean tool
  
  Revision  Changes    Path
  1.5       +7 -0      xml-xmlbeans/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBean.java
  
  Index: XMLBean.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/XMLBean.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLBean.java	24 Feb 2004 01:17:16 -0000	1.4
  +++ XMLBean.java	14 May 2004 20:36:41 -0000	1.5
  @@ -241,6 +241,7 @@
                   javac.setExecutable(forkedExecutable);
                   javac.setFailonerror(failonerror);
                   javac.setFork(fork);
  +                if (source != null) javac.setSource(source);
                   javac.setIncludeantruntime(includeAntRuntime);
                   javac.setIncludejavaruntime(includeJavaRuntime);
                   javac.setSrcdir(new Path(project, srcgendir.getAbsolutePath()));
  @@ -671,6 +672,12 @@
       {
           this.memoryMaximumSize = memoryMaximumSize;
       }
  +
  +  //REVIEW this allows people to deal with the case where they drag in
  +  //more files for compilation than they should.  not sure if this is
  +  //a good thing or not
  +  private String source = null;
  +  public void setSource(String s) { source = s; }
   
       /**
        * Gets the XML Catalog file for org.apache.xml.resolver.tools.CatalogResolver. (Note: needs resolver.jar from http://xml.apache.org/commons/components/resolver/index.html)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org