The following issue has been updated: Updater: Brett Porter (mailto:[EMAIL PROTECTED]) Date: Tue, 21 Sep 2004 7:57 AM Comment: should be fixed in 1.1 by jexl 1.0 - test Changes: assignee changed to Brett Porter Fix Version changed to 1.1 --------------------------------------------------------------------- For a full history of the issue, see:
http://jira.codehaus.org/browse/MAVEN-410?page=history --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MAVEN-410 Here is an overview of the issue: --------------------------------------------------------------------- Key: MAVEN-410 Summary: maven plugins seem to choke on properties containing a "-"? Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Components: core Fix Fors: 1.1 Versions: 1.0-beta-9 Assignee: Brett Porter Reporter: Henning Schmiedehausen Created: Mon, 21 Apr 2003 11:47 AM Updated: Tue, 21 Sep 2004 7:57 AM Environment: RedHat Linux 7.3, JDK 1.3.1 Description: I'm using the Torque plugin to create id-table init sql files from my XML schemas. If I download maven 1.0b9 from apache.org, install it and then issue % maven -X torque I get torque:id-table-init-sql: Using contextProperties file: /mnt/home.net/henning/cvs/turbine-2/project.properties [torque-sql] [VERBOSE] Using templatePath: /mnt/home.net/henning/cvs/turbine-2/src/torqueTemplates [torque-sql] Using classpath [torque-sql] Generating to file /mnt/home.net/henning/cvs/turbine-2/target/sql/report.idtable-init.sql.generation [torque-sql] [DEBUG] fileset: Setup scanner in dir /mnt/home.net/henning/cvs/turbine-2/target with patternSet{ includes: [0] excludes: [0] } BUILD SUCCESSFUL Total time: 7 seconds Note the [0] for include and exclude list in the file scanner. If I now load the plugin.properties and plugin.jelly file from Torque and replace in both files for the properties torque.schema.init-sql.includes torque.schema.init-sql.excludes the "init-sql" part with "initsql" and re-issue the command: % maven -X torque then I get torque:id-table-init-sql: Using contextProperties file: /mnt/home.net/henning/cvs/turbine-2/project.properties [torque-sql] [VERBOSE] Using templatePath: /mnt/home.net/henning/cvs/turbine-2/src/torqueTemplates [torque-sql] Using classpath [torque-sql] Generating to file /mnt/home.net/henning/cvs/turbine-2/target/sql/report.idtable-init.sql.generation [torque-sql] [DEBUG] fileset: Setup scanner in dir /mnt/home.net/henning/cvs/turbine-2/target with patternSet{ includes: [*-schema.xml] excludes: [id-table-schema.xml] } Parsing file: 'scheduler-schema.xml' log4j:WARN No appenders could be found for logger (org.apache.torque.engine.database.transform.DTDResolver). log4j:WARN Please initialize the log4j system properly. Parsing file: 'torque-security-schema.xml' Parsing file: 'scheduler-idtable-schema.xml' Parsing file: 'torque-security-idtable-schema.xml' BUILD SUCCESSFUL Total time: 9 seconds Note that now the file scanner correctly picks up my schema files and builds the sql init files. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]