I was expecting to be able to right click the file and see a 'Run As -
easyb test' or something, but no
what am i supposed to see /do ?
any help is great
thanks
--
You received this message because you are subscribed to the Google Groups "Easyb Users" group.
To post to this group, send email to easyb...@googlegroups.com.
To unsubscribe from this group, send email to easyb-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/easyb-users?hl=en.
To avoid this problem, would it be possible to ensure that the next
version of the plugin is Java 5 compatible?
The easyb eclipse plugin + STS Eclipse version works very well (so
far), though I'm just starting to learn easyb and experiment with it
all.
Ed
On Jan 30, 5:20 am, Andrew Glover <ajglo...@gmail.com> wrote:
> Hi! I haven't used the STS plugin yet; however, I did notice that someone
> got this working --http://twitter.com/summitbid/statuses/8376523574-- what
> version of Eclipse are you using and on what platform? I have noticed issues
> w/Eclipse and mac; however, at a client site where I'm forced to use
> Windows, I can use the Eclipse plugin w/out issue (but I'm not using
> STS)....
>
>
>
>
>
> On Fri, Jan 29, 2010 at 4:18 AM, soda <emmettwa...@gmail.com> wrote:
> > has anyone got the plugin to work in STS ? I have groovy eclipse
> > installed and I have installed the easyb plugin. I have written a
> > easyb test but im not sure exactly how the plugin is supposed to help
> > me to run it. Im not sure if the plugin has installed properly or
> > not.
>
> > I was expecting to be able to right click the file and see a 'Run As -
> > easyb test' or something, but no
>
> > what am i supposed to see /do ?
>
> > any help is great
> > thanks
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Easyb Users" group.
> > To post to this group, send email to easyb...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > easyb-users...@googlegroups.com<easyb-users%2Bunsubscribe@googlegr oups.com>
I'm writing a Grails app and wanted to start experimenting with
easyb, so I installed STS and the easyb plugin
I created a new story in the same package as the domain classes, with
nothing except the scenario, given, when, then closures...and an
ArrayList.
package com.foo.mdta
scenario "Want to test easyb in grails",{
given "nothing in particular",{
al = new ArrayList()
al.add "string here"
println al
}
when "etc...", {
}
then "and the rest", {
}
}
I ran it successfully.
Now I want to instantiate some classes:
package com.foo.mdta
scenario "Want to test easyb in grails",{
given "nothing in particular",{
al = new ArrayList()
al.add "string here"
println al
ch = new ChannelMap()
}
when "etc...", {
}
then "and the rest", {
}
}
It fails with:
Running test easy b story (TestEasyB.story)
There was an error running your easyb story or specification
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed, C:\development\workspace-sts\mdta-rf-
tuning-0299\grails-app\domain\com\foo\mdta\TestEasyB.story: 7: unable
to resolve class ChannelMap
@ line 7, column 8.
1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors
(ErrorCollector.java:296)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits
(CompilationUnit.java:835)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation
(CompilationUnit.java:513)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations
(CompilationUnit.java:489)
at org.codehaus.groovy.control.CompilationUnit.compile
(CompilationUnit.java:466)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:
279)
...
Note that ChannelMap is a class defined in com.foo.mdta.
I must be misunderstanding something fundamental.
thanks
To unsubscribe from this group, send email to easyb-users...@googlegroups.com.
As I mentioend earlier, it must be 6.0+. Anything less and the EasyB
plugin will not run. You will not see anything under "Run As", or
anywhere else. My guess is that this is your problem.
--a
> To unsubscribe from this group, send email to easyb-users...@googlegroups.com.