1. The Forge formatter is not integrated with the eclipse workspace
settings yet, but it should be. Take a look at Formatter.java to see where this happens.
Are you interested in making this work with eclipse workspace? I think that would be
really useful.
On this subject (is there a jira btw?), an "easy" start should be to make the
formatting simply look for the "nearest" JDT settings file in .settings, i.e. a
simple approach would to look in <projectroot>/.settings, a better one (to handle
multi module scenarios) would be to look from the resource root and recursively upwards to
the project root.
This should be super easy to do and you could have a system property to set the
'global' JDT settings that users or the eclipse plugin could pass in.
/max
2. Just include forge-test-harness in your project, see:
https://docs.jboss.org/author/display/FORGE/Test+your+Plugin
Hope this helps,
~Lincoln
On Wed, Dec 7, 2011 at 9:09 AM, Ivan St. Ivanov <ivan.st.ivanov(a)gmail.com> wrote:
Hello! :-)
Maybe the answer to the questions below is somewhere in this mailing list archive, but
unfortunately I could not find the search link at
https://lists.jboss.org/mailman/listinfo/forge-dev.
So: :-)
1) Do we have somewhere [Eclipse] formatting and code template settings. These are the
configurations that can be imported and exported after going to Window -> Preferences,
then Java/Code Style/Formatter. I see that most of the code differs from Eclipse's
defaults (spaces vs tabs and opening brace on a new line to name a few)
2) I see that most of the tests are run with Arquillian. Do we have somewhere
configuration for this framework? I remember that I had to create arquillian.xml in order
to specify the target container by declaring a namespace. Is my Aruillian knowledge too
old (I admit that I checked it at its 1.0.4.ALPHA version)? Actually which is our target
container? Embedded Weld?
Thanks!
Ivan
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
/max
http://about.me/maxandersen