CodeGen Task depends on artifact "build-tools" with version "1.0.0-SNAPSHOT".
There is no final release yet. To be able to use this
build-tools-x.y.z.jar without running a full build, we must officially
release an 1.0.0 version to the maven repo.
(Before that we should rename the artifact to "myfaces-build-tools" IMHO)

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.

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] 
----------------------------------------------------------------------------

Reply via email to