console ant should be self-contained - one ant invocation should build things
This commit is contained in:
parent
76840d07db
commit
bc7af43d41
|
@ -42,7 +42,12 @@
|
|||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="compile">
|
||||
<!-- todo: there must be a way to invoke a task from configuration_definition build.xml? -->
|
||||
<target name="antlr">
|
||||
<java jar="../java_tools/configuration_definition/lib/antlr-4.5-complete.jar" args="-o ../java_tools/configuration_definition/src/com/rusefi/generated ../java_tools/configuration_definition/RusefiConfigGrammar.g4" fork="true" failonerror="true" />
|
||||
</target>
|
||||
|
||||
<target name="compile" depends="antlr">
|
||||
<mkdir dir="build/classes"/>
|
||||
<javac debug="yes" destdir="build/classes"
|
||||
classpath="${lib_list}">
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
echo "java version"
|
||||
java -version
|
||||
|
||||
echo "Generating Java (Antlr)"
|
||||
cd java_tools/configuration_definition
|
||||
ant antlr
|
||||
cd ../..
|
||||
|
||||
echo "Building java console"
|
||||
pwd
|
||||
cd java_console
|
||||
|
|
Loading…
Reference in New Issue