[ http://jira.codehaus.org/browse/MECLIPSE-127?page=comments#action_82373 ] Dan Tran commented on MECLIPSE-127: -----------------------------------
to configure the code slyle in file .metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.ui.prefs set the following properties: - formatter_profile=_<profile_name> profile_name can be found the the slyle file, profile element, name attribute - org.eclipse.jdt.ui.formatterprofiles=<the content of the slyle file> will find some time to code this up > Ability to add other workspace configuration similar to add-maven-repo goal > --------------------------------------------------------------------------- > > Key: MECLIPSE-127 > URL: http://jira.codehaus.org/browse/MECLIPSE-127 > Project: Maven 2.x Eclipse Plugin > Issue Type: New Feature > Affects Versions: 2.2 > Environment: xp > Reporter: Dan Tran > Fix For: 2.3 > > > add ability to configure code slyle, jvm, warning,etc > We can create a new goal like eclipse:configure-workspace and merge > add-maven-repo into it. > We will need to a complex class for injection. This complex class will have > the following property > String workspaceDirectory; // if given, will trigger add-maven-repo > String styleFile; // if given, will trigger the settup of source format > style file > etc, > This will allow us to preconfigure eclispe configuration in the parent pom, > and there for developers in a team will have the > same eclipse setup, rather manually configure it. > WDYT? -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira