Re: Best practises in automatic test and deployment

2010-12-06 Thread Mark van Veen
Hi there,

thanks a lot for your suggestions I will have a look at it!

Mark

PS: I searched my mailing on the webinterface at google groups but couldnt
find it. Now I answered via gmail - is there a problem with the web
interface?

2010/12/1 Ray Tayek rta...@ca.rr.com

 At 06:10 AM 12/1/2010, you wrote:

 ... I am looking for some good tools which help me with

 deploying my application automaticly in a tomcat test server and later
 on the production server. ...

 What I am still missing is a automatic way of generating war files
 which are deployed on the test server(with different properties like
 db connection and user)  ,,,


 if you are not already aware of it, this may be of interest:
 http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#Deploying_using_the_Client_Deployer_Package

 thanks

 ---
 co-chair http://ocjug.org/


 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Mit freundlichen Grüßen

Mark van Veen

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Best practises in automatic test and deployment

2010-12-06 Thread Brian Lough
Mark, I would imagine the process you need to develop will dictate your
tools.  If you're just using InteliJ, you need to get Maven, Ant, or
whatever building you project outside it first.  That choice might dictate
which app server you use to test.

On Mon, Dec 6, 2010 at 1:53 AM, Mark van Veen mark.vanv...@gmail.comwrote:

 Hi there,

 thanks a lot for your suggestions I will have a look at it!

 Mark

 PS: I searched my mailing on the webinterface at google groups but couldnt
 find it. Now I answered via gmail - is there a problem with the web
 interface?

 2010/12/1 Ray Tayek rta...@ca.rr.com

 At 06:10 AM 12/1/2010, you wrote:

 ... I am looking for some good tools which help me with

 deploying my application automaticly in a tomcat test server and later
 on the production server. ...

 What I am still missing is a automatic way of generating war files
 which are deployed on the test server(with different properties like
 db connection and user)  ,,,


 if you are not already aware of it, this may be of interest:
 http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#Deploying_using_the_Client_Deployer_Package

 thanks

 ---
 co-chair http://ocjug.org/


 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




 --
 Mit freundlichen Grüßen

 Mark van Veen

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Best practises in automatic test and deployment

2010-12-01 Thread Didier Durand
Hi,

Did you think about using Google App Engine for your unit testing:
it's 1-click deploy (also possible via Ant Task) and no issue in
provisioning hardware and software: Google does it for you.

That what I do to be as fast as possible in my devs and tests.

NB: sql is not usable on GAE but if you use appropriate Data Access
Objects, it's a non issue.

regards

didier

On Dec 1, 3:10 pm, Mark van Veen mark.vanv...@gmail.com wrote:
 Hi,

 I am using GWT now for half a year now and the project is growing and
 growing. Now I am looking for some good tools which help me with
 deploying my application automaticly in a tomcat test server and later
 on the production server. For now I am doing this with the build
 artifacts function of IntelliJ which is good but not what i am looking
 for.

 I already found tools like maven and Hudson CI which could help me
 with that.

 What I am still missing is a automatic way of generating war files
 which are deployed on the test server(with different properties like
 db connection and user) and after the commitment from the test team it
 will deployed on the production server automaticly. Is there something
 or can this handled by maven as well? Furhter i am looking for an
 automatic way of running our sql files when they changed on the db
 server before deploying the gwt application.

 I am not very familiar with these kind of tools so I thought it would
 be a good idea to ask you guys as this should be a challenge for some
 of you.

 Thanks a lot,
 Mark

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Best practises in automatic test and deployment

2010-12-01 Thread Mark van Veen
Hi Didier,

I already thought about that but I cant put our app in the cloud because of
our internal company policies :-(.

regards,
Mark

2010/12/1 Didier Durand durand.did...@gmail.com

 Hi,

 Did you think about using Google App Engine for your unit testing:
 it's 1-click deploy (also possible via Ant Task) and no issue in
 provisioning hardware and software: Google does it for you.

 That what I do to be as fast as possible in my devs and tests.

 NB: sql is not usable on GAE but if you use appropriate Data Access
 Objects, it's a non issue.

 regards

 didier

 On Dec 1, 3:10 pm, Mark van Veen mark.vanv...@gmail.com wrote:
  Hi,
 
  I am using GWT now for half a year now and the project is growing and
  growing. Now I am looking for some good tools which help me with
  deploying my application automaticly in a tomcat test server and later
  on the production server. For now I am doing this with the build
  artifacts function of IntelliJ which is good but not what i am looking
  for.
 
  I already found tools like maven and Hudson CI which could help me
  with that.
 
  What I am still missing is a automatic way of generating war files
  which are deployed on the test server(with different properties like
  db connection and user) and after the commitment from the test team it
  will deployed on the production server automaticly. Is there something
  or can this handled by maven as well? Furhter i am looking for an
  automatic way of running our sql files when they changed on the db
  server before deploying the gwt application.
 
  I am not very familiar with these kind of tools so I thought it would
  be a good idea to ask you guys as this should be a challenge for some
  of you.
 
  Thanks a lot,
  Mark

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Mit freundlichen Grüßen

Mark van Veen

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Best practises in automatic test and deployment

2010-12-01 Thread Hilco Wijbenga
On 30 November 2010 14:45, Gambo mark.vanv...@gmail.com wrote:
 I am using GWT now for half a year now and the project is growing and
 growing. Now I am looking for some good tools which help me with
 deploying my application automaticly in a tomcat test server and later
 on the production server. For now I am doing this with the build
 artifacts function of IntelliJ which is good but not what i am looking
 for.

Indeed, building in your IDE isn't really portable and it certainly
doesn't get you reproducible builds. It's only appropriate for
individual developers.

 I already found tools like maven and Hudson CI which could help me
 with that.

Yes, this combination should be able to do everything you're looking for.

 What I am still missing is a automatic way of generating war files
 which are deployed on the test server(with different properties like
 db connection and user) and after the commitment from the test team it
 will deployed on the production server automaticly. Is there something
 or can this handled by maven as well? Furhter i am looking for an
 automatic way of running our sql files when they changed on the db
 server before deploying the gwt application.

Obviously, Maven can generate your WARs. You'll need to use Maven
profiles to generate different WARs for production and test.
(Actually, you should try *very* hard to take all such properties out
and put them in a separate [i.e. outside of the WAR] file or
something. You really don't want to have to build different artifacts
for different environments.) Also, have a look at the plugins below.

http://mojo.codehaus.org/sql-maven-plugin/
http://maven.apache.org/plugins/maven-release-plugin/
http://maven.apache.org/plugins/maven-deploy-plugin/
http://cargo.codehaus.org/

 I am not very familiar with these kind of tools so I thought it would
 be a good idea to ask you guys as this should be a challenge for some
 of you.

I've done most of what you're trying to do. I generate test data with
the sql-maven-plugin and run my integration (Selenium) tests using the
cargo plugin. I would not say it's easy and completely straightforward
but it's definitely possible. Don't underestimate the amount of work
involved but it's absolutely worth it.

Cheers,
Hilco

P.S. Be prepared for some political battles when/if you're introducing
automation. Some people feel threatened by such a change. You may have
to do some preparatory work to come up with cost savings and point out
the (obvious) efficiency improvements. Talk to all affected parties
early on and get their input. Build support early on. Don't treat it
as a technical issue, it's a people issue.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Best practises in automatic test and deployment

2010-12-01 Thread Ray Tayek

At 06:10 AM 12/1/2010, you wrote:

... I am looking for some good tools which help me with
deploying my application automaticly in a tomcat test server and later
on the production server. ...
What I am still missing is a automatic way of generating war files
which are deployed on the test server(with different properties like
db connection and user)  ,,,


if you are not already aware of it, this may be of interest: 
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#Deploying_using_the_Client_Deployer_Package


thanks

---
co-chair http://ocjug.org/

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.