Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 161440
Collapse All | Expand All

(-)a/build.xml (-7 / +5 lines)
Lines 8-15 Link Here
8
8
9
	<property name="ivy.pom.version" value="${version}" />
9
	<property name="ivy.pom.version" value="${version}" />
10
	<condition property="ivy.settings.file" value="${env.LOCAL_IVY_SETTINGS}"><isset property="env.LOCAL_IVY_SETTINGS"/></condition>
10
	<condition property="ivy.settings.file" value="${env.LOCAL_IVY_SETTINGS}"><isset property="env.LOCAL_IVY_SETTINGS"/></condition>
11
	
12
	<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant"/>
13
11
14
	<target name="ivy-setupjars" description="Downloads dependencies with ivy and generate report">
12
	<target name="ivy-setupjars" description="Downloads dependencies with ivy and generate report">
15
		<ivy:retrieve symlink="true" sync="true" pattern="${jars.dir}/[conf]/[artifact].[ext]"/>
13
		<ivy:retrieve symlink="true" sync="true" pattern="${jars.dir}/[conf]/[artifact].[ext]"/>
Lines 74-80 Link Here
74
		</jar>
72
		</jar>
75
	</target>
73
	</target>
76
74
77
	<target name="deploy" depends="dist,ivy-pom" description="deploy snapshot version to Maven snapshot repository">
75
	<target name="deploy" depends="dist" description="deploy snapshot version to Maven snapshot repository">
78
		<artifact:mvn>
76
		<artifact:mvn>
79
			<arg value="org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy-file" />
77
			<arg value="org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy-file" />
80
			<arg value="-Durl=${maven-snapshots-repository-url}" />
78
			<arg value="-Durl=${maven-snapshots-repository-url}" />
Lines 84-90 Link Here
84
		</artifact:mvn>
82
		</artifact:mvn>
85
	</target>
83
	</target>
86
84
87
	<target name="stage" depends="dist,ivy-pom" description="deploy release version to Maven staging repository">
85
	<target name="stage" depends="dist" description="deploy release version to Maven staging repository">
88
		<!-- sign and deploy the main artifact -->
86
		<!-- sign and deploy the main artifact -->
89
		<artifact:mvn>
87
		<artifact:mvn>
90
			<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
88
			<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
Lines 131-145 Link Here
131
		<symlink link="${dist}/javadoc" resource="../${docs}" overwrite="true"/>
129
		<symlink link="${dist}/javadoc" resource="../${docs}" overwrite="true"/>
132
	</target>
130
	</target>
133
131
134
	<target name="parser" depends="init">
132
	<target name="parser">
135
		<javacc target="${src}/it/unimi/di/mg4j/query/parser/SimpleParser.jj" javacchome="${jars.dir}/build"/>
133
		<javacc target="${src}/it/unimi/di/mg4j/query/parser/SimpleParser.jj" javacchome="${jars.dir}/build"/>
136
	</target>
134
	</target>
137
135
138
	<target name="compile" depends="init,parser" description="Compile sources (without tests)">
136
	<target name="compile" depends="parser" description="Compile sources (without tests)">
139
	<javac srcdir="${src}" debug="on" optimize="on" destdir="${build}" source="1.6" target="1.6" classpathref="build.classpath"/>
137
	<javac srcdir="${src}" debug="on" optimize="on" destdir="${build}" source="1.6" target="1.6" classpathref="build.classpath"/>
140
	</target>
138
	</target>
141
139
142
	<target name="compile-tests" depends="init,parser" description="Compile sources (with tests)">
140
	<target name="compile-tests" depends="parser" description="Compile sources (with tests)">
143
	<javac srcdir="${src}:${test}" debug="on" optimize="on" destdir="${build}" source="1.6" target="1.6" classpathref="test.classpath"/>
141
	<javac srcdir="${src}:${test}" debug="on" optimize="on" destdir="${build}" source="1.6" target="1.6" classpathref="test.classpath"/>
144
	</target>
142
	</target>
145
143

Return to bug 161440