Hello Bernd,
I've done so. Building is ok. But now I can't even deploy my test app:
2008-03-19 11:56:32 ContainerBackgroundProcessor[StandardEngine[Catalina]]
ERROR - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tob
ago-test]:3731 - Exception sending context initialized event to listener
instance of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError:
org/apache/myfaces/tobago/compat/InvokeOnComponent
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1779)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.getConstructor(Class.java:1629)
at
org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:677)
...
The tobago-example-demo can be deployed and works partially. There're are
some exceptions.
I'll give up testing with 1.1.0 for now. Maybe I'll try it again in some
weeks.
(I've done all this only because I wanted to test the patch for TOBAGO-325
with 1.1.0. So it still stays untestet.)
Regards
Helmut
----- Original Message -----
From: "Bernd Bohmann" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Tuesday, March 18, 2008 10:32 PM
Subject: Re: [Tobago] Can't build from current sources
Hello Helmut,
found some missing uncommited files.
Please perform a svn up and a mvn -P all-modules clean install.
Regards
Bernd
Helmut Swaczinna schrieb:
Hello Bernd,
do you mean "Are the class files for components and tags generated
now?". Yes, they are.
But my test app doesn't run at all with 1.1.0:
java.lang.ClassCastException:
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer
at
org.apache.myfaces.tobago.renderkit.AbstractLayoutableRendererBaseWrapper.getLayoutableRenderer(AbstractLayoutableRendererBaseWrapper.java:
70)
at
org.apache.myfaces.tobago.renderkit.AbstractLayoutableRendererBaseWrapper.getComponentExtraWidth(AbstractLayoutableRendererBaseWrapper.java
:42)
at
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.layoutSpace(HtmlRendererUtil.java:359)
at
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.layoutWidth(HtmlRendererUtil.java:313)
at
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.prepareRender(HtmlRendererUtil.java:97)
at
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEnd(PageRenderer.java:113)
at
org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeEnd(AbstractRendererBaseWrapper.java:80)
at
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
...
This exception occurs immediately on every page.
Regards
Helmut
----- Original Message ----- From: "Bernd Bohmann"
<[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Tuesday, March 18, 2008 6:06 PM
Subject: Re: [Tobago] Can't build from current sources
Hello Helmut,
the package-info.java contains the information for generating the tlds.
package-info.java can be excluded for tobago-components and
tobago-faces-config.
Are the components and tags generated now?
Regards
Bernd
Helmut Swaczinna schrieb:
Hello Bernd,
I added
<exclude>org/apache/myfaces/tobago/taglib/component/package-info.java</exclude>
to the tobago-components execution. So there's no error in
tobago-components but it's then in tobago-faces-config.
So I added
<exclude>org/apache/myfaces/tobago/taglib/component/package-info.java</exclude>
<exclude>org/apache/myfaces/tobago/taglib/extension/package-info.java</exclude>
to tobago-faces-config. Then it builds.
But excluding the package-infos is only a workaround not the solution
to
the problem, right?
Regards
Helmut
----- Original Message ----- From: "Bernd Bohmann"
<[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Monday, March 17, 2008 8:57 PM
Subject: Re: [Tobago] Can't build from current sources
Hello Helmut,
i think this is a problem with jdk 1.5, windows and the annotation
processing tool. Please add
<exclude>org/apache/myfaces/tobago/taglib/component/package-info.java</exclude>
to the excludes section of the tobago-components execution.
I think Arvid tries the build with jdk 1.6, but it should work with
jdk
1.5, too.
Can you try the suggestion, please.
Regards
Bernd
Helmut Swaczinna schrieb:
Hello Bernd,
execution id tobago-components is called but leads to an error:
[INFO] [apt:execute {execution: tobago-components}]
[ERROR]
C:/Projekte/jsf/tobago-new/core/src/main/java/org/apache/myfaces/tobago/taglib/component/pac
kage-info.java:9: package annotations should be in file
package-info.java
fileName = "tobago.tld", displayName = "Tobago Components")
package
org.apache.myfaces.tobago.ta
glib.component;
This is the content of package-info.java:
@org.apache.myfaces.tobago.apt.annotation.Taglib(
shortName = "tc", uri =
"http://myfaces.apache.org/tobago/component",
listener =
"org.apache.myfaces.tobago.webapp.TobagoServletContextListener",
fileName = "tobago.tld", displayName = "Tobago Components")
package
org.apache.myfaces.tobago.taglib.component;
I think the problem is in tobago-tlds:
[INFO] [apt:execute {execution: tobago-tlds}]
C:\Projekte\jsf\tobago-new\core\src\main\java\org\apache\myfaces\tobago\taglib\extension\SelectManyC
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;
^
...
Regards
Helmut
----- Original Message ----- From: "Bernd Bohmann"
<[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Monday, March 17, 2008 6:39 PM
Subject: Re: [Tobago] Can't build from current sources
Hello Helmut,
we test a fresh build on arvids windows machine.
Can you check why the execution of the maven-apt-plugin with the
execution id tobago-components is not called?
Just tried a sucessful fresh build from source on my linux machine.
The build of tobago-core on the continuum server is sucessful, too
(solaris-x86.)
Regards
Bernd
Helmut Swaczinna schrieb:
Hello Bernd,
it still does not build. I've done a svn update and a mvn clean
install
but get the same result.
C:\Projekte\jsf\tobago-src>\tools\svn-win32-1.4.2\bin\svn update
U
theme\scarborough\src\main\java\org\apache\myfaces\tobago\renderkit\html\scarborough\standard\t
ag\GridLayoutRenderer.java
U
core\src\main\java\org\apache\myfaces\tobago\taglib\component\MenuSelectOneTagDeclaration.java
U
core\src\main\java\org\apache\myfaces\tobago\taglib\component\MenuSelectBooleanTagDeclaration.j
ava
U
core\src\main\java\org\apache\myfaces\tobago\webapp\TobagoMultipartFormdataFilter.java
U
extension\facelets\src\main\java\org\apache\myfaces\tobago\facelets\TobagoComponentHandler.java
U
extension\facelets\src\main\java\org\apache\myfaces\tobago\facelets\extension\TobagoLabelExtens
ionHandler.java
Aktualisiert zu Revision 637965.
C:\Projekte\jsf\tobago-src>\tools\maven-2.0.7\bin\mvn clean install
...
Did you already checked in your changes?
Regards
Helmut
----- Original Message ----- From: "Bernd Bohmann"
<[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Monday, March 17, 2008 4:21 PM
Subject: Re: [Tobago] Can't build from current sources
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