You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2024/07/13 17:31:58 UTC
svn commit: r1919191 - in /apr/site/trunk: build.xml tasks.vs.json
Author: ivan
Date: Sat Jul 13 17:31:58 2024
New Revision: 1919191
URL: http://svn.apache.org/viewvc?rev=1919191&view=rev
Log:
Add option to ignore last modified date when building website. It can set
using command:
[[
build -DlastModifiedCheck=false
]]
* build.xml: Add lastModifiedCheckProperty. Set it to true by default.
* tasks.vs.json: Add rebuild task.
Modified:
apr/site/trunk/build.xml
apr/site/trunk/tasks.vs.json
Modified: apr/site/trunk/build.xml
URL: http://svn.apache.org/viewvc/apr/site/trunk/build.xml?rev=1919191&r1=1919190&r2=1919191&view=diff
==============================================================================
--- apr/site/trunk/build.xml (original)
+++ apr/site/trunk/build.xml Sat Jul 13 17:31:58 2024
@@ -5,6 +5,8 @@
<property name="docs.src" value="./xdocs"/>
<property name="docs.dest" value="./docs"/>
+ <property name="lastModifiedCheck" value="true"/>
+
<path id="classpath">
<fileset dir="./lib">
<include name="**/*.jar"/>
@@ -34,7 +36,7 @@
projectFile="stylesheets/project.xml"
excludes="**/stylesheets/** empty.xml apr2_0intro/apr2_0intro_files/filelist.xml"
includes="**/*.xml"
- lastModifiedCheck="true"
+ lastModifiedCheck="${lastModifiedCheck}"
templatePath="${docs.src}/stylesheets"
>
</anakia>
Modified: apr/site/trunk/tasks.vs.json
URL: http://svn.apache.org/viewvc/apr/site/trunk/tasks.vs.json?rev=1919191&r1=1919190&r2=1919191&view=diff
==============================================================================
--- apr/site/trunk/tasks.vs.json (original)
+++ apr/site/trunk/tasks.vs.json Sat Jul 13 17:31:58 2024
@@ -9,6 +9,16 @@
"command": "${workspaceRoot}/build",
"args": [
]
+ },
+ {
+ "contextType": "rebuild",
+ "taskLabel": "rebuild",
+ "appliesTo": "/",
+ "type": "launch",
+ "command": "${workspaceRoot}/build",
+ "args": [
+ "-DlastModifiedCheck=false"
+ ]
}
]
}
\ No newline at end of file