rusefi-1/java_tools/configuration_definition/build.xml

76 lines
3.0 KiB
XML
Raw Normal View History

<project default="jar">
2019-06-02 12:07:20 -07:00
<property name="javac.source" value="1.8"/>
<property name="javac.target" value="1.8"/>
2020-06-17 16:03:10 -07:00
<property name="console_path" value="../../java_console"/>
2018-12-19 20:17:23 -08:00
<target name="clean">
<delete dir="build"/>
</target>
<target name="antlr">
2021-08-08 02:06:09 -07:00
<echo message="Invoking grammar generator..."/>
<java jar="lib/antlr-4.9.3-complete.jar" args="-o src/main/java/com/rusefi/generated RusefiConfigGrammar.g4" fork="true" failonerror="true" />
</target>
2021-06-18 19:53:13 -07:00
<target name="compile" depends="antlr">
<fail message="Unsupported Java version: ${ant.java.version}.
Make sure that the Java version is 1.8 NOT greater see https://github.com/rusefi/rusefi/issues/3128">
<condition>
<not>
<or>
<equals arg1="${ant.java.version}" arg2="1.8"/>
</or>
</not>
</condition>
</fail>
<mkdir dir="build/classes"/>
2018-12-19 20:17:23 -08:00
<javac
source="${javac.source}"
debug="true"
2018-12-19 20:17:23 -08:00
target="${javac.target}"
destdir="build/classes"
classpath="${console_path}/lib/jsr305-2.0.1.jar:lib/junit.jar:../../java_console/lib/annotations.jar:lib/snakeyaml.jar:lib/antlr-4.9.3-complete.jar">
Feature 3014 migrating to gradle (#3079) * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * upd: get changes from master; fix: rebasing conflicts * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * upd: up-to-master; fix: conflicts in build.xml's * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * fix: conflicts from master * feat: restructured shared_ui module for gradle; fix: main build.xml * feat: restructured tools module; fix: main build.xml according to new structure * feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 05:15:32 -07:00
<src path="src/main/java"/>
2022-04-15 08:02:00 -07:00
<src path="src/test/java"/>
Feature 3014 migrating to gradle (#3079) * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * upd: get changes from master; fix: rebasing conflicts * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * upd: up-to-master; fix: conflicts in build.xml's * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * fix: conflicts from master * feat: restructured shared_ui module for gradle; fix: main build.xml * feat: restructured tools module; fix: main build.xml according to new structure * feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 05:15:32 -07:00
<src path="${console_path}/autoupdate/src/main/java"/>
<src path="${console_path}/inifile/src/main/java"/>
<src path="${console_path}/logging/src/main/java"/>
2020-07-02 17:10:22 -07:00
<src path="${console_path}/logging-api/src/main/java"/>
Feature 3014 migrating to gradle (#3079) * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * upd: get changes from master; fix: rebasing conflicts * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * upd: up-to-master; fix: conflicts in build.xml's * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * fix: conflicts from master * feat: restructured shared_ui module for gradle; fix: main build.xml * feat: restructured tools module; fix: main build.xml according to new structure * feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 05:15:32 -07:00
<src path="${console_path}/models/src/main/java"/>
<src path="${console_path}/shared_io/src/main/java"/>
Feature 3014 migrating to gradle (#3079) * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * upd: get changes from master; fix: rebasing conflicts * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * upd: up-to-master; fix: conflicts in build.xml's * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * fix: conflicts from master * feat: restructured shared_ui module for gradle; fix: main build.xml * feat: restructured tools module; fix: main build.xml according to new structure * feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 05:15:32 -07:00
<src path="../enum_to_string/src/main/java"/>
2019-06-02 12:07:20 -07:00
</javac>
<junit fork="no"
maxmemory="512m"
printsummary="yes"
haltonfailure="yes">
<jvmarg value="-ea"/>
<jvmarg value="-XX:+HeapDumpOnOutOfMemoryError"/>
<formatter type="brief"/>
<classpath path="build/classes:lib/junit.jar:lib/annotations.jar:lib/snakeyaml.jar:lib/antlr-4.9.3-complete.jar"/>
2019-06-02 12:07:20 -07:00
<batchtest todir="build">
Feature 3014 migrating to gradle (#3079) * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * upd: get changes from master; fix: rebasing conflicts * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * upd: up-to-master; fix: conflicts in build.xml's * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * fix: conflicts from master * feat: restructured shared_ui module for gradle; fix: main build.xml * feat: restructured tools module; fix: main build.xml according to new structure * feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 05:15:32 -07:00
<fileset dir="src/main/java" includes="**/test/**/*Test.java"/>
<fileset dir="src/test/java" includes="**/*Test.java"/>
Feature 3014 migrating to gradle (#3079) * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured autotest for migrating to gradle * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * feat: restructured romraider for migrating to gradle; fix: corrected build.xml's * feat: restructured enum_to_string for migrating to gradle * fix: corrected main build.xml * fix: corrected main build.xml for romraider * fix: corrected main build.xml for romraider * feat: restructured enum_to_string for migrating to gradle * feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml * upd: get changes from master; fix: rebasing conflicts * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * upd: up-to-master; fix: conflicts in build.xml's * feat: restructured logging for migrating to gradle; fix: corrected build.xml's * fix: conflicts from master * feat: restructured shared_ui module for gradle; fix: main build.xml * feat: restructured tools module; fix: main build.xml according to new structure * feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 05:15:32 -07:00
<fileset dir="../enum_to_string/src/main/java" includes="**/test/**/*Test.java"/>
2019-06-02 12:07:20 -07:00
</batchtest>
</junit>
</target>
<target name="jar" depends="compile">
<mkdir dir="build/jar"/>
<jar destfile="../ConfigDefinition.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="com.rusefi.ConfigDefinition"/>
</manifest>
2019-06-02 12:07:20 -07:00
<zipfileset dir="build/classes" includes="**/*.class"/>
<zipfileset src="lib/snakeyaml.jar" includes="**/*.class"/>
<zipfileset src="lib/antlr-4.9.3-complete.jar" includes="**/*.class"/>
</jar>
</target>
2017-02-20 14:24:52 -08:00
</project>