Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 62664 | Differences between
and this patch

Collapse All | Expand All

(-)BeanShell/build.xml~ (-44 / +1 lines)
Lines 103-152 Link Here
103
		value="docs/manual/bshcommands-bshdoc.xml"/>
103
		value="docs/manual/bshcommands-bshdoc.xml"/>
104
104
105
<!-- Begin Targets -->
105
<!-- Begin Targets -->
106
106
	<target name="compile" depends="builddir">
107
	<!-- The javacc targets could be smarter... -->
108
	<target name="checkjjt">
109
		<uptodate property="jjtree.notRequired" 
110
				targetfile="${src-dir}/bsh/bsh.jj"
111
		>
112
			<srcfiles dir="${src-dir}/bsh" includes="bsh.jjt"/>
113
		</uptodate>
114
	</target>
115
	<target name="checkjj">
116
		<uptodate property="javacc.notRequired" 
117
				targetfile="${src-dir}/bsh/Parser.java"
118
		>
119
			<srcfiles dir="${src-dir}/bsh" includes="bsh.jj"/>
120
		</uptodate>
121
	</target>
122
123
	<!-- Create bsh.jj when bsh.jjt changes. -->
124
	<target name="jjtree" unless="jjtree.notRequired" depends="checkjjt">
125
		<java classname="jjtree"
126
			fork="yes"
127
			failonerror="yes" >
128
			<arg 
129
				line="-OUTPUT_DIRECTORY=${src-dir}/bsh ${src-dir}/bsh/bsh.jjt"/>
130
			<classpath>
131
				<fileset refid="lib-fileset"/>
132
			</classpath>
133
		</java>
134
	</target>
135
136
	<!-- Create Parser.java when bsh.jj changes. -->
137
	<target name="javacc" unless="javacc.notRequired" depends="checkjj">
138
		<java classname="javacc"
139
			fork="yes"
140
			failonerror="yes" >
141
			<!-- classpath="${javacc-lib}" -->
142
			<arg line="-OUTPUT_DIRECTORY=${src-dir}/bsh ${src-dir}/bsh/bsh.jj"/>
143
			<classpath>
144
				<fileset refid="lib-fileset"/>
145
			</classpath>
146
		</java>
147
	</target>
148
149
	<target name="compile" depends="jjtree,javacc,builddir">
150
		<!-- exclude the ${excludes} as well as anything under a "bak" dir -->
107
		<!-- exclude the ${excludes} as well as anything under a "bak" dir -->
151
		<!--compiler="${build-compiler}"-->
108
		<!--compiler="${build-compiler}"-->
152
		<javac srcdir="${src-dir}:${test-src-dir}:${bsf-src-dir}"
109
		<javac srcdir="${src-dir}:${test-src-dir}:${bsf-src-dir}"

Return to bug 62664