dev@jsftemplating.java.net

Re: JSFTemplating: Re: more problems compiling jsf templating

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Mon, 22 Jan 2007 08:24:40 -0800

Michael,
Your glassh-home is not correct:

It should be:

glassfish-home = c:/Sun/AppServer

or

glassfish-home = c:\\Sun\\AppServer

Please fix this and try the build again. Ken, please add this note to
the website as this is the problem that most of the windows uses will face.

thanks
Karam



Michael Phoenix wrote On 01/21/07 18:00,:
> 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)
>

-- 
Karam S. Badesha, CAD Environment Support Team     karam.badesha_at_sun.com
Sun Microsystems                                   x48248
410 N. Mary Ave                                    408.774.8248
Sunnyvale, CA 94085