User: vharcq  
  Date: 02/03/24 21:49:43

  Modified:    core/src/xdoclet DocletTask.java
  Log:
  force FORK to true for ant task.  It does solve the Linkage problem that occurs at 
xml validation time.  And it reduces run time from 1min19sec to 23sec (the first time 
- 33sec the next times - help on that wanted pleeeease)
  
  Revision  Changes    Path
  1.24      +3 -1      xdoclet/core/src/xdoclet/DocletTask.java
  
  Index: DocletTask.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/DocletTask.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -w -r1.23 -r1.24
  --- DocletTask.java   24 Mar 2002 17:44:17 -0000      1.23
  +++ DocletTask.java   25 Mar 2002 05:49:43 -0000      1.24
  @@ -30,7 +30,7 @@
    * @author    Ara Abrahamian ([EMAIL PROTECTED])
    * @author <a href="mailto:[EMAIL PROTECTED]";>Aslak Helles�y</a>
    * @created   June 19, 2001
  - * @version   $Revision: 1.23 $
  + * @version   $Revision: 1.24 $
    */
   public class DocletTask extends XJavadocTask
   {
  @@ -43,6 +43,7 @@
        private String     excludedTags = null;
   
        private boolean    force = false;
  +    private boolean    isFork = true;
   
        private ArrayList     templates = new ArrayList();
        private ArrayList     configParams = new ArrayList();
  @@ -279,6 +280,7 @@
                        // save the context and pass its filename as an arg to the main
                        save(getContext(), _tmpFile);
                        createArg().setValue(_tmpFile.getAbsolutePath());
  +            super.setFork(isFork);
                        super.execute();
                } catch (IOException e) {
                        e.printStackTrace();
  
  
  

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

Reply via email to