I did all this from the command line. This doesn't contain the IOexecute error, but still has a problem and gives no clues how to resolve it. Really, I think a build process so complicated that it can't be easily debugged is a major problem.
On 1/22/07, Michael Phoenix <michaelandrewphoenix@gmail.com> wrote:OK, here's the cvs command followed by the building of jsftemplating. Just below it is the attempt to build the demo application.C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemp
lating>cvs -q up -dAP
? aptbuild
? build
? build.properties
? dist
? demo/build
? demo/WEB-INF/lib/app.jar
? demo/WEB-INF/lib/jsftemplating-dynafaces-0.1.jar
? demo/WEB-INF/lib/jsftemplating.jar
? samples/editor/build
? samples/editor/editor.war
P README.txt
P build.properties.example
M demo/build.properties
P www/index.html
cvs server: www/images/javaeesdkdownload.gif is no longer in the repositoryC:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemp
lating>ant clean build
Buildfile: build.xmlclean:
[delete] Deleting directory C:\Documents and Settings\Michael Phoenix\My Docu
ments\cvs projects\jsft\jsftemplating\aptbuild
[delete] Deleting directory C:\Documents and Settings\Michael Phoenix\My Docu
ments\cvs projects\jsft\jsftemplating\build
[delete] Deleting directory C:\Documents and Settings\Michael Phoenix\My Docu
ments\cvs projects\jsft\jsftemplating\distclean:
clean:
[delete] Deleting directory C:\Documents and Settings\Michael Phoenix\My Docu
ments\cvs projects\jsft\jsftemplating\samples\editor\build
[delete] Deleting: C:\Documents and Settings\Michael Phoenix\My Documents\cvs
projects\jsft\jsftemplating\samples\editor\editor.warinit:
[echo] lib/ant/bin/ant.batcompile-apt-files:
[mkdir] Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\
cvs projects\jsft\jsftemplating\aptbuild
[echo] C:\Program Files\Java\jdk1.5.0_06\jre
[javac] Compiling 8 source files to C:\Documents and Settings\Michael Phoeni
x\My Documents\cvs projects\jsft\jsftemplating\aptbuild
[javac] Note: C:\Documents and Settings\Michael Phoenix\My Documents\cvs pro
jects\jsft\jsftemplating\src\java\com\sun\jsftemplating\annotation\HandlerAP.jav
a uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.jar-apt-files:
[mkdir] Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\
cvs projects\jsft\jsftemplating\dist
[jar] Building jar: C:\Documents and Settings\Michael Phoenix\My Documents
\cvs projects\jsft\jsftemplating\dist\jsftemplating-dt.jarcompile:
[mkdir] Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\
cvs projects\jsft\jsftemplating\build
[echo] Looking for ant or ant.bat... found: lib/ant/bin/ant.bat
[exec] Buildfile: aptbuild.xml
[exec]
[exec] compile:
[exec] [apt] Compiling 280 source files to C:\Documents and Settings\
Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\build
[exec]
[exec] BUILD FAILED
[exec] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\
jsft\jsftemplating\aptbuild.xml:29: Error running C:\Program Files\Java\jdk1.5.0
_06\bin\apt.exe compiler
[exec]
[exec] Total time: 0 secondsjar:
[copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Docum
ents\cvs projects\jsft\jsftemplating\dist
[copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Docum
ents\cvs projects\jsft\jsftemplating\dist
[jar] Building jar: C:\Documents and Settings\Michael Phoenix\My Documents
\cvs projects\jsft\jsftemplating\dist\jsftemplating.jarbuild:
BUILD SUCCESSFUL
Total time: 3 seconds
C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemp
lating>here's the demo build attempt.C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftem
lating>cd demoC:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftem
lating\demo>ant clean build
Buildfile: build.xmlclean:
[delete] Deleting directory C:\Documents and Settings\Michael Phoenix\My Doc
ments\cvs projects\jsft\jsftemplating\demo\build
[delete] Deleting: C:\Documents and Settings\Michael Phoenix\My Documents\cv
projects\jsft\jsftemplating\demo\WEB-INF\lib\app.jar
[delete] Deleting: C:\Documents and Settings\Michael Phoenix\My Documents\cv
projects\jsft\jsftemplating\demo\WEB-INF\lib\jsftemplating.jar
[delete] Deleting: C:\Documents and Settings\Michael Phoenix\My Documents\cv
projects\jsft\jsftemplating\demo\WEB-INF\lib\jsftemplating-dynafaces-0.1.jarinit:
[echo] ant.batcompile:
[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\Mi
hael Phoenix\My Documents\cvs projects\jsft\jsftemplating\demo\build
[exec] [apt] C:\Documents and Settings\Michael Phoenix\My Documents\
vs projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.ja
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\
vs projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.ja
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\
vs projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.ja
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\
vs projects\jsft\jsftemplating\demo\src\org\example\handlers\ExampleHandlers.ja
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 secondsjar:
[jar] Building jar: C:\Documents and Settings\Michael Phoenix\My Document
\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib\app.jar
[copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Docu
ents\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib
[copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Docu
ents\cvs projects\jsft\jsftemplating\demo\WEB-INF\libbuild:
BUILD SUCCESSFUL
Total time: 3 seconds