NIHVIVO-2811 Move the Vitro themes to correspond to the VIVO themes.

This commit is contained in:
j2blake 2011-09-11 15:45:04 +00:00
parent 0ef4a791c8
commit f00cfd677a
27 changed files with 5 additions and 58 deletions

View file

@ -131,14 +131,9 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
<mkdir dir="${war-resources.dir}" />
<mkdir dir="${test-classes.dir}" />
<!-- copy all sorts of web stuff (with or without themes) into the war directory. -->
<!-- copy all sorts of web stuff into the war directory. -->
<copy todir="${war.dir}">
<fileset dir="${appbase.dir}/web">
<!--
If a product doesn't want the core themes, it can
set this property and they will be skipped.
-->
<exclude name="themes/**/*" if="skip.core.themes" />
</fileset>
<fileset dir="${appbase.dir}">
<include name="themes/**/*" />

View file

@ -49,8 +49,6 @@
<target name="product-prepare">
<mkdir dir="${appbase.dir}" />
<mkdir dir="${appbase.dir}/web" />
<mkdir dir="${appbase.dir}/src" />
<mkdir dir="${appbase.dir}/test" />
<copy todir="${appbase.dir}/web" includeemptydirs="true">
<dirDifference dir="${inner.basedir}/web">
@ -67,12 +65,13 @@
<fileset dir="${inner.basedir}/config" />
</copy>
<!-- -->
<copy todir="${appbase.dir}" includeemptydirs="true">
<dirDifference dir="${inner.basedir}">
<include name="src/**/*" />
<include name="lib/**/*" />
<include name="test/**/*" />
<include name="themes/**/*" unless="skip.core.themes"/>
<include name="context.xml" />
<blockingPath>
<pathelement location="." />
</blockingPath>
@ -83,14 +82,10 @@
<include name="src/**/*" />
<include name="lib/**/*" />
<include name="test/**/*" />
<include name="themes/**/*" />
<include name="context.xml" />
</fileset>
</copy>
<copy todir="${appbase.dir}/themes" includeemptydirs="true">
<fileset dir="./themes" erroronmissingdir="false" />
</copy>
<copy tofile="${appbase.dir}/context.xml" file="${inner.basedir}/context.xml" />
</target>
<!-- =================================
target: describe
@ -180,49 +175,6 @@
===========================================================================
-->
<!-- Is there a "src" directory in the product? -->
<property name="product.source.dir" location="./src" />
<available property="product.sources.exist" file="${product.source.dir}" />
<!-- Is there a "test" directory in the product? -->
<property name="product.test.dir" location="./test" />
<available property="product.tests.exist" file="${product.test.dir}" />
<!-- Is there a "themes" directory in the product? -->
<property name="product.themes.dir" location="./themes" />
<available property="product.themes.exist" file="${product.themes.dir}" />
<!-- Is there a modifications directory in the product? -->
<property name="product.modifications.dir" location="./modifications" />
<available property="product.modifications.exist" file="${product.modifications.dir}" />
<!-- - - - - - - - - - - - - - - - - -
target: productPrepare
- - - - - - - - - - - - - - - - - -->
<target name="productPrepare">
<antcall target="prepareThemes" />
<antcall target="prepareModifications" />
</target>
<!-- - - - - - - - - - - - - - - - - -
target: prepareThemes
- - - - - - - - - - - - - - - - - -->
<target name="prepareThemes" if="product.themes.exist">
<copy todir="${build.dir}/war/themes" overwrite="true">
<fileset dir="${product.themes.dir}" />
</copy>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: prepareModifications
- - - - - - - - - - - - - - - - - -->
<target name="prepareModifications" if="product.modifications.exist">
<copy todir="${build.dir}/war" overwrite="true">
<fileset dir="${product.modifications.dir}" />
</copy>
</target>
<!-- =================================
target: jar
================================= -->

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 135 B

View file

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 183 B

View file

Before

Width:  |  Height:  |  Size: 53 B

After

Width:  |  Height:  |  Size: 53 B

View file

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 194 B

View file

Before

Width:  |  Height:  |  Size: 54 B

After

Width:  |  Height:  |  Size: 54 B

View file

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 234 B

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 46 B

After

Width:  |  Height:  |  Size: 46 B

View file

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

View file

Before

Width:  |  Height:  |  Size: 541 B

After

Width:  |  Height:  |  Size: 541 B

View file

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 327 B

View file

Before

Width:  |  Height:  |  Size: 48 B

After

Width:  |  Height:  |  Size: 48 B