User: rinkrank
  Date: 02/03/23 08:29:47

  Modified:    src/xjavadoc/ant XJavadocTask.java
  Log:
  Integrating xdoclet/xjavadoc build
  Got rid of deprecation warning in test
  Using Ant copy/filterset to preprocess grammar (in stead of replacecopy, because 
xdoclet doesn't exist yet!)
  
  Revision  Changes    Path
  1.6       +18 -1     xjavadoc/src/xjavadoc/ant/XJavadocTask.java
  
  Index: XJavadocTask.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/ant/XJavadocTask.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -w -r1.5 -r1.6
  --- XJavadocTask.java 19 Mar 2002 07:03:35 -0000      1.5
  +++ XJavadocTask.java 23 Mar 2002 16:29:47 -0000      1.6
  @@ -66,7 +66,7 @@
        /**
         * @todo-javadoc Describe the field
         */
  -     private boolean _isForked = true;
  +     private boolean _isForked = false;
   
        /**
         * @todo-javadoc Describe the field
  @@ -154,10 +154,27 @@
                        save(sourceSets, _tmpFile);
                        createArg().setValue(_tmpFile.getAbsolutePath());
                        createArg().setValue(_className);
  +                     System.out.println("xjavadoc classpath:" + 
System.getProperty("java.class.path"));
  +                     Class.forName(_className);
                        super.execute();
                } catch (IOException e) {
                        e.printStackTrace();
                        throw new BuildException(e);
  +             } catch (NoClassDefFoundError e) {
  +                     e.printStackTrace();
  +                     throw new BuildException(e);
  +             } catch (ClassNotFoundException e) {
  +                     e.printStackTrace();
  +                     throw new BuildException(e);
  +             } catch (BuildException e) {
  +                     Throwable cause = e.getException();
  +                     if (cause != null) {
  +                             cause.printStackTrace();
  +                     }
  +                     else {
  +                             e.printStackTrace();
  +                     }
  +                     throw e;
                }
   
        }
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to