Hi there tth
I'm really not sure how active this list is anymore - there hasn't been a post
in a long time and as far as I am aware the Melbourne group is not more. I would
suggest you post to the main groovy users mailing list - it's pretty active over
there and people are very helpful.
Can anyone tell me what has happened to Groovy Melbourne?? If nothing is
happening, it might be best to remove the entry from grails.org as it's a little
misleading to people.
If someone in Melbourne wants to kickstart the group - please do! Our Queensland
(Brisbane) meetups are going quite well and we have a really nice vibrant
community. I am currently trying to organise a GrBof to coincide with the OSDC
(http://2009.osdc.com.au) that is happening in Brisbane in November - you are
all welcome if you anyone feels like a trip up north to renew your grooviness
and also attend an awesome conference (best $300 you will ever spend!).
Steve Dalton
Groovy Grails Queensland
--- In groovy-melbourne@yahoogroups.com, "tth_1" <tth_1@...> wrote:
>
> Hello everyone,
>
> I embedded groovy into my application, and I want to access an Oracle database
through my groovy script.
>
> The problem is that I am getting a "java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver" error from my groovy script - but I'm not sure
why.
> Any idea how i can get this to work or some instructions that points to how i
can accomplish this?
>
> This is what I did:
> 1) from my GroovyClassLoader I added the ojdbc6.jar to my classpath ie.
groovyClassLoader.addClasspath(pathToOjdbc6.jar);
> 2) in my groovy script: I imported the oracle.jdbc.driver package ie.
>
> import oracle.jdbc.driver.*
>
> 3) in my groovy script: created an OracleDriver class ie.
>
> oracle.jdbc.driver.OracleDriver myOracleDriver = new
oracle.jdbc.driver.OracleDriver();
>
> this was to check whether I have access to the classes in ojdbc6.jar. (it did
indeed work correctly)
>
> 4. in my groovy script: i try to execute the following code:
>
> def db = Sql.newInstance(
myURL,myUser,myPassword,"oracle.jdbc.driver.OracleDriver");
>
> then i get a "java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver" thrown.
>
> Any ideas?
>
> Help is very much appreciated. I have been stuck on this issue for a while.
>
> Note that I am using groovy embedded in my application (running it using
"regular" nonembedded groovy ie. groovyConsole seems to work ok).
>
> Thank you!
>
Hello everyone,
I embedded groovy into my application, and I want to access an Oracle database
through my groovy script.
The problem is that I am getting a "java.lang.ClassNotFoundException:
oracle.jdbc.driver.OracleDriver" error from my groovy script - but I'm not sure
why.
Any idea how i can get this to work or some instructions that points to how i
can accomplish this?
This is what I did:
1) from my GroovyClassLoader I added the ojdbc6.jar to my classpath ie.
groovyClassLoader.addClasspath(pathToOjdbc6.jar);
2) in my groovy script: I imported the oracle.jdbc.driver package ie.
import oracle.jdbc.driver.*
3) in my groovy script: created an OracleDriver class ie.
oracle.jdbc.driver.OracleDriver myOracleDriver = new
oracle.jdbc.driver.OracleDriver();
this was to check whether I have access to the classes in ojdbc6.jar. (it did
indeed work correctly)
4. in my groovy script: i try to execute the following code:
def db = Sql.newInstance(
myURL,myUser,myPassword,"oracle.jdbc.driver.OracleDriver");
then i get a "java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver"
thrown.
Any ideas?
Help is very much appreciated. I have been stuck on this issue for a while.
Note that I am using groovy embedded in my application (running it using
"regular" nonembedded groovy ie. groovyConsole seems to work ok).
Thank you!
I just wanted to let you know that there is a Sydney Groovy/Grails meet being planned for the 4th of Dec while OSDC is on. I'll be doing a short talk on Grails and would be happy to speak on anything that people want to know.
So if any of you are coming to Sydney for OSDC, put a note in your calendar for the Thursday night.
This weeks Java User Group meeting has a certain touch of Groovy about it. John Smart will be speaking on Behavior Driven Development (BDD) in Java with easyb
(easyb specifications are written in Groovy).
As the business war on the air is hotting up with so many low-budget
airlines dominating the sky, the passengers can now enjoy the best
deals. The webguide - http://air.myguideforlife.com - helps you find
the cheapest and even free air tickets to make your journey ore
happier and very less expensive.
Visit the website now to find out how to get the cheap and free air
tickets: http://air.myguideforlife.com
Perhaps of interest to the group is that John Smart, the author of
"Java Power Tools", will be talking to the Java User Group on the
topic of "Behavior Driven Development (BDD) in Java with easyb" in
September.
easyb is groovy powered. The date is the 25th September. The details
can be found on the Java User Group home page:
https://victorianjug.dev.java.net/
Martin
Thursday 25th September
On Fri, Aug 1, 2008 at 6:16 PM, lessa.fabio <flessa@...> wrote:
> Hi everyone,
>
> I've just moved to Melbourne, and as a new Groovy enthusiast, I've
> decided to join the group. Is the group still meeting regularly?
>
> Cheers,
>
> Fabio
>
>
--
==================================================================
Martin Paulo, BSc.
Software Developer
Tel : +61-3-9434 2508 (Home)
Tel : 04 205 20339 (Mobile)
Site: http://www.thepaulofamily.net
Web Log: http://radio.weblogs.com/0130781/
"Nobody goes there any more. It's too crowded" - Yogi Berra.
Unfortunately the group is pretty inactive, I joined a
couple of months ago and have only seen a couple of
posts...
--- "lessa.fabio" <flessa@...> wrote:
> Hi everyone,
>
> I've just moved to Melbourne, and as a new Groovy
> enthusiast, I've
> decided to join the group. Is the group still
> meeting regularly?
>
> Cheers,
>
> Fabio
>
>
Win a MacBook Air or iPod touch with Yahoo!7.
http://au.docs.yahoo.com/homepageset
Hi everyone,
I've just moved to Melbourne, and as a new Groovy enthusiast, I've
decided to join the group. Is the group still meeting regularly?
Cheers,
Fabio
Good evening (at lest when I write this) I'm very new to Groovy on
Grails, my future father-in-law got me interested in it. Thank you for
letting me join your user group, I was wondering if you meet and if so
when, also what are the levels of knowledge for Groovy within the
membership?
IntelliJ is definitely the tool to use for developing Groovy and in particular
Grails apps. I
have used eclipse before and it is pretty good, and I have plaid with Netbeans
which is
improving, but IntelliJ has all the nice things that you want such as
re-factoring.
It also supports lots of the Gant scripts within the environment for doing
Grails work such
as creating controllers, domains and services etc. It is also very cool how it
knows all the
related assets when working within a certain file - such as all views and
controllers being
1 click away when working with the domain class.
Well worth the investment for the time it will save you..
RJ
--- In groovy-melbourne@yahoogroups.com, "Shravan Gurrala" <shravan.g@...>
wrote:
>
> Hi Martin and all New to Groovy,
> Am new to groovy and i find GroovyConsole very handy when i want to try out
> few
> snippets. If you are doing more serious programming i would looking into
> IntelliJ.
> If you are a poor programmer like me then i think Eclipse is a good option
> even though
> its not as fancy as IntelliJ....there is not much there if a text editor
> like ultraedit or jedit
> doesn't cut.
>
> BTW: The groovy podcast was very good. Thanks for that.
> cheers
> Shravan
>
> On Wed, Apr 23, 2008 at 9:42 PM, Martin Paulo <martin.paulo@...>
> wrote:
>
> > Hi all
> >
> > Lots of "ands", but: anyone who is not on the VJUG mailing list, and who
> > missed Brents talk to the Groovy User Group on the Meta-Object Protocol
> > might like to see him reprise it tomorrow night to the VJUG.
> >
> > Details can be found here:
> > https://victorianjug.dev.java.net/2008/April/April.html
> >
> > There is a copy of Intellij being given away, which reminds me: IDEA have
> > just released an update to their Groovy/Grails plugin. This may be of
> > interest to this group. Details can be found here:
> > http://www.jetbrains.com/idea/features/groovy_grails.html?nl
> >
> > And the question: being new to Grails/Groovy, what tools are you all using
> > for Groovy/Grails work?
> >
> > Thanks
> > Martin
> >
> >
> > --
> >
=======================================================
===========
> >
> > Martin Paulo, BSc.
> > Software Developer
> >
> > Tel : +61-3-9434 2508 (Home)
> > Tel : 04 205 20339 (Mobile)
> > Site: http://www.thepaulofamily.net
> > Web Log: http://radio.weblogs.com/0130781/
> >
> > "Nobody goes there any more. It's too crowded" - Yogi Berra.
> >
> >
>
Hi Martin and all New to Groovy, Am new to groovy and i find GroovyConsole very handy when i want to try out few snippets. If you are doing more serious programming i would looking into IntelliJ. If you are a poor programmer like me then i think Eclipse is a good option even though
its not as fancy as IntelliJ....there is not much there if a text editor like ultraedit or jedit doesn't cut.
BTW: The groovy podcast was very good. Thanks for that. cheers Shravan
On Wed, Apr 23, 2008 at 9:42 PM, Martin Paulo <martin.paulo@...> wrote:
Hi all
Lots of "ands", but: anyone who is not on the VJUG mailing list, and who missed Brents talk to the Groovy User Group on the Meta-Object Protocol might like to see him reprise it tomorrow night to the VJUG.
There is a copy of Intellij being given away, which reminds me: IDEA have just released an update to their Groovy/Grails plugin. This may be of interest to this group. Details can be found here: http://www.jetbrains.com/idea/features/groovy_grails.html?nl
And the question: being new to Grails/Groovy, what tools are you all using for Groovy/Grails work?
The blurb is:
"Venkat
Subramaniam, author of "Programming Groovy: Dynamic Productivity for
the Java Developer" talks at length with Daniel Steinberg about coding
in Groovy, metaprogramming, and choosing a language. You'll learn when
Groovy is a great choice, and when it's not. Venkat shares how to use
builders to relieve the tedium of XML
processing, explains why metaprogramming is so hard in Java, and why
type-safety isn't what you think. Finally, Venkat explains how
programming is a lot like a chainsaw."
Lots of "ands", but: anyone who is not on the VJUG mailing list, and who missed Brents talk to the Groovy User Group on the Meta-Object Protocol might like to see him reprise it tomorrow night to the VJUG.
There is a copy of Intellij being given away, which reminds me: IDEA have just released an update to their Groovy/Grails plugin. This may be of interest to this group. Details can be found here: http://www.jetbrains.com/idea/features/groovy_grails.html?nl
And the question: being new to Grails/Groovy, what tools are you all using for Groovy/Grails work?
This sounds obvious on reading, but probably a gotcha to people new to Groovy (like me)
When you create a ScriptEngine in Java6 to run Groovy scripts reuse the engine - don't throw it away and create a new one for every script. The full article is at:
As the business war on the air is hotting up with so many low-budget
airlines dominating the sky, the passengers can now enjoy the best
deals. The webguide - http://air.myguideforlife.com - helps you find
the cheapest and even free air tickets to make your journey ore
happier and very less expensive.
Visit the website now to find out how to get the cheap and free air
tickets: http://air.myguideforlife.com
Hello,
Could someone please let me know why this assertion is incorrect. I
hava an Addresss object with three properties. Each time I access the
Address I would like to initialize it with empty strings or keep the
values if they already exist.
class Address
{
String aptNum, poBox, zip
} // Address
class AddressIni
{
Address address;
AddressIni( Address address )
{
this.address = address;
address.aptNum ?: ""
address.poBox ?: ""
}
} // AddressIni
Address address = new Address( aptNum : '300' );
AddressIni ai = new AddressIni(address);
assert "300" == ai.address.aptNum
assert "" == ai.address.poBox ////////// INCORRECT ASSERTION - WHY
Why is the last assertion wrong. I expect the address.poBox property to
be initialized to "" in the AddressIni class. Somehow this does not seem
to happen.
Thanks.
A Groovy New Year to All !
There will not be a user group meeting tonight, 7th Jan 2008.
We will organize a meeting and presentation for the first Monday in
February.
Rgs, James.
All,
The next groovy user group, Mon 3rd December will be presented by
Brent Snook, from Aegeon.
The topic for this month is the Meta Object Protocol, and if you want
to know the awesome
power of groovy then this is a session not to be missed.
If your coming along, please let me know so I can work out the pizza
order.
Rgs James.
The Groovy User Group meeting is on this Monday 12th at 6:30pm.
The topic this month is grails in a nutshell. A quick 101 on what
grails is all about and why you should use it.
We hope to see you there.
Rgs, James
Aegeon, Level 5, 10 Queens Rd, Melbourne.
All,
Monday 5th November is the day before Melbourne Cup Day, so we
are moving the user group to the following Monday, 12th November.
Have a great Cup Day and see you at the user group.
Rgs, James.
Thank you to Dr Paul King and thank you to everyone who attended the
first Melbourne Groovy User group meeting at Aegeon.
We had a good turn out and the slides and video will be posted as soon
as possible.
We look forward to seeing you at the next meeting which is the first
Monday of each month (Monday 5th November).
The topic of the next meeting will be a brief introduction into
grails, an application generation, framework and life-cycle tool,
similar to Ruby's Rails.
Rgs, James.