[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2021) validate package combination
Dan Allen (JIRA)
jira-events at lists.jboss.org
Mon Oct 1 19:17:42 EDT 2007
validate package combination
----------------------------
Key: JBSEAM-2021
URL: http://jira.jboss.com/jira/browse/JBSEAM-2021
Project: JBoss Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 2.0.0.CR1
Reporter: Dan Allen
Assigned To: Dan Allen
Priority: Minor
Fix For: 2.0.0.GA
If one of the packages specified (action, model, or test) in the seam-gen setup script is the default package (empty package), then all of the packages must be the default package. Java does not allow classes in the default package to be imported into classes that are not in the default package. Allowing this situation will lead to a project that cannot compile.
The validation I would like to have put in place is that if one package uses the default, then they all have to use the default.
For instance, the following would be illegal
action.package=
model.package=com.company.model
test.package=com.company.test
This validation would happen during the validate-project target.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list