[EMAIL PROTECTED] writes:
> - removed logic to determine if OM classes have already
> been generated. That logic is already part of the torque
> plugin.
Hm. If this logic is part of the Torque plugin, then it does not work:
(pwd == Completely rebuilt jakarta-turbine-2 HEAD)
Try #1:
% grep -i schemachange project.properties
torque.runOnlyOnSchemaChange = true
% maven java:compile
[...]
[torque-data-model] Generating to file
/mnt/home.net/henning/jakarta/jakarta-turbine-2/target/src/report.scheduler.om.generation
Parsing file: 'scheduler-schema.xml'
[...]
[torque-data-model] Generating to file
/mnt/home.net/henning/jakarta/jakarta-turbine-2/target/src/report.torque-security.om.generation
Parsing file: 'torque-security-schema.xml'
[javac] Compiling 21 source files to
/mnt/home.net/henning/jakarta/jakarta-turbine-2/target/classes
Try #2:
% grep -i schemachange project.properties
torque.runOnlyOnSchemaChange = false
% maven java:compile
[...]
[torque-data-model] Generating to file
/mnt/home.net/henning/jakarta/jakarta-turbine-2/target/src/report.scheduler.om.generation
Parsing file: 'scheduler-schema.xml'
[...]
[torque-data-model] Generating to file
/mnt/home.net/henning/jakarta/jakarta-turbine-2/target/src/report.torque-security.om.generation
Parsing file: 'torque-security-schema.xml'
[javac] Compiling 21 source files to
/mnt/home.net/henning/jakarta/jakarta-turbine-2/target/classes
No difference visible. The class files get rebuilt every time I run
maven. No problem for turbine-2 which has only some 20 classes here
but I have an application which has a whooping 327 generated peer
classes and there it gets 'a little annoying'... :-)
BTW: Am I the only one who is a little irritated by the
+------------------------------------------+
| |
| Generating Peer-based Object Model for |
| YOUR Torque project! Woo hoo! |
| |
+------------------------------------------+
banners? I'd prefer to have them removed them from the Torque
plugins. If I want output from my build stages, I put them into my
maven.xml.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]