Oh wow - yeah Ivy is the way to go... Truth be known, with Ivy I can't
quite see the need for Maven at all... I use Maven at work - but I've
always felt like it tries to be too many things at once.
So for me, I use Beanshell and Ant Contrib mostly... Here is my ivy.xml:
On Tue, Jul 21, 2009 at 12:00 PM, Scot P. Floess wrote:
> Of course I am also using Ivy - so it is downloading Jars for me :)
I really need to look at Ivy and see if I can get it working.
I understand the ideas of Maven: You merely describe your project. You
don't have to worry about how to do th
Yeah thats true... I was just thinking of the case where the Java app may
need to be built first - just complexity from that perspective...
I've been known to use Beanshell in my work, but solely because I am
writing a build environment around Ant - and didn't feel like compiling
some Java
On Tue, Jul 21, 2009 at 11:11 AM, Scot P. Floess wrote:
>
> You can probably also script it using beanshell vs writing an external Java
> application.
Just a word of warning: To write beanshell scripts, you need to add in
bsf.jar and bsh.jar into your $ANT_HOME/lib which makes your build
process a
You can probably also script it using beanshell vs writing an external
Java application...
On Tue, 21 Jul 2009, David Weintraub wrote:
Ant can run tasks (which is what you want with JBoss). JBoss
has a Java API that allows you to start, stop, and deploy in it. You
can also use the JBoss API
Ant can run tasks (which is what you want with JBoss). JBoss
has a Java API that allows you to start, stop, and deploy in it. You
can also use the JBoss API to query the server state.
You'll have to write a small Java program to do this for you, but then
you can run it with the task.
If that's
Well, Ant can invoke shell scripts and commands. In your case it would
possibly be invoking the JBoss's stop.sh, followed by calling an Ant target
that moves your WAR into a specified location and finally invoke the run.sh
script for starting the JBoss server.
Look at Ant's task here -
http://ant
I would like to do some remote deployment.
My applications is running within JBoss. This JBoss installation is running
under a java service wrapper.
The things I would like to do is the following:
1] stop java service wrapper (which will automatically stop the JBoss)
2] redeploy new content (WAR