geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/xml XmlBeansUtil.java
Date Sun, 21 Mar 2004 18:11:12 GMT
adc         2004/03/21 10:11:12

  Modified:    modules/common project.xml
               modules/common/src/java/org/apache/geronimo/common/xml
                        XmlBeansUtil.java
  Log:
  I can use this for my networking configuration.
  
  Revision  Changes    Path
  1.23      +7 -1      incubator-geronimo/modules/common/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/common/project.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- project.xml	10 Mar 2004 09:58:25 -0000	1.22
  +++ project.xml	21 Mar 2004 18:11:11 -0000	1.23
  @@ -85,6 +85,12 @@
               <version>SNAPSHOT</version>
               <url>http://mx4j.sourceforge.net</url>
           </dependency>
  +
  +        <dependency>
  +            <groupId>xmlbeans</groupId>
  +            <artifactId>xbean-apache</artifactId>
  +            <version>1.0-DEV</version>
  +        </dependency>
       </dependencies>
   
   
  
  
  
  1.2       +3 -3      incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/xml/XmlBeansUtil.java
  
  Index: XmlBeansUtil.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/common/src/java/org/apache/geronimo/common/xml/XmlBeansUtil.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XmlBeansUtil.java	21 Mar 2004 17:49:22 -0000	1.1
  +++ XmlBeansUtil.java	21 Mar 2004 18:11:11 -0000	1.2
  @@ -39,10 +39,10 @@
   
       private XmlBeansUtil() {}
   
  -    public static XmlObject getPlan(URL planURL, SchemaType type) {
  +    public static XmlObject getXmlObject(URL url, SchemaType type) {
           InputStream is;
           try {
  -            is = planURL.openStream();
  +            is = url.openStream();
               try {
                   return parse(is, type);
               } finally {
  
  
  

Mime
View raw message