You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

publish.xml 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!--
  17. This is the publishing file for ForrestBot.
  18. Running "ant -f publish.xml" will build the FOP site and upload it to SVN. It has then to be checked out on people.apache.org to be deployed.
  19. $Id$
  20. -->
  21. <project name="forrest-docs" default="main">
  22. <property name="build.work-dir" location="./build/forrest/work"/>
  23. <property name="build.log-dir" location="./build/forrest/log"/>
  24. <property name="getsrc.local.root-dir" location="."/>
  25. <!--property name="getsrc.svn.url" value="http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk"/-->
  26. <target name="getsrc" depends="getsrc.clean-workdir, getsrc.local"/>
  27. <target name="build.fixCRLF" depends="build.forrest">
  28. <fixcrlf srcdir="./build/forrest-docs" eol="lf">
  29. <include name="**/.htaccess"/>
  30. <include name="**/*.htm*"/>
  31. <include name="**/*.css"/>
  32. <include name="**/*.xsl*"/>
  33. <include name="**/*.js"/>
  34. <include name="**/*.rdf"/>
  35. <include name="**/*.txt"/>
  36. <include name="**/*.xml"/>
  37. <include name="**/*.fo"/>
  38. <include name="**/*.svg"/>
  39. </fixcrlf>
  40. </target>
  41. <target name="build" depends="build.forrest, build.fixCRLF"/>
  42. <import file="../deploy.svn.settings" optional="true"/>
  43. <property name="deploy.svn.url" value="https://svn.apache.org/repos/asf/xmlgraphics/site/deploy/fop/"/>
  44. <target name="deploy" depends="deploy.svn"/>
  45. <property environment="env"/>
  46. <import file="${env.FORREST_HOME}/tools/forrestbot/core/forrestbot.xml"/>
  47. </project>