]> source.dussan.org Git - vaadin-framework.git/commitdiff
Run tests with assertions enabled
authorArtur Signell <artur@vaadin.com>
Tue, 4 Sep 2012 13:23:23 +0000 (16:23 +0300)
committerArtur Signell <artur@vaadin.com>
Sun, 9 Sep 2012 08:23:17 +0000 (11:23 +0300)
common.xml

index 1e7c050deefc7996259f66b22230df6fba275af1..191b522bc4f6a5a5b0f3bd2542a5247d9b5223c1 100644 (file)
@@ -22,7 +22,7 @@
                <property name="ivy.xml" location="${result.dir}/../ivy.xml" />
                <property name="pom.xml" location="${result.dir}/pom.xml" />
                <property name="conf" value="build, build-provided" />
-               
+
                <ivy:makepom templatefile="${vaadin.basedir}/pom-template.xml" ivyfile="${ivy.xml}" pomfile="${pom.xml}" conf="${conf}">
                        <mapping conf="build" scope="compile" />
                        <mapping conf="build-provided" scope="provided" />
 
                <junit printsummary="withOutAndErr">
                        <formatter usefile="false" type="plain" />
-
+                       <jvmarg value="-ea" />
                        <classpath location="${tests.classes}" />
                        <classpath location="${classes}" />
                        <classpath refid="classpath.compile.custom" />
        <target name="publish-local" description="Publishes the given module to the local repository">
                <fail unless="result.dir" message="No result.dir parameter given" />
                <property name="conf" value="*(public)" />
-               
-               <ivy:resolve conf="${conf}"/>
+
+               <ivy:resolve conf="${conf}" />
                <ivy:publish conf="${conf}" resolver="build-temp" overwrite="true" forcedeliver="true">
                        <!--                    <artifacts pattern="${result.dir}/[artifact]-[revision].[ext]" />-->
                        <artifacts pattern="${result.dir}/lib/[artifact]-[revision](-[classifier]).[ext]" />