ruleset.dtd and ruleset_xml_schema.xsd added to jar file in rulesets directory

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@5990 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch 2008-04-08 21:58:07 +00:00
parent 89b1d699bf
commit 159cbfa9e9
2 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,9 @@
</target>
<target name="jar" depends="copy,compile" description="Jars up the classes and rulesets">
<jar jarfile="${dir.lib}/pmd-${version}.jar" includes="net/sourceforge/pmd/**/**,test/net/sourceforge/pmd/testframework/**/**,rulesets/**" basedir="${dir.build}">
<jar jarfile="${dir.lib}/pmd-${version}.jar">
<fileset dir="${dir.build}" includes="net/sourceforge/pmd/**/**,test/net/sourceforge/pmd/testframework/**/**,rulesets/**"/>
<zipfileset dir="etc" includes="ruleset.dtd,ruleset_xml_schema.xsd" prefix="rulesets"/>
<manifest>
<attribute name="Main-Class" value="net.sourceforge.pmd.PMD" />
<attribute name="Class-Path" value="jaxen-${jaxen.version}.jar asm-${asm.version}.jar" />

View File

@ -3,6 +3,7 @@
'41' and '42' shortcuts for rulesets added
Fixed bug 1928009 - Error using migration ruleset in PMD 4.2
Fixed bug 1932242 - EmptyMethodInAbstractClassShouldBeAbstract false +
ruleset.dtd and ruleset_xml_schema.xsd added to jar file in rulesets directory
March 25, 2008 - 4.2: