User: d_jencks
  Date: 01/08/18 21:48:40

  Modified:    .        config.xml build.xml
  Log:
  Made pretty printing target for server, connector, pool, and messaging.
  
  Revision  Changes    Path
  1.4       +17 -1     jbosspool/config.xml
  
  Index: config.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosspool/config.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- config.xml        2001/08/14 02:13:14     1.3
  +++ config.xml        2001/08/19 04:48:40     1.4
  @@ -7,7 +7,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: config.xml,v 1.3 2001/08/14 02:13:14 user57 Exp $ -->
  +<!-- $Id: config.xml,v 1.4 2001/08/19 04:48:40 d_jencks Exp $ -->
   
     <!-- ================================================================== -->
     <!-- Module Setup                                                       -->
  @@ -38,7 +38,18 @@
       </fileset>
     </path>
   
  +  <property name="dreambean.ejbdoclet.lib" 
value="${tools.root}/dreambean/ejbdoclet/lib"/>
  +  <property name="jedit.javastyle" value="${tools.root}/jedit"/>
  +  <path id="ejbdoclet.pretty.classpath">
  +    <fileset dir="${dreambean.ejbdoclet.lib}">
  +      <include name="**/*.jar"/>
  +    </fileset>
  +    <fileset dir="${jedit.javastyle}">
  +      <include name="**/*.jar"/>
  +    </fileset>
  +  </path>
   
  +
     <!-- ================================================================== -->
     <!-- Library Setup                                                      -->
     <!-- ================================================================== -->
  @@ -238,4 +249,9 @@
       <!-- Execute custom initialization tasks here. -->
       <taskdef name="junit" classpathref="junit.task.classpath"
             classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
  +
  +    <taskdef name="pretty" classpathref="ejbdoclet.pretty.classpath"
  +          classname="pretty.Pretty"/>
  +
  +
     </target>
  
  
  
  1.5       +22 -2     jbosspool/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosspool/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml 2001/08/16 03:05:45     1.4
  +++ build.xml 2001/08/19 04:48:40     1.5
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.4 2001/08/16 03:05:45 d_jencks Exp $ -->
  +<!-- $Id: build.xml,v 1.5 2001/08/19 04:48:40 d_jencks Exp $ -->
   
   <project default="main">
   
  @@ -67,7 +67,7 @@
     <property file="${module.root}/local.properties"/>
     <property file="${project.config}/local.properties"/>
     <property file="${module.root}/config.properties"/>
  -  <property file="${moudle.parent.config}/config.properties"/>
  +  <property file="${module.parent.config}/config.properties"/>
   
     <!-- 
        |  Setup the basic environment for a source module.
  @@ -191,6 +191,26 @@
     <!-- Disable execution of the init-hook target -->
     <target name="disable-init-hook">
       <property name="bypass-init-hook" value="true"/>
  +  </target>
  +
  +  <!-- ================================================================== -->
  +  <!-- Pretty                                                             -->
  +  <!-- ================================================================== -->
  +
  +  <!-- 
  +     |  Pretty print everything.
  +     |
  +     |  This uses the jedit JavaStyle plugin via the ejbdoclet pretty ant task.
  +     |  cvs="true" only pretties files you have already modified.
  +     |  cvs="false" pretties all files.
  +    -->
  +
  +  <target name="pretty" depends="init">
  +    <pretty settingsDir="${project.config}/etc" cvs="true">
  +      <fileset dir="${source.java}">
  +        <include name="**/*.java"/>
  +      </fileset>
  +    </pretty>
     </target>
   
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to