Author: [email protected]
Date: Thu Jan 22 08:27:13 2009
New Revision: 2931

Modified:
   trunk/build.xml

Log:
Modified the osx_jdbc_tgz and osx_tgz targets, because the spaces in the 'Power Architect*.app' in the tarfileset section was causing the .app directory to be ignored. The solution for now is to just put asterisks in between. I also removed the jdbc directory from the list since it's already included in the app bundle itself.

Also reduced the PMD rule set back to the default basic and imports, since the additional rules increased the PMD warnings count to a really high (thousands) number. We can add them back when we don't have as many PMD warnings to fix.

Modified: trunk/build.xml
==============================================================================
--- trunk/build.xml     (original)
+++ trunk/build.xml     Thu Jan 22 08:27:13 2009
@@ -277,7 +277,7 @@
                        classpath="${pmd.jar}"/>
<property name="pmd-results" value="${reports}/pmd-ant-results.${pmd.report.format}"/>
                <pmd shortFilenames="true" targetjdk="1.5">
-                       <ruleset>basic,codesize,design,strings,imports</ruleset>
+                       <ruleset>basic,imports</ruleset>
                        <formatter type="${pmd.report.format}" 
toFile="${pmd-results}"/>
                        <fileset dir="${src}">
                                <include name="**/*.java"/>
@@ -1166,16 +1166,14 @@
        <target name="osx_tgz" depends="osx_dist" if="isNotMac">
                <tar destfile="${dist.dir}/Architect-OSX-${app.version}.tar.gz"
                                        compression="gzip">
-                       <tarfileset dir="${staging.dir}" includes="Power 
Architect.app/**"/>
-                       <tarfileset dir="${staging.dir}" includes="jdbc/*.ini"/>
+                       <tarfileset dir="${staging.dir}" 
includes="Power*Architect.app/**"/>
                </tar>
        </target>

        <target name="osx_jdbc_tgz" depends="osx_jdbc_dist" if="isNotMac">
                <tar 
destfile="${dist.dir}/Architect-OSX-jdbc-${app.version}.tar.gz"
                                        compression="gzip">
- <tarfileset dir="${staging.dir}" includes="Power Architect JDBC.app/**"/>
-                       <tarfileset dir="${staging.dir}" includes="jdbc/*"/>
+ <tarfileset dir="${staging.dir}" includes="Power*Architect*JDBC.app/**"/>
                </tar>
        </target>

Reply via email to