changeset 5934:57153bcef81f

RT-34389: [doc] cssref.html copyright is incorrect Contributed-by: Tom Schindl
author kcr
date Mon, 09 Dec 2013 15:15:59 -0800
parents bee5e52e68ae
children c7d6f188d1d3
files apps/samples/Ensemble8/build.xml apps/samples/Ensemble8/nbproject/project.properties
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/apps/samples/Ensemble8/build.xml	Mon Dec 09 14:28:55 2013 -0800
+++ b/apps/samples/Ensemble8/build.xml	Mon Dec 09 15:15:59 2013 -0800
@@ -87,6 +87,20 @@
                 <include name="**/*.js"/> <!-- include javascript files -->
             </fileset>
         </copy>
+    	<mkdir dir="${build.cssref.dir}"/>
+    	<copy todir="${build.cssref.dir}">
+    		<fileset dir="${basedir}/../../../modules/graphics/src/main/docs/javafx/scene/doc-files">
+    			<include name="cssref.html"/>
+    			<include name="cssexample1.png"/>
+    			<include name="cssexample2.png"/>
+    			<include name="fx_code_header.jpg"/>
+    		</fileset>
+    	</copy>
+    	<replaceregexp
+    		file="${build.cssref.dir}/cssref.html"
+    		match="http://download.oracle.com/javafx/2.0/api/license.html"
+    		replace="http://www.oracle.com/technetwork/java/javase/terms/license/oraclebsd-1603217.txt"
+    		byline="true"/>
     </target>
     
     <!-- DON'T INCLUDE COMPILE TIME CODE IN APP JAR -->
--- a/apps/samples/Ensemble8/nbproject/project.properties	Mon Dec 09 14:28:55 2013 -0800
+++ b/apps/samples/Ensemble8/nbproject/project.properties	Mon Dec 09 15:15:59 2013 -0800
@@ -15,6 +15,8 @@
 build.sysclasspath=ignore
 build.test.classes.dir=${build.dir}/test/classes
 build.test.results.dir=${build.dir}/test/results
+# Directory into which to copy the cssref documentation
+build.cssref.dir=${build.dir}/sources/cssref
 # Uncomment to specify the preferred debugger connection transport:
 #debug.transport=dt_socket
 debug.classpath=\