Permalink
Browse files

FCREPO-1123: Version strings should be updated programmatically

Filters ${project.version} in license.html and config/spring/README.txt via assemly-plugin.

Removes version string from the web admin swf.

https://jira.duraspace.org/browse/FCREPO-1123
  • Loading branch information...
1 parent fddd99c commit 98d0d62098fd7c22c1343ed5bfd77840a9037efc @eddies eddies committed Aug 20, 2012
View
@@ -1,5 +1,5 @@
-------------------------------------------------------------------
- Fedora 3.6
+ Fedora Commons Repository
-------------------------------------------------------------------
This is a full source code release of Fedora. Before using this
software, you must read and agree to the license, found under
@@ -11,6 +11,7 @@
<fileSet>
<directory>../resources/doc/license</directory>
<outputDirectory>/docs/license</outputDirectory>
+ <filtered>true</filtered>
</fileSet>
<fileSet>
@@ -118,6 +119,7 @@
<fileSet>
<directory>src/main/resources/config/spring</directory>
<outputDirectory>/server/config/spring</outputDirectory>
+ <filtered>true</filtered>
</fileSet>
<fileSet>
@@ -1,4 +1,4 @@
-Fedora 3.6 Spring Configuration
+Fedora ${project.version} Spring Configuration
==== Notes ====================
Fedora will attempt to parse all files with a .xml extension in this directory
as Spring bean definitions. The application context for these definitions
@@ -120,7 +120,7 @@
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
- "src", "fcrepo-client-webadmin-3.6",
+ "src", "fcrepo-client-webadmin",
"width", "100%",
"height", "100%",
"align", "middle",
@@ -144,11 +144,11 @@
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="fcrepo-client-webadmin" width="100%" height="100%"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
- <param name="movie" value="fcrepo-client-webadmin-3.6.swf" />
+ <param name="movie" value="fcrepo-client-webadmin.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="allowScriptAccess" value="sameDomain" />
- <embed src="fcrepo-client-webadmin-3.6.swf" quality="high" bgcolor="#ffffff"
+ <embed src="fcrepo-client-webadmin.swf" quality="high" bgcolor="#ffffff"
width="100%" height="100%" name="fcrepo-client-webadmin" align="middle"
play="true"
loop="false"
@@ -58,7 +58,7 @@
<body>
<div id="header">
<h1>Fedora Commons&trade; License</h1>
- <h2>Fedora Repository 3.6</h2>
+ <h2>Fedora Repository ${project.version}</h2>
</div>
<ol id="content">

0 comments on commit 98d0d62

Please sign in to comment.