Matze, as a workaround please checkout the current maven subproject
and build it first. As soon as you have the
build-tools-1.0.0-SNAPSHOT.jar in your local maven repo the codegen
task should work for you.

Well, I build that guy and 1.0.4-SNAPSHOT.jar is in my local m2 repo
(~/.m2/repository/org/apache/myfaces/maven/build-tools/1.0.4-SNAPSHOT)

-Matthias

Regards,
Manfred


On 5/31/06, Matthias Wessendorf <[EMAIL PROTECTED]> 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] 
----------------------------------------------------------------------------
>



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to