Matthias,
A while ago I was working on the code generator. I think I faced the
same problem, but in my case it could be avoided by starting the maven
build from a subdirectory
(http://mail-archives.apache.org/mod_mbox/myfaces-dev/200604.mbox/[EMAIL PROTECTED]).
I was hoping that someone with more experience with Maven would know
what the problem could be. If not, I'll try to look into it myself this
evening.
Regards,
Gert
Matthias Wessendorf wrote:
Hi,
I just tried to run the code generator against the JSF 1.2 brunch.
(after "mvn clean install" for maven/build-tools)
I now get this *error*, since I think something inside the build.xml
(or on my box) is wrong
build.xml sniplet:
<taskdef name="generate"
classname="org.apache.myfaces.codegen.component.ComponentGeneratorTask">
<classpath refid="maven.plugin.classpath"/>
</taskdef>
ERROR:
generate-components:
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
/home/matzew/workspace/jsf12/api/build.xml:5: taskdef class
org.apache.myfaces.codegen.component.ComponentGeneratorTask cannot be
found
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed May 31 07:25:40 CEST 2006
[INFO] Final Memory: 3M/7M
[INFO]
----------------------------------------------------------------------------