aboutsummaryrefslogtreecommitdiff
path: root/build-standalone.xml
diff options
context:
space:
mode:
authorJ08nY2024-03-25 15:07:53 +0100
committerJ08nY2024-03-25 18:41:11 +0100
commite8cd86bb309cf90ec5e2aa211a765d3da45590b4 (patch)
tree09e98061c9cae4f52f727a1787f4fb6360bacb37 /build-standalone.xml
parentc01f16cbacb45682547e4712bdae854c56604e61 (diff)
downloadECTester-e8cd86bb309cf90ec5e2aa211a765d3da45590b4.tar.gz
ECTester-e8cd86bb309cf90ec5e2aa211a765d3da45590b4.tar.zst
ECTester-e8cd86bb309cf90ec5e2aa211a765d3da45590b4.zip
Add CI.
Diffstat (limited to 'build-standalone.xml')
-rw-r--r--build-standalone.xml224
1 files changed, 0 insertions, 224 deletions
diff --git a/build-standalone.xml b/build-standalone.xml
deleted file mode 100644
index 731698b..0000000
--- a/build-standalone.xml
+++ /dev/null
@@ -1,224 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- You may freely edit this file. See commented blocks below for -->
-<!-- some examples of how to customize the build. -->
-<!-- (If you delete it and reopen the project it will be recreated.) -->
-<!-- By default, only the Clean and Build commands use this build script. -->
-<!-- Commands such as Run, Debug, and Test only use this build script if -->
-<!-- the Compile on Save feature is turned off for the project. -->
-<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
-<!-- in the project's Project Properties dialog box.-->
-<project name="ECTesterStandalone" default="default" basedir=".">
- <description>Builds, tests, and runs the project ECTesterStandalone.</description>
- <import file="nbproject/standalone/build-impl.xml"/>
- <import file="nbproject/dist-build.xml"/>
- <!--
-
- There exist several targets which are by default empty and which can be
- used for execution of your tasks. These targets are usually executed
- before and after some main targets. They are:
-
- -pre-init: called before initialization of project properties
- -post-init: called after initialization of project properties
- -pre-compile: called before javac compilation
- -post-compile: called after javac compilation
- -pre-compile-single: called before javac compilation of single file
- -post-compile-single: called after javac compilation of single file
- -pre-compile-test: called before javac compilation of JUnit tests
- -post-compile-test: called after javac compilation of JUnit tests
- -pre-compile-test-single: called before javac compilation of single JUnit test
- -post-compile-test-single: called after javac compilation of single JUunit test
- -pre-jar: called before JAR building
- -post-jar: called after JAR building
- -post-clean: called after cleaning build products
-
- (Targets beginning with '-' are not intended to be called on their own.)
-
- Example of inserting an obfuscator after compilation could look like this:
-
- <target name="-post-compile">
- <obfuscate>
- <fileset dir="${build.classes.dir}"/>
- </obfuscate>
- </target>
-
- For list of available properties check the imported
- nbproject/build-impl.xml file.
-
-
- Another way to customize the build is by overriding existing main targets.
- The targets of interest are:
-
- -init-macrodef-javac: defines macro for javac compilation
- -init-macrodef-junit: defines macro for junit execution
- -init-macrodef-debug: defines macro for class debugging
- -init-macrodef-java: defines macro for class execution
- -do-jar: JAR building
- run: execution of project
- -javadoc-build: Javadoc generation
- test-report: JUnit report generation
-
- An example of overriding the target for project execution could look like this:
-
- <target name="run" depends="SimpleECC-impl.jar">
- <exec dir="bin" executable="launcher.exe">
- <arg file="${dist.jar}"/>
- </exec>
- </target>
-
- Notice that the overridden target depends on the jar target and not only on
- the compile target as the regular run target does. Again, for a list of available
- properties which you can use, check the target you are overriding in the
- nbproject/build-impl.xml file.
-
- -->
- <target name="-pre-jar">
- <copy file="LICENSE" todir="${build.classes.dir}"/>
- </target>
-
- <target name="package" depends="jar">
- <property name="store.jar.name" value="ECTesterStandalone-dist"/>
- <antcall target="dist-build.package"/>
- </target>
-
- <target name="sign" depends="package">
- <signjar keystore="nbproject/keystore" alias="ectester" storepass="ectester">
- <path>
- <fileset dir="dist" includes="*.jar"/>
- </path>
- </signjar>
- </target>
-
- <target name="libs-try">
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" executable="make" osfamily="unix">
- <arg value="-k"/>
- <arg value="-B"/>
- </exec>
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" executable="cmd" osfamily="windows">
- <arg value="/c"/>
- <arg value="Makefile.bat"/>
- </exec>
- </target>
- <target name="libs">
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" failonerror="true" executable="make" osfamily="unix">
- <arg value="-k"/>
- <arg value="-B"/>
- </exec>
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" failonerror="true" executable="cmd" osfamily="windows">
- <arg value="/c"/>
- <arg value="Makefile.bat"/>
- </exec>
- </target>
- <target name="libs-debug">
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" failonerror="true" executable="make" osfamily="unix">
- <arg value="-k"/>
- <arg value="DEBUG=1"/>
- </exec>
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" failonerror="true" executable="cmd" osfamily="windows">
- <arg value="/c"/>
- <arg value="Makefile.bat"/>
- <env key="DEBUG" value="1"/>
- </exec>
- </target>
-
- <target name="-pre-compile" depends="libs-try"/>
-
- <target name="-post-clean">
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" failonerror="true" executable="make" osfamily="unix">
- <arg value="clean"/>
- </exec>
- <exec dir="src/cz/crcs/ectester/standalone/libs/jni" failonerror="true" executable="cmd" osfamily="windows">
- <arg value="/c"/>
- <arg value="Makefile.bat"/>
- <arg value="clean"/>
- </exec>
- </target>
-
- <target name="headers" depends="compile">
- <javah classpath="${build.classes.dir}" outputfile="src/cz/crcs/ectester/standalone/libs/jni/native.h">
- <class name="cz.crcs.ectester.standalone.libs.NativeECLibrary"/>
- <class name="cz.crcs.ectester.standalone.libs.TomcryptLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$TomCrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$TomCrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$TomCrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$TomCrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$TomCrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$TomCryptRaw"/>
- <class name="cz.crcs.ectester.standalone.libs.BotanLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Botan"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Botan"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Botan"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Botan"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Botan"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Botan"/>
- <class name="cz.crcs.ectester.standalone.libs.CryptoppLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Cryptopp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Cryptopp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Cryptopp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Cryptopp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Cryptopp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Cryptopp"/>
- <class name="cz.crcs.ectester.standalone.libs.OpensslLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Openssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Openssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Openssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Openssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Openssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Openssl"/>
- <class name="cz.crcs.ectester.standalone.libs.MscngLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Mscng"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Mscng"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Mscng"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Mscng"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Mscng"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Mscng"/>
- <class name="cz.crcs.ectester.standalone.libs.BoringsslLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Boringssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Boringssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Boringssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Boringssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Boringssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Boringssl"/>
- <class name="cz.crcs.ectester.standalone.libs.GcryptLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Gcrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Gcrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Gcrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Gcrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Gcrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Gcrypt"/>
- <class name="cz.crcs.ectester.standalone.libs.MbedTLSLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$MbedTLS"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$MbedTLS"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$MbedTLS"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$MbedTLS"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$MbedTLS"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$MbedTLS"/>
- <class name="cz.crcs.ectester.standalone.libs.IppcpLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Ippcp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Ippcp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Ippcp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Ippcp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Ippcp"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Ippcp"/>
- <class name="cz.crcs.ectester.standalone.libs.MatrixsslLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Matrixssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Matrixssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Matrixssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Matrixssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Matrixssl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Matrixssl"/>
- <class name="cz.crcs.ectester.standalone.libs.NettleLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Nettle"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Nettle"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Nettle"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Nettle"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Nettle"/>
- <class name="cz.crcs.ectester.standalone.libs.LibresslLib"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeProvider$Libressl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyPairGeneratorSpi$Libressl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPublicKey$Libressl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeECPrivateKey$Libressl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeKeyAgreementSpi$Libressl"/>
- <class name="cz.crcs.ectester.standalone.libs.jni.NativeSignatureSpi$Libressl"/>
- </javah>
- </target>
-</project>