Browse Source

Added version filtering to build. Version should now be in only build.xml,

and config.xml picks it up from there during the build process.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194178 13f79535-47bb-0310-9956-ffa450edef68
pull/33/head
Kelly Campbell 23 years ago
parent
commit
72cc7a5a50
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      build.xml
  2. 1
    1
      conf/config.xml

+ 2
- 1
build.xml View File

@@ -160,6 +160,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<property name="Name" value="Fop"/>
<property name="name" value="fop"/>
<property name="version" value="0.18.0-DEV"/>
<filter token="version" value="${version}"/>
<property name="year" value="1999-2001"/>

<echo message="------------------- ${Name} ${version} [${year}] ----------------"/>
@@ -323,7 +324,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<mkdir dir="${build.src}/${fonts.dir}"/>
<mkdir dir="${build.dest}/conf"/>
<mkdir dir="${build.dest}/hyph"/>
<copy todir="${build.dest}/conf">
<copy todir="${build.dest}/conf" filtering="yes">
<fileset dir="./conf"/>
</copy>
</target>

+ 1
- 1
conf/config.xml View File

@@ -5,7 +5,7 @@
<configuration>
<entry>
<key>version</key>
<value>FOP 0.17.0 DEV</value>
<value>FOP @version@</value>
</entry>

<!-- default values for commandline options -->

Loading…
Cancel
Save