dev@jsftemplating.java.net

Re: JSFTemplating: Re: more problems compiling jsf templating

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 22 Jan 2007 02:02:35 -0800

Hi Michael,

You should not need to include the current directory (or any other directory) in your classpath.  There are several developers that are using Windows with and without Netbeans w/o any problems.  There is something else wrong w/ your environment... it's not the build scripts in JSFTemplating.

Looking at the output you have below (which is not a regular "ant" or "ant clean build" output... it appears to be an "ant all" output)... this line is where things start to go wrong:
Execute failed: java.io.IOException : CreateProcess: lib\ant\bin\ant.bat -f aptbuild.xml -lib lib/external/ant-apt.jar compile error=2
However, it doesn't stop at that point...  it continues on and crashes later.  The reason it doesn't stop is because of how we used to invoke "apt"... this has been changed, but the flag to stop hasn't been fixed.  I just fixed it now.  This won't help fix your problem though... you still need to figure out why it isn't invoking ant.bat for you.

You may have an older (or newer) version of ant that doesn't work correctly (what version do you have?).  It may be because the path contains spaces.  It may be because the path is too long.  It may be because you have ant environment variables set.  It may be because "ant" isn't in your path.

When you find the reason, I will be happy to document it.  However, I haven't run into this problem before... maybe one of the other user's on this list has.  Anyone?

Ken

Michael Phoenix wrote:
OK, it looks like the problem is that most of these packages are not being compiled into jsftemplating.jar. I'm guessing this has something to do with the way NetBeans or Windows uses classpath. Maybe I need to explicitly include the current directory in the cp. Unfortunately, I am not that experienced with ant and the build process you are using is very complicated so I'm not sure where to update the build script. You should really consider simplifying the build so that it works on all the platforms that the instructions say it should work on. Anyhow, the build script needs to be upgraded. I have added an entry to my system classpath to point to the current directory, but that isn't helping. Where do I need to change the build script to explicitly include the current directory?

On 1/21/07, Michael Phoenix <michaelandrewphoenix@gmail.com> wrote:
Actually, this is not the demo build this is the jsf templating build. Should I assume that if it created jsftemplating.jar everything should be OK and that the stuff in the samples directory is not something to be concerned with? This is not the demo build I am talking about it is the main project build that is giving me these compiler errors. My glassfish-home = c:\Sun\AppServer. This is where javaee.jar is located.
 

clean:
Deleting directory C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\aptbuild
Deleting directory C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\build
Deleting directory C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\dist
clean:
clean:
Deleting directory C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build
Deleting: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\editor.war
init:
lib/ant/bin/ant.bat
compile-apt-files:
Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\aptbuild
C:\Program Files\Java\jdk1.5.0_06\jre
Compiling 8 source files to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\aptbuild
Note: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\src\java\com\sun\jsftemplating\annotation\HandlerAP.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
jar-apt-files:
Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\dist
Building jar: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\dist\jsftemplating- dt.jar
compile:
Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\build
Looking for ant or ant.bat... found: lib/ant/bin/ant.bat
Execute failed: java.io.IOException : CreateProcess: lib\ant\bin\ant.bat -f aptbuild.xml -lib lib/external/ant-apt.jar compile error=2
jar:
Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\dist
Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\dist
Building jar: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\dist\jsftemplating.jar
build:
build-samples:
build:
compile:
Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build
Created dir: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build\classes
ant or ant.bat will not be found depending on your platform, this is normal and good.
Execute failed: java.io.IOException: CreateProcess: ant -f aptbuild.xml -lib ../../lib/external/ant-apt.jar compile error=2
Buildfile: aptbuild.xml

compile:
      [apt] Compiling 2 source files to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build\classes
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:5: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutComponent;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:6: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutDefinition;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:7: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutElement;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:8: package com.sun.jsftemplating.layout does not exist
      [apt] import com.sun.jsftemplating.layout.LayoutDefinitionManager;
      [apt]                                     ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:31: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]     private static List<String> getList(LayoutElement le, String indent, List newList) {
      [apt]                                         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:38: package com.sun.jsftemplating.layout does not exist
      [apt] import com.sun.jsftemplating.layout.LayoutDefinitionException;
      [apt]                                     ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:39: package com.sun.jsftemplating.layout does not exist
      [apt] import com.sun.jsftemplating.layout.LayoutDefinitionManager;
      [apt]                                     ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:40: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.ComponentType;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:41: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutComponent;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:42: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutDefinition;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:43: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutElement;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:44: package com.sun.jsftemplating.layout.descriptors.handler does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.handler.HandlerContext;
      [apt]                                                         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:45: package com.sun.jsftemplating.layout.template does not exist
      [apt] import com.sun.jsftemplating.layout.template.TemplateWriter;
      [apt]                                              ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:46: package com.sun.jsftemplating.util does not exist
      [apt] import com.sun.jsftemplating.util.LayoutElementUtil;
      [apt]                                   ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:47: package com.sun.jsftemplating.util does not exist
      [apt] import com.sun.jsftemplating.util.FileUtil;
      [apt]                                   ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:100: cannot find symbol
      [apt] symbol  : class HandlerContext
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     public static void addLayoutComponentToPage(HandlerContext context) {
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:193: cannot find symbol
      [apt] symbol  : class HandlerContext
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     public static void getPageComponentNames(HandlerContext context) {
      [apt]                                              ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:221: cannot find symbol
      [apt] symbol  : class LayoutDefinition
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     private static void writePage(Object context, String pageName, LayoutDefinition ld) {
      [apt]                                                                    ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:241: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     private static List<String> getDisplayList(LayoutElement le, List displayList, String indent) {
      [apt]                                                ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:258: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     private static List<String> getQualifiedList(LayoutElement le, List qualifiedList, String longName) {
      [apt]                                                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:98: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]   @HandlerOutput(name="newComponent", type=LayoutComponent.class )
      [apt]                                                          ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:5: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutComponent;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:6: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutDefinition;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:7: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutElement;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:8: package com.sun.jsftemplating.layout does not exist
      [apt] import com.sun.jsftemplating.layout.LayoutDefinitionManager;
      [apt]                                     ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:31: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]     private static List<String> getList(LayoutElement le, String indent, List newList) {
      [apt]                                         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:38: package com.sun.jsftemplating.layout does not exist
      [apt] import com.sun.jsftemplating.layout.LayoutDefinitionException;
      [apt]                                     ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:39: package com.sun.jsftemplating.layout does not exist
      [apt] import com.sun.jsftemplating.layout.LayoutDefinitionManager;
      [apt]                                     ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:40: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.ComponentType;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:41: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutComponent;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:42: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutDefinition;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:43: package com.sun.jsftemplating.layout.descriptors does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.LayoutElement;
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:44: package com.sun.jsftemplating.layout.descriptors.handler does not exist
      [apt] import com.sun.jsftemplating.layout.descriptors.handler.HandlerContext;
      [apt]                                                         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:45: package com.sun.jsftemplating.layout.template does not exist
      [apt] import com.sun.jsftemplating.layout.template.TemplateWriter;
      [apt]                                              ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:46: package com.sun.jsftemplating.util does not exist
      [apt] import com.sun.jsftemplating.util.LayoutElementUtil;
      [apt]                                   ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:47: package com.sun.jsftemplating.util does not exist
      [apt] import com.sun.jsftemplating.util.FileUtil;
      [apt]                                   ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:100: cannot find symbol
      [apt] symbol  : class HandlerContext
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     public static void addLayoutComponentToPage(HandlerContext context) {
      [apt]                                                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:193: cannot find symbol
      [apt] symbol  : class HandlerContext
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     public static void getPageComponentNames(HandlerContext context) {
      [apt]                                              ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:221: cannot find symbol
      [apt] symbol  : class LayoutDefinition
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     private static void writePage(Object context, String pageName, LayoutDefinition ld) {
      [apt]                                                                    ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:241: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     private static List<String> getDisplayList(LayoutElement le, List displayList, String indent) {
      [apt]                                                ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:258: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]     private static List<String> getQualifiedList(LayoutElement le, List qualifiedList, String longName) {
      [apt]                                                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:98: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]   @HandlerOutput(name="newComponent", type=LayoutComponent.class )
      [apt]                                                          ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:20: cannot find symbol
      [apt] symbol  : class LayoutDefinition
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]  LayoutDefinition ld = LayoutDefinitionManager.getLayoutDefinition(null, "propSheet.jsf ");
      [apt]         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:20: cannot find symbol
      [apt] symbol  : variable LayoutDefinitionManager
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]  LayoutDefinition ld = LayoutDefinitionManager.getLayoutDefinition(null, " propSheet.jsf");
      [apt]                               ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:35: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]   LayoutElement lel = (LayoutElement)list.get(i);
      [apt]                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:35: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]   LayoutElement lel = (LayoutElement)list.get(i);
      [apt]                                      ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\Test.java:36: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.Test
      [apt]   if (lel instanceof LayoutComponent) {
      [apt]                                    ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:104: cannot find symbol
      [apt] symbol  : class LayoutDefinition
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]         LayoutDefinition ld = LayoutDefinitionManager.getLayoutDefinition (
      [apt]         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:104: cannot find symbol
      [apt] symbol  : variable LayoutDefinitionManager
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]         LayoutDefinition ld = LayoutDefinitionManager.getLayoutDefinition (
      [apt]                               ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:108: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  LayoutElement parent = ld;
      [apt]         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:126: cannot find symbol
      [apt] symbol  : class ComponentType
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  ComponentType type = LayoutDefinitionManager.getGlobalComponentType(
      [apt]         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:126: cannot find symbol
      [apt] symbol  : variable LayoutDefinitionManager
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  ComponentType type = LayoutDefinitionManager.getGlobalComponentType (
      [apt]                              ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:134: cannot find symbol
      [apt] symbol  : variable LayoutElementUtil
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      id = LayoutElementUtil.getGeneratedId(null);
      [apt]                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:136: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  LayoutComponent comp = new LayoutComponent(parent, id, type);
      [apt]         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:136: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  LayoutComponent comp = new LayoutComponent(parent, id, type);
      [apt]                                    ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:195: cannot find symbol
      [apt] symbol  : class LayoutDefinition
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]         LayoutDefinition ld = null;
      [apt]         ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:198: cannot find symbol
      [apt] symbol  : variable LayoutDefinitionManager
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      ld = LayoutDefinitionManager.getLayoutDefinition(
      [apt]                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:200: cannot find symbol
      [apt] symbol  : class LayoutDefinitionException
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  } catch (LayoutDefinitionException ex) {
      [apt]                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:202: cannot find symbol
      [apt] symbol  : variable LayoutDefinitionManager
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      ld = LayoutDefinitionManager.getLayoutDefinition(
      [apt]                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:205: cannot find symbol
      [apt] symbol  : variable LayoutDefinitionManager
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      LayoutDefinitionManager.putCachedLayoutDefinition(pageName, ld);
      [apt]             ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:222: cannot find symbol
      [apt] symbol  : variable FileUtil
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]  String path = FileUtil.getRealPath(context, pageName);
      [apt]                       ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:230: cannot find symbol
      [apt] symbol  : class TemplateWriter
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      new TemplateWriter(os).write(ld);
      [apt]                 ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:245: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      LayoutElement lel = (LayoutElement)list.get(i);
      [apt]             ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:245: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      LayoutElement lel = (LayoutElement)list.get(i);
      [apt]                                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:246: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      if (lel instanceof LayoutComponent) {
      [apt]                                ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:249: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]       ((LayoutComponent) lel).getType().getId());
      [apt]                       ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:262: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      LayoutElement lel = (LayoutElement)list.get(i);
      [apt]             ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:262: cannot find symbol
      [apt] symbol  : class LayoutElement
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      LayoutElement lel = (LayoutElement)list.get(i);
      [apt]                                  ^
      [apt] C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\src\java\com\sun\jsftemplating\samples\editor\handlers\PageHandlers.java:263: cannot find symbol
      [apt] symbol  : class LayoutComponent
      [apt] location: class com.sun.jsftemplating.samples.editor.handlers.PageHandlers
      [apt]      if (lel instanceof LayoutComponent) {
      [apt]                                ^
      [apt] Note: Some input files use unchecked or unsafe operations.
      [apt] Note: Recompile with -Xlint:unchecked for details.
      [apt] 48 errors

BUILD FAILED
C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\aptbuild.xml:30: Compile failed; see the compiler error output for details.

Total time: 2 seconds
assemble-war:
Copying 4 files to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build\assemble
Copying 1 file to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build\assemble\WEB-INF\lib
Copying 2 files to C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\build\assemble\WEB-INF\classes
war:
Building jar: C:\Documents and Settings\Michael Phoenix\My Documents\cvs projects\jsft\jsftemplating\samples\editor\editor.war
build:
all:
BUILD SUCCESSFUL (total time: 4 seconds)