You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2012/10/05 03:59:47 UTC

[jira] [Created] (TORQUE-228) Imports not generated correctly if classes are generated into different package

Thomas Fox created TORQUE-228:
---------------------------------

             Summary: Imports not generated correctly if classes are generated into different package
                 Key: TORQUE-228
                 URL: https://issues.apache.org/jira/browse/TORQUE-228
             Project: Torque
          Issue Type: Bug
          Components: Templates
    Affects Versions: 4.0-beta1
            Reporter: Thomas Fox
            Assignee: Thomas Fox
             Fix For: 4.0-beta2


If the generation options torque.om.package.${...}PackageSuffix are all set to different values, some generated files miss imports to other files.
It should be possible to set all these options to different values and still have compiling code.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] [Commented] (TORQUE-228) Imports not generated correctly if classes are generated into different package

Posted by "Thomas Fox (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TORQUE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469967#comment-13469967 ] 

Thomas Fox commented on TORQUE-228:
-----------------------------------

The test project should be reorganized accordingly to test the behavior. 
The problem is that the files using the "protected" attribute do not compile anymore, there the package should be overridden in the table definition.   
                
> Imports not generated correctly if classes are generated into different package
> -------------------------------------------------------------------------------
>
>                 Key: TORQUE-228
>                 URL: https://issues.apache.org/jira/browse/TORQUE-228
>             Project: Torque
>          Issue Type: Bug
>          Components: Templates
>    Affects Versions: 4.0-beta1
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta2
>
>
> If the generation options torque.om.package.${...}PackageSuffix are all set to different values, some generated files miss imports to other files.
> It should be possible to set all these options to different values and still have compiling code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] [Resolved] (TORQUE-228) Imports not generated correctly if classes are generated into different package

Posted by "Thomas Fox (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TORQUE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fox resolved TORQUE-228.
-------------------------------

    Resolution: Fixed
    
> Imports not generated correctly if classes are generated into different package
> -------------------------------------------------------------------------------
>
>                 Key: TORQUE-228
>                 URL: https://issues.apache.org/jira/browse/TORQUE-228
>             Project: Torque
>          Issue Type: Bug
>          Components: Templates
>    Affects Versions: 4.0-beta1
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta2
>
>
> If the generation options torque.om.package.${...}PackageSuffix are all set to different values, some generated files miss imports to other files.
> It should be possible to set all these options to different values and still have compiling code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org