-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
31 lines (27 loc) · 1.31 KB
/
Copy pathbuild.xml
File metadata and controls
31 lines (27 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<project name="LenguajeMicroondas" default="default" basedir=".">
<description>Builds, tests, and runs the project LenguajeMicroondas.</description>
<!-- Importa las tareas por defecto de NetBeans -->
<import file="nbproject/build-impl.xml"/>
<!-- =========================================================
Generar JFlex y CUP ANTES de compilar (se ejecuta solo si existe)
========================================================= -->
<target name="-pre-compile">
<!-- JFlex: genera src/Cup/LexerCup.java -->
<java jar="libs/JFlex.jar" fork="true" failonerror="true">
<arg value="-d"/><arg value="src/Cup"/>
<arg value="src/Cup/entradaCup.jflex"/>
</java>
<!-- CUP: genera src/Cup/Syntactic.java y src/Cup/sym.java -->
<java jar="libs/java-cup-11a.jar" fork="true" failonerror="true">
<arg value="-parser"/><arg value="Syntactic"/>
<arg value="-symbols"/><arg value="sym"/>
<arg value="-package"/><arg value="Cup"/>
<arg value="-destdir"/><arg value="src/Cup"/>
<arg value="src/Cup/Grammar.cup"/>
</java>
</target>
<!--
(El resto de comentarios de plantilla de NetBeans se omiten para brevedad)
-->
</project>