myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <bernd.bohm...@atanion.com>
Subject Re: [Tobago] Can't build from current sources
Date Mon, 17 Mar 2008 15:21:54 GMT
Hello Helmut,

can you try again with a mvn clean install. Arvid and me just sort out
some issues with windows.

I changed the build to generate more components and tags from the
annotation metadata.

Regards

Bernd

Helmut Swaczinna schrieb:
> Hi,
> 
> just checkedout the current (1.1.x) sources but get lots of errors when
> building with mvn install in the main directory:
> 
> C:\Projekte\jsf\tobago-src>\tools\maven-2.0.7\bin\mvn install
> [INFO] Scanning for projects...
> Downloading:
> http://repo1.maven.org/maven2/org/apache/myfaces/myfaces/5/myfaces-5.pom
> 28K downloaded
> [INFO] Reactor build order:
> [INFO]   Apache Tobago
> [INFO]   Tobago Tool
> [INFO]   Maven Apt Plugin
> [INFO]   Maven Tobago Theme Plugin
> [INFO]   Tobago Annotation
> [INFO]   Tobago Apt
> [INFO]   Tobago Core
> [INFO]   Tobago Themes
> [INFO]   Theme Standard
> [INFO]   Theme Scarborough
> [INFO]   Theme Speyside
> [INFO]   Theme Richmond
> [INFO]   Theme Charlotteville
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] Building Apache Tobago
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> 
> ...
> <no errors until now>
> ...
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] Building Tobago Core
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 438 source files to
> C:\Projekte\jsf\tobago-src\core\target\classes
> [INFO] [apt:execute {execution: tobago-tlds}]
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectOneC
> 
> oiceExtensionTag.java:22: cannot find symbol
> symbol  : class SelectOneChoiceTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectOneChoiceTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\LabelExten
> 
> ionTag.java:25: cannot find symbol
> symbol  : class GridLayoutTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.GridLayoutTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\LabelExten
> 
> ionTag.java:26: cannot find symbol
> symbol  : class LabelTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.LabelTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\LabelExten
> 
> ionTag.java:27: cannot find symbol
> symbol  : class PanelTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.PanelTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectOneC
> 
> oiceExtensionTag.java:76: cannot find symbol
> symbol  : class SelectOneChoiceTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.SelectOneChoiceExtensionTag
>  private SelectOneChoiceTag selectOneChoiceTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\LabelExten
> 
> ionTag.java:54: cannot find symbol
> symbol  : class PanelTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.LabelExtensionTag
>  private PanelTag panelTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\FileExtens
> 
> onTag.java:22: cannot find symbol
> symbol  : class FileTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.FileTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\FileExtens
> 
> onTag.java:73: cannot find symbol
> symbol  : class FileTag
> location: class org.apache.myfaces.tobago.taglib.extension.FileExtensionTag
>  private FileTag fileTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\InExtensio
> 
> Tag.java:22: cannot find symbol
> symbol  : class InTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.InTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\InExtensio
> 
> Tag.java:89: cannot find symbol
> symbol  : class InTag
> location: class org.apache.myfaces.tobago.taglib.extension.InExtensionTag
>  private InTag inTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\TimeExtens
> 
> onTag.java:22: cannot find symbol
> symbol  : class TimeTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.TimeTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\TimeExtens
> 
> onTag.java:84: cannot find symbol
> symbol  : class TimeTag
> location: class org.apache.myfaces.tobago.taglib.extension.TimeExtensionTag
>  private TimeTag timeTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectMany
> 
> heckboxExtensionTag.java:40: cannot find symbol
> symbol  : class SelectManyCheckboxTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectManyCheckboxTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectMany
> 
> heckboxExtensionTag.java:78: cannot find symbol
> symbol  : class SelectManyCheckboxTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.SelectManyCheckboxExtensionTag
>  private SelectManyCheckboxTag selectManyCheckboxTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectOneL
> 
> stboxExtensionTag.java:22: cannot find symbol
> symbol  : class SelectOneListboxTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectOneListboxTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectOneL
> 
> stboxExtensionTag.java:72: cannot find symbol
> symbol  : class SelectOneListboxTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.SelectOneListboxExtensionTag
>  private SelectOneListboxTag selectOneListboxTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\TextAreaEx
> 
> ensionTag.java:22: cannot find symbol
> symbol  : class TextareaTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.TextareaTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\TextAreaEx
> 
> ensionTag.java:85: cannot find symbol
> symbol  : class TextareaTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.TextAreaExtensionTag
>  private TextareaTag textAreaTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectMany
> 
> istboxExtensionTag.java:22: cannot find symbol
> symbol  : class SelectManyListboxTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectManyListboxTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectMany
> 
> istboxExtensionTag.java:82: cannot find symbol
> symbol  : class SelectManyListboxTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.SelectManyListboxExtensionTag
>  private SelectManyListboxTag selectManyListboxTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectBool
> 
> anCheckboxExtensionTag.java:22: cannot find symbol
> symbol  : class SelectBooleanCheckboxTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectBooleanCheckboxTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectBool
> 
> anCheckboxExtensionTag.java:74: cannot find symbol
> symbol  : class SelectBooleanCheckboxTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.SelectBooleanCheckboxExtensionTag
> 
>  private SelectBooleanCheckboxTag selectBooleanCheckboxTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuCheckb
> 
> xExtensionTag.java:23: cannot find symbol
> symbol  : class SelectBooleanCheckboxTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectBooleanCheckboxTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuCheckb
> 
> xExtensionTag.java:24: cannot find symbol
> symbol  : class MenuItemTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.MenuItemTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuCheckb
> 
> xExtensionTag.java:50: cannot find symbol
> symbol  : class MenuItemTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.MenuCheckboxExtensionTag
>  private MenuItemTag menuCommandTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuCheckb
> 
> xExtensionTag.java:51: cannot find symbol
> symbol  : class SelectBooleanCheckboxTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.MenuCheckboxExtensionTag
>  private SelectBooleanCheckboxTag selectBooleanCheckbox;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectOneR
> 
> dioExtensionTag.java:22: cannot find symbol
> symbol  : class SelectOneRadioTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectOneRadioTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectOneR
> 
> dioExtensionTag.java:76: cannot find symbol
> symbol  : class SelectOneRadioTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.SelectOneRadioExtensionTag
>  private SelectOneRadioTag selectOneRadioTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuRadioE
> 
> tensionTag.java:23: cannot find symbol
> symbol  : class SelectOneRadioTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.SelectOneRadioTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuRadioE
> 
> tensionTag.java:24: cannot find symbol
> symbol  : class MenuItemTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.MenuItemTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuRadioE
> 
> tensionTag.java:52: cannot find symbol
> symbol  : class MenuItemTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.MenuRadioExtensionTag
>  private MenuItemTag menuCommandTag;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\MenuRadioE
> 
> tensionTag.java:53: cannot find symbol
> symbol  : class SelectOneRadioTag
> location: class
> org.apache.myfaces.tobago.taglib.extension.MenuRadioExtensionTag
>  private SelectOneRadioTag selectOneRadio;
>          ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\DateExtens
> 
> onTag.java:22: cannot find symbol
> symbol  : class DatePickerTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.DatePickerTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\DateExtens
> 
> onTag.java:23: cannot find symbol
> symbol  : class DateTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.DateTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\DateExtens
> 
> onTag.java:24: cannot find symbol
> symbol  : class FormTag
> location: package org.apache.myfaces.tobago.internal.taglib
> import org.apache.myfaces.tobago.internal.taglib.FormTag;
>                                                 ^
> C:\Projekte\jsf\tobago-src\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\DateExtens
> 
> onTag.java:94: cannot find symbol
> symbol  : class DateTag
> location: class org.apache.myfaces.tobago.taglib.extension.DateExtensionTag
>  private DateTag dateTag;
>          ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> [INFO] [apt:execute {execution: tobago-components}]
> [ERROR]
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/component/pa
> 
> kage-info.java:9: package annotations should be in file package-info.java
>    fileName = "tobago.tld", displayName = "Tobago Components") package
> org.apache.myfaces.tobago.t
> glib.component;
>                                           ^
> java.io.IOException
>        at
> com.sun.tools.apt.mirror.apt.FilerImpl.prepareFile(FilerImpl.java:318)
>        at
> com.sun.tools.apt.mirror.apt.FilerImpl.getPrintWriter(FilerImpl.java:265)
>        at
> com.sun.tools.apt.mirror.apt.FilerImpl.getPrintWriter(FilerImpl.java:257)
>        at
> com.sun.tools.apt.mirror.apt.FilerImpl.createTextFile(FilerImpl.java:218)
>        at
> org.apache.myfaces.tobago.apt.CreateComponentAnnotationVisitor.writeFile(CreateComponent
> 
> nnotationVisitor.java:242)
>        at
> org.apache.myfaces.tobago.apt.CreateComponentAnnotationVisitor.createTag(CreateComponent
> 
> nnotationVisitor.java:156)
>        at
> org.apache.myfaces.tobago.apt.CreateComponentAnnotationVisitor.process(CreateComponentAn
> 
> otationVisitor.java:88)
>        at
> org.apache.myfaces.tobago.apt.CreateComponentAnnotationProcessor.process(CreateComponent
> 
> nnotationProcessor.java:52)
>        at
> com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationP
> 
> ocessors.java:60)
>        at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
>        at
> com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
>        at com.sun.tools.apt.main.Main.compile(Main.java:1075)
>        at com.sun.tools.apt.main.Main.compile(Main.java:938)
>        at com.sun.tools.apt.Main.processing(Main.java:95)
>        at com.sun.tools.apt.Main.process(Main.java:43)
>        at com.sun.tools.apt.Main.main(Main.java:34)
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 
> [INFO] [compiler:compile {execution: compile}]
> [INFO] Compiling 95 source files to
> C:\Projekte\jsf\tobago-src\core\target\classes
> [INFO] [apt:execute {execution: tobago-faces-config}]
> [ERROR]
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/component/pa
> 
> kage-info.java:9: package annotations should be in file package-info.java
>    fileName = "tobago.tld", displayName = "Tobago Components") package
> org.apache.myfaces.tobago.t
> glib.component;
>                                           ^
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-in
> 
> o.java:8: package annotations should be in file package-info.java
>    fileName = "tobago-extension.tld", displayName = "Tobago Extensions")
> package org.apache.myface
> .tobago.taglib.extension;
>                                                     ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/component/package-in
> 
> o.java:9: package annotations should be in file package-info.java
>    fileName = "tobago.tld", displayName = "Tobago Components") package
> org.apache.myfaces.tobago.t
> glib.component;
>                                           ^
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-in
> 
> o.java:8: package annotations should be in file package-info.java
>    fileName = "tobago-extension.tld", displayName = "Tobago Extensions")
> package org.apache.myface
> .tobago.taglib.extension;
>                                                     ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 2 errors
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error starting apt compiler
> 
> Embedded error: Exit code: 1 -
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tob
> go/taglib/component/package-info.java:9: package annotations should be
> in file package-info.java
>    fileName = "tobago.tld", displayName = "Tobago Components") package
> org.apache.myfaces.tobago.t
> glib.component;
>                                           ^
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-in
> 
> o.java:8: package annotations should be in file package-info.java
>    fileName = "tobago-extension.tld", displayName = "Tobago Extensions")
> package org.apache.myface
> .tobago.taglib.extension;
>                                                     ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/component/package-in
> 
> o.java:9: package annotations should be in file package-info.java
>    fileName = "tobago.tld", displayName = "Tobago Components") package
> org.apache.myfaces.tobago.t
> glib.component;
>                                           ^
> C:/Projekte/jsf/tobago-src/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-in
> 
> o.java:8: package annotations should be in file package-info.java
>    fileName = "tobago-extension.tld", displayName = "Tobago Extensions")
> package org.apache.myface
> .tobago.taglib.extension;
>                                                     ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 2 errors
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 5 seconds
> [INFO] Finished at: Fri Mar 14 14:49:58 CET 2008
> [INFO] Final Memory: 18M/58M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> C:\Projekte\jsf\tobago-src>\tools\maven-2.0.7\bin\mvn -v
> Maven version: 2.0.7
> Java version: 1.5.0_12
> OS name: "windows xp" version: "5.1" arch: "x86"
> 
> Regards
> 
> Helmut
> 

Mime
View raw message