dev@jsftemplating.java.net

problems building demo

From: Michael Phoenix <michaelandrewphoenix_at_gmail.com>
Date: Sun, 21 Jan 2007 18:39:36 -0800

Here is what happens now when I try to build demo from the command prompt
after building jsftemplating. It appears there are compile errors here as
well. I have followed all the instructions you have given to me to the
letter. It look like ther is a package that it is not finding. I have my
classparh pointing to both the standard edition jdk lib and the Sun
enterprise JDK jars. Any idea where it is supposed to pick up
com.sun.jsftemplating.layout.descriptors.handler.HandlerContext?



C:\Documents and Settings\Michael Phoenix\My Documents\cvs
projects\jsft\jsftemp
lating\demo>ant
Buildfile: build.xml

init:
     [echo] ant.bat

compile:
    [mkdir] Created dir: C:\Documents and Settings\Michael Phoenix\My
Documents\
cvs projects\jsft\jsftemplating\demo\build
     [echo] ant or ant.bat should be found depending on your platform:
ant.bat
     [exec] Buildfile: aptbuild.xml
     [exec]
     [exec] compile:
     [exec] [apt] Compiling 1 source file to C:\Documents and
Settings\Mic
hael Phoenix\My Documents\cvs projects\jsft\jsftemplating\demo\build
     [exec] [apt] C:\Documents and Settings\Michael Phoenix\My
Documents\c
vs
projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.jav
a:6: package com.sun.jsftemplating.layout.descriptors.handler does not exist
     [exec] [apt] import
com.sun.jsftemplating.layout.descriptors.handler.
HandlerContext;
     [exec] [apt]
^
     [exec] [apt] C:\Documents and Settings\Michael Phoenix\My
Documents\c
vs
projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.jav
a:39: cannot find symbol
     [exec] [apt] symbol : class HandlerContext
     [exec] [apt] location: class org.example.handlers.ExampleHandlers
     [exec] [apt] public static void
calculateResponse(HandlerContext
context) {
     [exec] [apt] ^
     [exec] [apt] C:\Documents and Settings\Michael Phoenix\My
Documents\c
vs
projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.jav
a:6: package com.sun.jsftemplating.layout.descriptors.handler does not exist
     [exec] [apt] import
com.sun.jsftemplating.layout.descriptors.handler.
HandlerContext;
     [exec] [apt]
^
     [exec] [apt] C:\Documents and Settings\Michael Phoenix\My
Documents\c
vs
projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.jav
a:39: cannot find symbol
     [exec] [apt] symbol : class HandlerContext
     [exec] [apt] location: class org.example.handlers.ExampleHandlers
     [exec] [apt] public static void
calculateResponse(HandlerContext
context) {
     [exec] [apt] ^
     [exec] [apt] 2 errors
     [exec]
     [exec] BUILD FAILED
     [exec] C:\Documents and Settings\Michael Phoenix\My Documents\cvs
projects\
jsft\jsftemplating\demo\aptbuild.xml:24: Compile failed; see the compiler
error
output for details.
     [exec]
     [exec] Total time: 2 seconds

jar:
      [jar] Building jar: C:\Documents and Settings\Michael Phoenix\My
Documents
\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib\app.jar
     [copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My
Docum
ents\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib
     [copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My
Docum
ents\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib

build:

BUILD SUCCESSFUL
Total time: 3 seconds
C:\Documents and Settings\Michael Phoenix\My Documents\cvs
projects\jsft\jsftemp
lating\demo>