[
http://jira.jboss.com/jira/browse/JBIDE-1171?page=all ]
Max Andersen resolved JBIDE-1171.
---------------------------------
Resolution: Done
Ok - some install windows softwore on macs others just don't read code properly. This
is now fixed.
Testecase:
EXECUTE: Seam generate entities
EXECUTE: open one of the generated entity classes
ASSERT: the generated java code is formatted.
e.g. this is wrong:
@Entity
@Table(name = "customer"
)
public class Customer implements java.io.Serializable {
this correct:
@Entity
@Table(name = "customer", catalog = "test")
public class Customer implements java.io.Serializable {
EXECUTE: Format the source code (Shift+F or via context menu)
ASSERT: The file does not change.
Automatically run Eclipse formatter on generated code
-----------------------------------------------------
Key: JBIDE-1171
URL:
http://jira.jboss.com/jira/browse/JBIDE-1171
Project: JBoss Tools
Issue Type: Feature Request
Components: Seam
Reporter: Gavin King
Assigned To: Max Andersen
Priority: Critical
Fix For: 2.0.0.CR1
Any code generated from templates needs to be formatted by eclipse before display to the
user.
--
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