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 +16 -1 jbosscx/config.xml
Index: config.xml
===================================================================
RCS file: /cvsroot/jboss/jbosscx/config.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- config.xml 2001/08/14 02:13:13 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:13 user57 Exp $ -->
+<!-- $Id: config.xml,v 1.4 2001/08/19 04:48:40 d_jencks Exp $ -->
<!-- ================================================================== -->
<!-- Module Setup -->
@@ -38,6 +38,17 @@
</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 -->
@@ -212,4 +223,8 @@
<!-- 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.3 +21 -1 jbosscx/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosscx/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.xml 2001/08/11 05:20:11 1.2
+++ build.xml 2001/08/19 04:48:40 1.3
@@ -10,7 +10,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.2 2001/08/11 05:20:11 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.3 2001/08/19 04:48:40 d_jencks Exp $ -->
<project default="main">
@@ -193,6 +193,26 @@
<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>
<!-- ================================================================== -->
<!-- Compile -->
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development