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.6 +15 -1 jbossmq/config.xml
Index: config.xml
===================================================================
RCS file: /cvsroot/jboss/jbossmq/config.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- config.xml 2001/08/18 04:44:29 1.5
+++ config.xml 2001/08/19 04:48:40 1.6
@@ -7,7 +7,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: config.xml,v 1.5 2001/08/18 04:44:29 user57 Exp $ -->
+<!-- $Id: config.xml,v 1.6 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 -->
@@ -268,4 +279,7 @@
<!-- 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.7 +19 -14 jbossmq/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbossmq/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.xml 2001/08/17 04:24:58 1.6
+++ build.xml 2001/08/19 04:48:40 1.7
@@ -10,7 +10,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.6 2001/08/17 04:24:58 chirino Exp $ -->
+<!-- $Id: build.xml,v 1.7 2001/08/19 04:48:40 d_jencks Exp $ -->
<project default="main">
@@ -193,20 +193,25 @@
<property name="bypass-init-hook" value="true"/>
</target>
- <!-- Reformat all the sources
- **** You must manually add pretty.jar and JavaStyle.jar to the build
- **** Classpath. pretty.jar is in ejbdoclet project and
- **** JavaStyle.jar is from http://plugins.jedit.org/plugins/JavaStyle
- *-->
+
+ <!-- ================================================================== -->
+ <!-- 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">
- <!--
- <taskdef name="pretty" classname="pretty.Pretty">
- <pretty settingsDir="src/etc" cvs="true">
- <fileset dir="${source.java}">
- <include name="**/*.java" />
- </fileset>
- </pretty>
- -->
+ <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