Hi,

I see in trunk1.2.x/api, the pom.xml defines a profile named
"generate-component-code", which runs the external Ant build.xml file.

>From an inspection of this code, this looks to me like a leftover from
the old myfaces code-generation framework where component classes had
  == GENERATED CODE BEGIN ==
  == GENERATED CODE END ==
comments, and were modified then checked in with the modifications.

AUAI, this has now been replaced by the "trinidadbuild" maven plugin,
where files from "src/main/java-templates" are processed at build-time
to generate the source code to be compiled. The templates are checked
in, but not the modified files.

Is this right? If so, can we remove this profile plus the build.xml file
from this module?

And by the way, how do people do component development with the new
approach? Is "target/maven-faces-plugin/main/java" added as a
source-code directory to the IDE project, but changes made to the
template instead, with the plugin being re-run to regenerate the actual
class after each change to the template?

Regards,

Simon

Reply via email to