[htmltmpl-java] How do I start using it? - The compilation fails
Status: Beta
Brought to you by:
bluesmoon
|
From: <je...@ne...> - 2006-05-31 10:22:18
|
Hi :-)
I have downloaded HTML-Template-java-0.1.2.tar.gz and unpacked it. Then I
run:
make install
But it fails with the errors below... how can I correct this?
I really appreciate your help...
***********************************************************
javac HTML/Tmpl/Element/Conditional.java
----------
1. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 37)
public class Conditional extends Element
^^^^^^^
Element cannot be resolved to a type
----------
2. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 46)
this.type=3D"if";
^^^^
type cannot be resolved or is not a field
----------
3. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 48)
this.type=3D"unless";
^^^^
type cannot be resolved or is not a field
----------
4. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 53)
this.name =3D name;
^^^^
name cannot be resolved or is not a field
----------
5. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 77)
public void add(Element node)
^^^^^^^
Element cannot be resolved to a type
----------
6. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 93)
if(!params.containsKey(this.name))
^^^^
name cannot be resolved or is not a field
----------
7. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 96)
setControlValue(params.get(this.name));
^^^^
name cannot be resolved or is not a field
----------
8. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 101)
if(type.equals("if") && control_val ||
^^^^
type cannot be resolved
----------
9. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 102)
type.equals("unless") && !control_val)
^^^^
type cannot be resolved
----------
10. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 114)
output.append(((Element)e).parse(params));
^^^^^^^
Element cannot be resolved to a type
----------
11. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 133)
if(((Element)o).Name().equals(param))
^^^^^^^
Element cannot be resolved to a type
----------
12. ERROR in HTML/Tmpl/Element/Conditional.java
(at line 134)
return ((Element)o).Type();
^^^^^^^
Element cannot be resolved to a type
----------
12 problems (12 errors)make: *** [HTML/Tmpl/Element/Conditional.class]
Error 255
***********************************************************
Best regards
Jette
|