You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Paul Sprague (JIRA)" <ji...@apache.org> on 2010/06/03 01:54:00 UTC
[jira] Created: (CAY-1442) maven goal dbimport lacks the ability to
set the default java package
maven goal dbimport lacks the ability to set the default java package
---------------------------------------------------------------------
Key: CAY-1442
URL: https://issues.apache.org/jira/browse/CAY-1442
Project: Cayenne
Issue Type: Bug
Affects Versions: 3.0
Reporter: Paul Sprague
The maven goal dbimport lacks the ability to set the default java package.
The modeler allows for this by setting a property in the data map.xml file:
<property name="defaultPackage" value="some.java.package"/>
I don't see anywhere in the maven plugin source (DbImporterMojo.java) where DataMap.setDefaultPackage(..) is called.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAY-1442) maven goal dbimport lacks the ability to
set the default java package
Posted by "Paul Sprague (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Sprague updated CAY-1442:
------------------------------
Attachment: patch.txt
I've attached my attempt at a possible patch but atm I am unable to even build the project.
> maven goal dbimport lacks the ability to set the default java package
> ---------------------------------------------------------------------
>
> Key: CAY-1442
> URL: https://issues.apache.org/jira/browse/CAY-1442
> Project: Cayenne
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Paul Sprague
> Attachments: patch.txt
>
>
> The maven goal dbimport lacks the ability to set the default java package.
> The modeler allows for this by setting a property in the data map.xml file:
> <property name="defaultPackage" value="some.java.package"/>
> I don't see anywhere in the maven plugin source (DbImporterMojo.java) where DataMap.setDefaultPackage(..) is called.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAY-1442) maven goal dbimport lacks the ability to
set the default java package
Posted by "Paul Sprague (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Sprague updated CAY-1442:
------------------------------
Attachment: patch2.txt
Attaching patch2.txt for ClassGenerationAction.java. Tested both patches on a clean checkout of the 3.0-final tag and they are working.
> maven goal dbimport lacks the ability to set the default java package
> ---------------------------------------------------------------------
>
> Key: CAY-1442
> URL: https://issues.apache.org/jira/browse/CAY-1442
> Project: Cayenne
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Paul Sprague
> Attachments: patch.txt, patch2.txt
>
>
> The maven goal dbimport lacks the ability to set the default java package.
> The modeler allows for this by setting a property in the data map.xml file:
> <property name="defaultPackage" value="some.java.package"/>
> I don't see anywhere in the maven plugin source (DbImporterMojo.java) where DataMap.setDefaultPackage(..) is called.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.