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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
comp:decac Jim$ ant clean
Buildfile: /Users/Jim/Desktop/decac_sturf/decac/build.xml
  [taskdef] Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found.

clean:
     [exec] [Compile server was reset]
   [delete] Deleting directory /Users/Jim/Desktop/decac_sturf/decac/build
   [delete] Deleting directory /Users/Jim/Desktop/decac_sturf/decac/src/org/deca/compiler/parser

BUILD SUCCESSFUL
Total time: 1 second
comp:decac Jim$ ant build_parser
Buildfile: /Users/Jim/Desktop/decac_sturf/decac/build.xml
  [taskdef] Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found.

build_parser:
     [exec] 
     [exec] SableCC version 3.7
     [exec] Copyright (C) 1997-2012 Etienne M. Gagnon <[email protected]> and
     [exec] others.  All rights reserved.
     [exec] 
     [exec] This software comes with ABSOLUTELY NO WARRANTY.  This is free software,
     [exec] and you are welcome to redistribute it under certain conditions.
     [exec] 
     [exec] Type 'sablecc -license' to view
     [exec] the complete copyright notice and license.
     [exec] 
     [exec] 
     [exec]  -- Generating parser for deca.scc in /Users/Jim/Desktop/decac_sturf/decac/src
     [exec] Adding productions and alternative of section AST.
     [exec] Verifying identifiers.
     [exec] Verifying ast identifiers.
     [exec] Adding empty productions and empty alternative transformation if necessary.
     [exec] Adding productions and alternative transformation if necessary.
     [exec] computing alternative symbol table identifiers.
     [exec] Verifying production transform identifiers.
     [exec] Verifying ast alternatives transform identifiers.
     [exec] Generating token classes.
     [exec] Generating production classes.
     [exec] Generating alternative classes.
     [exec] Generating analysis classes.
     [exec] Generating utility classes.
     [exec] Generating the lexer.
     [exec]  State: INITIAL
     [exec]  - Constructing NFA.
     [exec] .....................................................................................................................................................................................................................................................................................
     [exec]  - Constructing DFA.
     [exec] .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
     [exec] .....................................................................................................................................................................................................................................................................
     [exec]  - resolving ACCEPT states.
     [exec] Generating the parser.
     [exec] .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
     [exec] .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
     [exec] .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
     [exec] ....
     [exec] .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    [mkdir] Created dir: /Users/Jim/Desktop/decac_sturf/decac/build
    [javac] Compiling 339 source files to /Users/Jim/Desktop/decac_sturf/decac/build
     [copy] Copying 1 file to /Users/Jim/Desktop/decac_sturf/decac/build/org/deca/compiler/parser/lexer
     [copy] Copying 1 file to /Users/Jim/Desktop/decac_sturf/decac/build/org/deca/compiler/parser/parser

BUILD SUCCESSFUL
Total time: 10 seconds
comp:decac Jim$ ant build
Buildfile: /Users/Jim/Desktop/decac_sturf/decac/build.xml
  [taskdef] Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found.

build:

BUILD FAILED
/Users/Jim/Desktop/decac_sturf/decac/build.xml:31: Problem: failed to create task or type scalac
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds