Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3470)

Side by Side Diff: build.xml

Issue 61041: Cajole to HTML (Closed) Base URL: http://google-caja.googlecode.com/svn/trunk/
Patch Set: Cajole to HTML Created 14 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- Copyright (C) 2007 Google Inc. 1 <!-- Copyright (C) 2007 Google Inc.
2 - 2 -
3 - Licensed under the Apache License, Version 2.0 (the "License"); 3 - Licensed under the Apache License, Version 2.0 (the "License");
4 - you may not use this file except in compliance with the License. 4 - you may not use this file except in compliance with the License.
5 - You may obtain a copy of the License at 5 - You may obtain a copy of the License at
6 - 6 -
7 - http://www.apache.org/licenses/LICENSE-2.0 7 - http://www.apache.org/licenses/LICENSE-2.0
8 - 8 -
9 - Unless required by applicable law or agreed to in writing, software 9 - Unless required by applicable law or agreed to in writing, software
10 - distributed under the License is distributed on an "AS IS" BASIS, 10 - distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 <target name="demos" depends="calendar,lolcat-search,testbed,slides" 362 <target name="demos" depends="calendar,lolcat-search,testbed,slides"
363 description="Puts all the demo files together for easy browsing."/> 363 description="Puts all the demo files together for easy browsing."/>
364 364
365 <!-- Cajoles test resources that contain cajita to javascript. --> 365 <!-- Cajoles test resources that contain cajita to javascript. -->
366 <target name="CajoledTests" depends="pluginc,dirs,CajoledValija"> 366 <target name="CajoledTests" depends="pluginc,dirs,CajoledValija">
367 <transform> 367 <transform>
368 <include file="${tests}/com/google/caja/plugin/domita_test_untrusted.html" 368 <include file="${tests}/com/google/caja/plugin/domita_test_untrusted.html"
369 /> 369 />
370 370
371 <output file="${lib}/com/google/caja/plugin/domita_test.co.js" 371 <output file="${lib}/com/google/caja/plugin/domita_test.co.html"
372 language="cajita"/> 372 language="cajita"/>
373 <output file="${lib}/com/google/caja/plugin/domita_test.vo.js" 373 <output file="${lib}/com/google/caja/plugin/domita_test.vo.html"
374 language="valija"/> 374 language="valija"/>
375 </transform> 375 </transform>
376 <copy todir="${lib}"> 376 <copy todir="${lib}">
377 <fileset dir="${src}" includes="**/*.html"/> 377 <fileset dir="${src}" includes="**/*.html"/>
378 <fileset dir="${tests}" includes="**/*.html"/> 378 <fileset dir="${tests}" includes="**/*.html"/>
379 </copy> 379 </copy>
380 </target> 380 </target>
381 <target name="CajoledValija" depends="pluginc"> 381 <target name="CajoledValija" depends="pluginc">
382 <transform> 382 <transform>
383 <output file="${lib}/com/google/caja/plugin/valija.co.js" 383 <output file="${lib}/com/google/caja/plugin/valija.co.js"
(...skipping 23 matching lines...) Expand all
407 </target> 407 </target>
408 408
409 <target name="AllTests" depends="jars,CajolingService,CajoledTests,dirs,testbe d"> 409 <target name="AllTests" depends="jars,CajolingService,CajoledTests,dirs,testbe d">
410 <javac destdir="${lib}" debug="true" target="1.5" source="1.5"> 410 <javac destdir="${lib}" debug="true" target="1.5" source="1.5">
411 <src path="${tests}"/> 411 <src path="${tests}"/>
412 <classpath refid="classpath.tests.compile"/> 412 <classpath refid="classpath.tests.compile"/>
413 <include name="**/caja/AllTests.java"/> 413 <include name="**/caja/AllTests.java"/>
414 <include name="**/caja/util/*.java"/> 414 <include name="**/caja/util/*.java"/>
415 <include name="**/caja/**/*TestCase.java"/> 415 <include name="**/caja/**/*TestCase.java"/>
416 <include name="**/caja/**/*Test.java"/> 416 <include name="**/caja/**/*Test.java"/>
417 <include name="**/caja/plugin/DomProcessingEventsTestData.java"/>
418 <compilerarg line="-Xlint:unchecked"/> 417 <compilerarg line="-Xlint:unchecked"/>
419 </javac> 418 </javac>
420 419
421 <genrule class="com.google.caja.plugin.DomProcessingEventsTestData$Builder">
422 <depend
423 file="${lib}/com/google/caja/plugin/DomProcessingEventsTestData.class"/>
424 <output file="${lib}/com/google/caja/plugin/dpe-compiled.js"/>
425 </genrule>
426
427 <!-- TODO(mikesamuel): Can we replace these tree copies with something 420 <!-- TODO(mikesamuel): Can we replace these tree copies with something
428 - that builds a symlink tree? --> 421 - that builds a symlink tree? -->
429 <copy todir="${lib}"> 422 <copy todir="${lib}">
430 <fileset dir="${src}"> 423 <fileset dir="${src}">
431 <include name="**/caja/cajita.js"/> 424 <include name="**/caja/cajita.js"/>
432 <include name="**/caja/cajita-debugmode.js"/> 425 <include name="**/caja/cajita-debugmode.js"/>
433 <include name="**/caja/console.js"/> 426 <include name="**/caja/console.js"/>
434 <include name="**/caja/log-to-console.js"/> 427 <include name="**/caja/log-to-console.js"/>
435 <include name="**/caja/valija-cajita.js"/> 428 <include name="**/caja/valija-cajita.js"/>
436 <include name="**/caja/demos/calendar/*.js"/> 429 <include name="**/caja/demos/calendar/*.js"/>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 classpathref="classpath.run" onerror="ignore"/> 486 classpathref="classpath.run" onerror="ignore"/>
494 </target> 487 </target>
495 488
496 <target name="PluginCompiler" 489 <target name="PluginCompiler"
497 depends="CssParser,HtmlParser,Quasiliterals,Rendering,Schemas"> 490 depends="CssParser,HtmlParser,Quasiliterals,Rendering,Schemas">
498 <javac destdir="${lib}" debug="true" target="1.5" source="1.5"> 491 <javac destdir="${lib}" debug="true" target="1.5" source="1.5">
499 <src path="${src}"/> 492 <src path="${src}"/>
500 <classpath refid="classpath.compile"/> 493 <classpath refid="classpath.compile"/>
501 <include name="**/caja/plugin/*.java"/> 494 <include name="**/caja/plugin/*.java"/>
502 <include name="**/caja/plugin/stages/*.java"/> 495 <include name="**/caja/plugin/stages/*.java"/>
496 <include name="**/caja/plugin/templates/*.java"/>
503 497
504 <exclude name="**/caja/plugin/*Main.java"/> 498 <exclude name="**/caja/plugin/*Main.java"/>
505 <exclude name="**/caja/plugin/BuildServiceImplementation.java"/> 499 <exclude name="**/caja/plugin/BuildServiceImplementation.java"/>
506 <compilerarg line="-Xlint:unchecked"/> 500 <compilerarg line="-Xlint:unchecked"/>
507 </javac> 501 </javac>
508 <copy todir="${lib}"> 502 <copy todir="${lib}">
509 <fileset dir="${third_party}"> 503 <fileset dir="${third_party}">
510 </fileset> 504 </fileset>
511 <fileset dir="${src}"> 505 <fileset dir="${src}">
512 <include name="**/caja/plugin/bridal.js"/> 506 <include name="**/caja/plugin/bridal.js"/>
513 <include name="**/caja/plugin/domita.js"/> 507 <include name="**/caja/plugin/domita.js"/>
514 <include name="**/caja/plugin/html-emitter.js"/> 508 <include name="**/caja/plugin/html-emitter.js"/>
515 <include name="**/caja/plugin/html-sanitizer.js"/> 509 <include name="**/caja/plugin/html-sanitizer.js"/>
516 <include name="**/caja/plugin/unicode.js"/> 510 <include name="**/caja/plugin/unicode.js"/>
517 <include name="**/caja/plugin/plugin-base.js"/> 511 <include name="**/caja/plugin/plugin-base.js"/>
512 <include name="**/caja/plugin/templates/*.json"/>
Jasvir 2009/05/22 04:50:51 Why is there json here? Its not included in the s
MikeSamuel 2009/05/22 20:42:54 Cruft. In he version with the intermediate templa
518 </fileset> 513 </fileset>
519 </copy> 514 </copy>
520 </target> 515 </target>
521 516
522 <!-- Builds the cajoling service. --> 517 <!-- Builds the cajoling service. -->
523 <target name="CajolingService" 518 <target name="CajolingService"
524 depends="CssParser,HtmlParser,Quasiliterals,Rendering,Schemas"> 519 depends="CssParser,HtmlParser,Quasiliterals,Rendering,Schemas">
525 <javac destdir="${lib}" debug="true" target="1.5" source="1.5"> 520 <javac destdir="${lib}" debug="true" target="1.5" source="1.5">
526 <src path="${src}"/> 521 <src path="${src}"/>
527 <classpath refid="classpath.compile"/> 522 <classpath refid="classpath.compile"/>
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
995 - See http://emma.sourceforge.net/reference/ch02s06s02.html 990 - See http://emma.sourceforge.net/reference/ch02s06s02.html
996 - This property can be overriden via -Demma.filter=<list of filter specs> 991 - This property can be overriden via -Demma.filter=<list of filter specs>
997 - on ANT's command line, will set the coverage filter; by default, all 992 - on ANT's command line, will set the coverage filter; by default, all
998 - com.google classes found in ${lib} will be instrumented. 993 - com.google classes found in ${lib} will be instrumented.
999 - org.commons.cli.apache and other third_party classes will not be. 994 - org.commons.cli.apache and other third_party classes will not be.
1000 --> 995 -->
1001 <property name="emma.filter" value="com.google.*"/> 996 <property name="emma.filter" value="com.google.*"/>
1002 </target> 997 </target>
1003 998
1004 </project> 999 </project>
OLDNEW
« no previous file with comments | « no previous file | doc/html/templates/TemplateCompiler.html » ('j') | src/com/google/caja/lang/css/css-extensions-whitelist.json » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b