|
15 | 15 | -->
|
16 | 16 | <project name="Xbean" default="default" basedir=".">
|
17 | 17 |
|
18 |
| - <property name="build.compiler" value="javac1.4"/> |
19 |
| - <property name="javac.source" value="1.4"/> |
20 |
| - <property name="javac.target" value="1.4"/> |
| 18 | + <property name="build.compiler" value="javac1.6"/> |
| 19 | + <property name="javac.source" value="1.6"/> |
| 20 | + <property name="javac.target" value="1.6"/> |
21 | 21 |
|
22 |
| - <property name="version.base" value="2.6.3"/> |
| 22 | + <property name="version.base" value="2.6.4"/> |
23 | 23 | <property name="version.rc" value=""/>
|
24 | 24 |
|
25 | 25 | <!-- manifest entries -->
|
|
128 | 128 | <copy file="external/lib/saxon9-dom.jar" tofile="build/lib/saxon9-dom.jar"/>
|
129 | 129 | </target>
|
130 | 130 |
|
131 |
| - <target name="jsr173-bundle.downloaded"> |
132 |
| - <condition property="jsr173-bundle.exists"> |
133 |
| - <available file="external/lib/jsr173_1.0_api_bundle.jar"/> |
134 |
| - </condition> |
135 |
| - </target> |
136 |
| - |
137 |
| - <target name="jsr173-bundle.jar" |
138 |
| - depends="jsr173-bundle.downloaded, dirs" |
139 |
| - unless="jsr173-bundle.exists"> |
140 |
| - <get dest="external/lib/jsr173_1.0_api_bundle.jar" |
141 |
| - src="http://source.sakaiproject.org/maven/xmlbeans/jars/jsr173_1.0_api_bundle.jar" |
142 |
| - verbose="true" usetimestamp="true" ignoreerrors="true"/> |
143 |
| - </target> |
144 |
| - |
145 |
| - <target name="jsr173_1.0.jars.extracted"> |
146 |
| - <condition property="jsr173_1.0.jars.exist"> |
147 |
| - <available file="build/lib/jsr173_1.0_api.jar"/> |
148 |
| - </condition> |
149 |
| - </target> |
150 |
| - |
151 |
| - <target name="jsr173_1.0.jars" |
152 |
| - depends="jsr173-bundle.jar, jsr173_1.0.jars.extracted" |
153 |
| - unless="jsr173_1.0.jars.exist"> |
154 |
| - <unjar src="external/lib/jsr173_1.0_api_bundle.jar" dest="external/lib" > |
155 |
| - <patternset> |
156 |
| - <include name="jsr173_1.0_api.jar"/> |
157 |
| - </patternset> |
158 |
| - </unjar> |
159 |
| - |
160 |
| - <!-- copy jsr173 API jar and license files to build/lib --> |
161 |
| - <copy file="external/lib/jsr173_1.0_api.jar" tofile="build/lib/jsr173_1.0_api.jar"/> |
162 |
| - </target> |
163 |
| - |
164 | 131 | <!-- get resolver.jar -->
|
165 | 132 | <target name="check.xcresolver.zip">
|
166 | 133 | <condition property="xcresolver.zip.exists">
|
|
356 | 323 | <include name="xmlbeans-qname.jar"/>
|
357 | 324 | <include name="xbean_xpath.jar"/>
|
358 | 325 | <include name="resolver.jar"/>
|
359 |
| - <include name="jsr173_1.0_api.jar"/> |
360 |
| - <include name="BEA Binary RI License (JSR 173).1(Clean).txt"/> |
361 |
| - <include name="README(jsr_173 api and ri).txt"/> |
362 | 326 | </fileset>
|
363 | 327 | </copy>
|
364 | 328 |
|
|
488 | 452 | store.classes, saaj_api.classes,
|
489 | 453 | marshal.classes, xpath.classes, oldxbean.jar, xsdschema.classes,
|
490 | 454 | xmlinputstream.classes, resolver.jar, xbean_xpath.jar,
|
491 |
| - piccolo.classes, tools.classes, jamsupport.classes"> |
492 |
| - <jar jarfile="build/lib/xbean.jar" index="true" duplicate="preserve"> |
| 455 | + tools.classes, jamsupport.classes"> |
| 456 | + <jar jarfile="build/lib/xbean.jar" index="true"> |
493 | 457 | <fileset dir="build/classes/xmlpublic"
|
494 | 458 | excludes="javax/**"/>
|
495 | 459 | <fileset dir="build/classes/typeholder"/>
|
|
509 | 473 | <fileset dir="build/classes/marshal"/>
|
510 | 474 | <fileset dir="build/classes/repackage"/>
|
511 | 475 | <fileset dir="build/classes/jam"/>
|
512 |
| - <fileset dir="build/classes/piccolo"/> |
513 | 476 | <fileset dir="build/classes/tools"/>
|
514 | 477 | <fileset file="LICENSE.txt"/>
|
515 | 478 | <fileset file="NOTICE.txt"/>
|
|
545 | 508 |
|
546 | 509 | <!-- xmlpublic target ============================================== -->
|
547 | 510 |
|
548 |
| - <target name="xmlpublic.classes" depends="dirs, jsr173_1.0.jars"> |
| 511 | + <target name="xmlpublic.classes" depends="dirs"> |
549 | 512 | <mkdir dir="build/classes/xmlpublic"/>
|
550 | 513 | <javac srcdir="src/xmlpublic" sourcepath="src/xmlinputstream" destdir="build/classes/xmlpublic" source="${javac.source}" target="${javac.target}" debug="on">
|
551 |
| - <classpath> |
552 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
553 |
| - </classpath> |
| 514 | + <classpath/> |
554 | 515 | </javac>
|
555 | 516 |
|
556 | 517 | <!-- Need properties files for XmlError -->
|
|
586 | 547 | <mkdir dir="build/classes/typestore"/>
|
587 | 548 | <javac srcdir="src/typestore" destdir="build/classes/typestore" source="${javac.source}" target="${javac.target}" debug="on">
|
588 | 549 | <classpath>
|
589 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
590 | 550 | <pathelement location="build/classes/xmlinputstream"/>
|
591 | 551 | <pathelement location="build/classes/xmlpublic"/>
|
592 | 552 | <pathelement location="build/classes/common"/>
|
|
597 | 557 |
|
598 | 558 | <!-- common target ============================================= -->
|
599 | 559 |
|
600 |
| - <target name="common.classes" depends="dirs, xmlpublic.classes, xmlinputstream.classes, jsr173_1.0.jars"> |
| 560 | + <target name="common.classes" depends="dirs, xmlpublic.classes, xmlinputstream.classes"> |
601 | 561 | <mkdir dir="build/classes/common"/>
|
602 | 562 | <javac srcdir="src/common" destdir="build/classes/common" source="${javac.source}" target="${javac.target}" debug="on">
|
603 | 563 | <classpath>
|
604 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
605 | 564 | <pathelement location="build/classes/xmlinputstream"/>
|
606 | 565 | <pathelement location="build/classes/xmlpublic"/>
|
607 | 566 | </classpath>
|
|
639 | 598 |
|
640 | 599 | <target name="typeimpl.classes" depends="dirs, store.classes,
|
641 | 600 | repackage.classes, xmlpublic.classes, typeholder.template, typestore.classes, xsdschema.classes,
|
642 |
| - configschema.classes, toolschema.classes, jsr173_1.0.jars, jam.classes"> |
| 601 | + configschema.classes, toolschema.classes, jam.classes"> |
643 | 602 | <mkdir dir="build/classes/typeimpl"/>
|
644 | 603 | <javac destdir="build/classes/typeimpl" source="${javac.source}" target="${javac.target}" debug="on">
|
645 | 604 | <classpath>
|
|
655 | 614 | <pathelement location="build/classes/xmlschema"/>
|
656 | 615 | <pathelement location="build/classes/toolschema"/>
|
657 | 616 | <pathelement location="build/classes/jam"/>
|
658 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
659 | 617 | </classpath>
|
660 | 618 |
|
661 | 619 | <src path="src/typeimpl"/>
|
|
681 | 639 | <mkdir dir="build/classes/xmlcomp"/>
|
682 | 640 | <javac srcdir="src/xmlcomp" destdir="build/classes/xmlcomp" source="${javac.source}" target="${javac.target}" debug="on">
|
683 | 641 | <classpath>
|
684 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
685 | 642 | <pathelement location="build/classes/xmlinputstream"/>
|
686 | 643 | <pathelement location="build/classes/xmlpublic"/>
|
687 | 644 | <pathelement location="build/classes/common"/>
|
|
698 | 655 |
|
699 | 656 | <!-- marshal target =============================================== -->
|
700 | 657 |
|
701 |
| - <target name="marshal.classes" depends="dirs, typeimpl.classes, xmlpublic.classes, jsr173_1.0.jars"> |
| 658 | + <target name="marshal.classes" depends="dirs, typeimpl.classes, xmlpublic.classes"> |
702 | 659 | <mkdir dir="build/classes/marshal"/>
|
703 | 660 | <javac srcdir="src/marshal" destdir="build/classes/marshal" source="${javac.source}" target="${javac.target}" debug="on">
|
704 | 661 | <classpath>
|
705 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
706 | 662 | <pathelement location="build/classes/configschema"/>
|
707 | 663 | <pathelement location="build/classes/xmlinputstream"/>
|
708 | 664 | <pathelement location="build/classes/xmlpublic"/>
|
|
739 | 695 | <!-- store target ============================================== -->
|
740 | 696 |
|
741 | 697 | <target name="store.classes"
|
742 |
| - depends="dirs, common.classes, xmlpublic.classes, typestore.classes, saaj_api.classes, piccolo.classes"> |
| 698 | + depends="dirs, common.classes, xmlpublic.classes, typestore.classes, saaj_api.classes"> |
743 | 699 | <mkdir dir="build/classes/store"/>
|
744 | 700 | <javac srcdir="src/store" destdir="build/classes/store" source="${javac.source}" target="${javac.target}" debug="on">
|
745 | 701 | <classpath id="store.compile.path">
|
746 | 702 | <pathelement location="build/classes/typestore"/>
|
747 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
748 | 703 | <pathelement location="build/classes/xmlinputstream"/>
|
749 | 704 | <pathelement location="build/classes/xmlpublic"/>
|
750 | 705 | <pathelement location="build/classes/common"/>
|
751 | 706 | <pathelement location="build/classes/saaj_api"/>
|
752 |
| - <pathelement location="build/classes/piccolo"/> |
753 | 707 | </classpath>
|
754 | 708 | </javac>
|
755 | 709 | </target>
|
756 | 710 |
|
757 | 711 | <!-- tools target ============================================== -->
|
758 | 712 |
|
759 | 713 | <target name="tools.classes"
|
760 |
| - depends="dirs, common.classes, xmlpublic.classes, typestore.classes, saaj_api.classes, piccolo.classes, |
| 714 | + depends="dirs, common.classes, xmlpublic.classes, typestore.classes, saaj_api.classes, |
761 | 715 | typeimpl.classes, xmlcomp.classes">
|
762 | 716 | <mkdir dir="build/classes/tools"/>
|
763 | 717 | <javac srcdir="src/tools" destdir="build/classes/tools" source="${javac.source}" target="${javac.target}" debug="on">
|
764 | 718 | <classpath id="tools.compile.path">
|
765 | 719 | <pathelement location="build/classes/typestore"/>
|
766 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
767 | 720 | <pathelement location="build/classes/xmlinputstream"/>
|
768 | 721 | <pathelement location="build/classes/xmlpublic"/>
|
769 | 722 | <pathelement location="build/classes/common"/>
|
770 | 723 | <pathelement location="build/classes/saaj_api"/>
|
771 |
| - <pathelement location="build/classes/piccolo"/> |
772 | 724 | <pathelement location="build/classes/typeimpl"/>
|
773 | 725 | <pathelement location="build/classes/xmlcomp"/>
|
774 | 726 | </classpath>
|
|
785 | 737 |
|
786 | 738 | <path id="bootstrap.run.path">
|
787 | 739 | <pathelement location="build/private/lib/oldxbean.jar"/>
|
788 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
789 | 740 | <pathelement location="build/classes/xmlpublic"/>
|
790 | 741 | </path>
|
791 | 742 |
|
792 | 743 | <path id="bootstrap.compile.path">
|
793 | 744 | <pathelement location="build/classes/xmlpublic"/>
|
794 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
795 | 745 | </path>
|
796 | 746 |
|
797 | 747 | <property name="bootstrap.compile.path" refid="bootstrap.compile.path"/>
|
|
835 | 785 | </condition>
|
836 | 786 | </target>
|
837 | 787 |
|
838 |
| - <target name="xmlschema.classes" depends="xmlschema.check, xmlpublic.classes, oldxbean.jar, jsr173_1.0.jars" unless="xmlschema.notRequired"> |
| 788 | + <target name="xmlschema.classes" depends="xmlschema.check, xmlpublic.classes, oldxbean.jar" unless="xmlschema.notRequired"> |
839 | 789 | <delete dir="build/classes/xmlschema"/>
|
840 | 790 | <delete dir="build/src/xmlschema"/>
|
841 | 791 | <java classname="${bootstrap_schema_compiler}" classpathref="bootstrap.run.path" fork="true" failonerror="true">
|
|
920 | 870 | <property name="repackage_arg" value=""/>
|
921 | 871 | <property name="schema_compiler" value="org.apache.xmlbeans.impl.tool.SchemaCompiler"/>
|
922 | 872 | <property name="bootstrap_schema_compiler" value="org.apache.xmlbeans.impl.tool.SchemaCompiler"/>
|
923 |
| - <property name="piccolo_package_name" value="org.apache.xmlbeans.impl.piccolo"/> |
924 | 873 | <property name="jam_package_name" value="org.apache.xmlbeans.impl.jam"/>
|
925 | 874 |
|
926 | 875 | <!--
|
|
1064 | 1013 | <pathelement location="build/classes/common"/>
|
1065 | 1014 | <pathelement location="external/lib/junit.jar"/>
|
1066 | 1015 | <pathelement location="build/ar/xbean.jar"/>
|
1067 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
1068 | 1016 | <pathelement location="build/classes/xmlinputstream"/>
|
1069 | 1017 | </path>
|
1070 | 1018 |
|
|
1074 | 1022 | </path>
|
1075 | 1023 |
|
1076 | 1024 |
|
1077 |
| - <target name="drt.classes" depends="dirs,jsr173_1.0.jars"> |
| 1025 | + <target name="drt.classes" depends="dirs"> |
1078 | 1026 | <mkdir dir="build/private/classes/drt"/>
|
1079 | 1027 | <javac
|
1080 | 1028 | destdir="build/private/classes/drt"
|
|
1094 | 1042 |
|
1095 | 1043 | <path id="scomp.run.path">
|
1096 | 1044 | <pathelement location="build/lib/xbean.jar"/>
|
1097 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
1098 | 1045 | </path>
|
1099 | 1046 |
|
1100 | 1047 | <target name="stsschema.check">
|
|
1119 | 1066 | </uptodate>
|
1120 | 1067 | </target>
|
1121 | 1068 |
|
1122 |
| - <target name="jam.classes" depends="jam.classes.check, dirs, repackage.classes, jsr173_1.0.jars" unless="jam.classes.notRequired"> |
| 1069 | + <target name="jam.classes" depends="jam.classes.check, dirs, repackage.classes" unless="jam.classes.notRequired"> |
1123 | 1070 | <delete dir="build/private/jam"/>
|
1124 | 1071 | <mkdir dir="build/private/jam"/>
|
1125 | 1072 | <unjar src="external/lib/jam-0.1.0-src.jar" dest="build/private/jam"/>
|
|
1141 | 1088 | source="1.4" target="1.4"
|
1142 | 1089 | debug="on">
|
1143 | 1090 | <src path="build/private/jam/src_repackage"/>
|
1144 |
| - <classpath> |
1145 |
| - <pathelement location="build/lib/jsr173_1.0_api.jar"/> |
1146 |
| - </classpath> |
1147 |
| - </javac> |
1148 |
| - </target> |
1149 |
| - |
1150 |
| - <!-- Piccolo deployment --> |
1151 |
| - <target name="piccolo.classes.check"> |
1152 |
| - <uptodate property="piccolo.classes.notRequired" |
1153 |
| - targetfile="build/ar/xbean.jar"> |
1154 |
| - <srcfiles dir="external/lib" includes="**/piccolo_*.jar"/> |
1155 |
| - </uptodate> |
1156 |
| - </target> |
1157 |
| - |
1158 |
| - <target name="piccolo.classes" depends="piccolo.classes.check, dirs, repackage.classes" unless="piccolo.classes.notRequired"> |
1159 |
| - <delete dir="build/private/piccolo"/> |
1160 |
| - <mkdir dir="build/private/piccolo"/> |
1161 |
| - <unjar src="external/lib/piccolo_apache_dist_20040711_v2.jar" dest="build/private/piccolo"/> |
1162 |
| - |
1163 |
| - <echo message="Re-packaging Piccolo"/> |
1164 |
| - |
1165 |
| - <java classname="repackage.Repackage" fork="true" failonerror="true"> |
1166 |
| - <classpath> |
1167 |
| - <pathelement location="build/classes/repackage"/> |
1168 |
| - </classpath> |
1169 |
| - <arg line="-repackage com.bluecast:${piccolo_package_name} -f build/private/piccolo/src -t build/private/piccolo/src_repackage"/> |
1170 |
| - </java> |
1171 |
| - |
1172 |
| - <delete dir="build/classes/piccolo"/> |
1173 |
| - <mkdir dir="build/classes/piccolo"/> |
1174 |
| - <javac |
1175 |
| - destdir="build/classes/piccolo" |
1176 |
| - classpath="" |
1177 |
| - source="1.3" target="1.4" |
1178 |
| - debug="on"> |
1179 |
| - <src path="build/private/piccolo/src_repackage"/> |
| 1091 | + <classpath/> |
1180 | 1092 | </javac>
|
1181 | 1093 | </target>
|
1182 |
| - |
1183 | 1094 | </project>
|
0 commit comments