Well, it _might_ work...
This commit is contained in:
parent
0dcd3854f4
commit
ef6748b3c6
10
ant.spec
10
ant.spec
@ -334,6 +334,12 @@ find . -name "*.jar" -exec rm -f {} \;
|
||||
# classpath selects optional components to build
|
||||
export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis antlr bcel jaf javamail/mailapi jdepend junit log4j oro regexp commons-logging jsch xml-commons-resolver)
|
||||
|
||||
# XXX this class does not build properly with ecj (#152256)
|
||||
mkdir -p build/classes
|
||||
CLASSPATH="src/main:$CLASSPATH" \
|
||||
gcj -d build/classes \
|
||||
-C src/main/org/apache/tools/ant/IntrospectionHelper.java
|
||||
|
||||
# perform bootstrap and build without jjp or user configs,
|
||||
# (except JAVA_HOME as required by build script)
|
||||
[ -n "$JAVA_HOME" ] && unset JAVA_HOME
|
||||
@ -341,10 +347,6 @@ export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis
|
||||
[ -z "$JAVA_HOME" ] && JAVA_HOME=%{_jvmdir}/java
|
||||
export JAVA_HOME
|
||||
sh build.sh --noconfig jars javadocs
|
||||
if [ ! -f build/lib/%{name}.jar ]; then
|
||||
jcf-dump 'build/classes/org/apache/tools/ant/IntrospectionHelper$1.class'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user