Message:
The following issue has been deleted from JIRA.
---------------------------------------------------------------------
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1004
Summary: basePrefix isn't handled correctly when defined outside of the
contextProperties
Type: Bug
Status: Unassigned
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Assignee:
Reporter: Lo?c Minier
Created: Wed, 5 Nov 2003 8:13 AM
Updated: Sun, 9 Nov 2003 10:22 AM
Environment: Windows XP; Maven Torque Plugin 3.2; Torque 3.1
Description:
When generating OM classes, Torque relies on the torque.basePrefix indication to name
classes, for example with "basePrefix = Base", torque.basePrefix is set to
${baseprefix} by the plugin.properties of maven-torque-3.2.
While thess properties correctly reach the torque-data-model element in the
"torque:om-generate" goal (an echo shows it is correctly defined), they are discarded
and the basePrefix property defined in the contextProperties property wins. (When
contextProperties isn't set, build/project.properties are used.)
Suggested fix: may be pass a basePrefix="${torque:basePrefix}" attribute to the
torque-data-model elements in plugin.jelly at lines 222 and 238 lines below. However,
this wasn't enough to fix the problem.
Workaround: define basePrefix in build/project.properties.
---------------------------------------------------------------------
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]