dev@jsftemplating.java.net

Re: JSFTemplating: problems building jsf templating with NetBeans

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 23 Jan 2007 03:13:04 -0800

FYI, the problem was related to the length of directory where he checked
out the files. Perhaps this caused the classpath to exceed an
environment variable limit imposed by Windows? I don't know. Anyway,
moving the jsftemplating directory closer to the root (i.e. such as
C:\jsftemplating) solved the problem.

Ken

Michael Phoenix wrote:
> With Ken's help I was finally able to build successfully from the
> command line, but I can still not get the project to build under
> NetBeans. so at his suggestion, I'm posting the output and asking
> anybody who is familiar with this project and NetBeans, what could be
> going wrong here? I have tried adding the ant-apt.jar file to the
> classpath as stated in the setup instructions.
>
>
> clean:
> Deleting directory C:\cvs projects\jsft\jsftemplating\aptbuild
> Deleting directory C:\cvs projects\jsft\jsftemplating\build
> Deleting directory C:\cvs projects\jsft\jsftemplating\dist
> clean:
> clean:
> init:
> lib/ant/bin/ant.bat
> compile-apt-files:
> Created dir: C:\cvs projects\jsft\jsftemplating\aptbuild
> C:\Program Files\Java\jdk1.5.0_06\jre
> Compiling 8 source files to C:\cvs projects\jsft\jsftemplating\aptbuild
> Note: C:\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:\cvs projects\jsft\jsftemplating\dist
> Building jar: C:\cvs projects\jsft\jsftemplating\dist\jsftemplating-dt.jar
> compile:
> Created dir: C:\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:\cvs projects\jsft\jsftemplating\dist
> Copying 1 file to C:\cvs projects\jsft\jsftemplating\dist
> Building jar: C:\cvs projects\jsft\jsftemplating\dist\jsftemplating.jar
> build:
> build-samples:
> build:
> compile:
> Created dir: C:\cvs projects\jsft\jsftemplating\samples\editor\build
> Created dir: C:\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:\cvs
> projects\jsft\jsftemplating\samples\editor\build\classes
> [apt] C:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\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:\cvs
> projects\jsft\jsftemplating\samples\editor\build\assemble
> Copying 1 file to C:\cvs
> projects\jsft\jsftemplating\samples\editor\build\assemble\WEB-INF\lib
> Copying 2 files to C:\cvs
> projects\jsft\jsftemplating\samples\editor\build\assemble\WEB-INF\classes
> war:
> Building jar: C:\cvs projects\jsft\jsftemplating\samples\editor\editor.war
> build:
> all:
> BUILD SUCCESSFUL (total time: 5 seconds)
>
>