I can create a JIRA-task and look into if I can solve it. Perhaps I will do it within the next month then. But it would also be nice to get confirmation that it canät be done using the available configuration possibilities today. /Ludwig
-----Original Message----- From: Dan Tran [mailto:[email protected]] Sent: den 18 mars 2010 08:57 To: Maven Users List Subject: Re: auto code format eclipse .settings feel free to submit patches. I have seen this request to configure code-style per project before, but it kind a die out -D On Thu, Mar 18, 2010 at 12:29 AM, Ludwig Magnusson <[email protected]> wrote: > I don't really agree here. I think it's pretty much on a project level. I > have different projects in my workspace that has different formatting > requirements. And in my project, we have the exported xml-file version > controlled. I defenetly think it would be great if the maven-eclipse-plugin > could automatically set (if it can't already). Like it can with checkstyle. > > To me, that's what the maven-eclipse-plugin is about, configuring eclipse in > every way needed for the project. > Is that an incorrect assumption? > /Ludwig > > -----Original Message----- > From: Barrie Treloar [mailto:[email protected]] > Sent: den 18 mars 2010 00:36 > To: Maven Users List > Subject: Re: auto code format eclipse .settings > > Code formatting tends to be a workspace level thing rather than a per > project setting. > > So you are probably better off doing this manually, since its a once off > task. > > As others have pointed out, if it is a per-project file (e.g. like a > checkstyle configuration file) then you can use the > <configuration> > <additionalConfig> > <file> > section to specify the files contents. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
