Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
nanoxml
nanoxml-2.2.3_build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nanoxml-2.2.3_build.patch of Package nanoxml
--- build.sh 2019-01-27 07:52:49.827687371 +0100 +++ build.sh 2019-01-27 07:53:35.462437068 +0100 @@ -7,15 +7,15 @@ echo "Compiling NanoXML/Lite 2.2.3" mkdir "${CURDIR}/tmp/nanoxml-lite-build-$$" -(cd Sources/Lite; javac -deprecation -target 1.1 -g:none -d "${CURDIR}/tmp/nanoxml-lite-build-$$" nanoxml/*.java) || exit 1 +(cd Sources/Lite; javac -deprecation -target 1.6 -source 1.6 -g:none -d "${CURDIR}/tmp/nanoxml-lite-build-$$" nanoxml/*.java) || exit 1 (cd ${CURDIR}/tmp/nanoxml-lite-build-$$; jar cf "$CURRDIR/Output/nanoxml-lite.jar" nanoxml/*.class) || exit 1 -(cd Test/Lite; javac -classpath ":$CURRDIR/Output/nanoxml-lite.jar:." DumpXML_Lite.java) || exit 1 +(cd Test/Lite; javac -target 1.6 -source 1.6 -classpath ":$CURRDIR/Output/nanoxml-lite.jar:." DumpXML_Lite.java) || exit 1 echo "Compiling NanoXML/Java 2.2.3" mkdir "${CURDIR}/tmp/nanoxml-build-$$" -(cd Sources/Java; javac -deprecation -g:none -d "${CURDIR}/tmp/nanoxml-build-$$" net/n3/nanoxml/*.java) || exit 1 +(cd Sources/Java; javac -deprecation -target 1.6 -source 1.6 -g:none -d "${CURDIR}/tmp/nanoxml-build-$$" net/n3/nanoxml/*.java) || exit 1 (cd ${CURDIR}/tmp/nanoxml-build-$$; jar cf "$CURRDIR/Output/nanoxml.jar" net/n3/nanoxml/*.class) || exit 1 -(cd Test/Java; javac -classpath ":$CURRDIR/Output/nanoxml.jar:." DumpXML.java) || exit 1 +(cd Test/Java; javac -target 1.6 -source 1.6 -classpath ":$CURRDIR/Output/nanoxml.jar:." DumpXML.java) || exit 1 echo "Compiling NanoXML/SAX 2.2.3" CLASSPATH=":$CURRDIR/ThirdParty/SAX/sax.jar:${CURDIR}/tmp/nanoxml-build-$$:."; export CLASSPATH @@ -26,12 +26,12 @@ for a in ContentReader.class IXMLBuilder.class IXMLParser.class IXMLReader.class IXMLValidator.class NonValidator.class StdXMLParser.class StdXMLReader.class XMLEntityResolver.class XMLParseException.class XMLParserFactory.class XMLUtil.class XMLValidationException.class do cp "${CURDIR}/tmp/nanoxml-build-$$/net/n3/nanoxml/$a" "${CURDIR}/tmp/nanoxml-sax-build-$$/net/n3/nanoxml/" done -(cd Sources/SAX; javac -g:none -d "${CURDIR}/tmp/nanoxml-build-$$" net/n3/nanoxml/sax/*.java) || exit 1 +(cd Sources/SAX; javac -target 1.6 -source 1.6 -g:none -d "${CURDIR}/tmp/nanoxml-build-$$" net/n3/nanoxml/sax/*.java) || exit 1 (cd ${CURDIR}/tmp/nanoxml-build-$$; jar cf "$CURRDIR/Output/nanoxml-sax.jar" net/n3/nanoxml/sax/*.class) echo "Generating JavaDoc" mkdir "$CURRDIR/Documentation/JavaDoc" -javadoc -protected -sourcepath "$CURRDIR/Sources/Lite:$CURRDIR/Sources/Java:$CURRDIR/Sources/SAX" -classpath "${CURDIR}/tmp/nanoxml-lite-build-$$:${CURDIR}/tmp/nanoxml-build-$$:${CURDIR}/tmp/nanoxml-sax-build-$$" -d "$CURRDIR/Documentation/JavaDoc" -version -author -windowtitle "NanoXML 2.2.3" -link "$CURRDIR" net.n3.nanoxml net.n3.nanoxml.sax nanoxml >"${CURDIR}/tmp/javadoc.log" 2>&1 || (cat ${CURDIR}/tmp/javadoc.log; exit 1) || exit 1 +javadoc -source 1.6 -protected -sourcepath "$CURRDIR/Sources/Lite:$CURRDIR/Sources/Java:$CURRDIR/Sources/SAX" -classpath "${CURDIR}/tmp/nanoxml-lite-build-$$:${CURDIR}/tmp/nanoxml-build-$$:${CURDIR}/tmp/nanoxml-sax-build-$$" -d "$CURRDIR/Documentation/JavaDoc" -version -author -windowtitle "NanoXML 2.2.3" -link "$CURRDIR" net.n3.nanoxml net.n3.nanoxml.sax nanoxml >"${CURDIR}/tmp/javadoc.log" 2>&1 || (cat ${CURDIR}/tmp/javadoc.log; exit 1) || exit 1 rm -rf "${CURDIR}/tmp/nanoxml-lite-build-$$" rm -rf "${CURDIR}/tmp/nanoxml-sax-build-$$"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor