I fixed it locally, but as Codehaus is/was down it hasn't been
committed yet. We are working on getting the repository back
uptodate and it should be ok by tomorrow.
regards
Jan
Brett Porter wrote:
I didn't know there was another version out, but Jan had said it was
fixed in SVN the other day.
Hi Dan,
Jetty6 is actually faster than jetty5. Are you saying it is slower
to start or slow in serving your app? It may be slower to start because
it first needs to build a virtual webapp out of your project.
regards
Jan
Dan Adams wrote:
I used to run my add in jetty 5 using the jettylauncher
Hi Dan,
Try using a dependency for the plugin instead:
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdmaven-jetty6-plugin/artifactId
configuration
...
/configuration
dependencies
dependency
groupId /groupId
artifactId
, but I tried without
server.getThreadPool().join(), and even if it works with junit eclipse
module, it doesn't work with Maven.
Thanks for the site, but I already read it, and it wasn't as clear as
your short exemple.
Jan Bartel a écrit :
Julien,
Sorry, my mistake. You don't need
(SurefireReportGenerator.java:344)
- I would like to run all tests 2 times, with a different parameter,
but without restarting Jetty. And if I can have a clear report that show
the number of success/failure for each value of the parameter, it would
be perfect.
Jan Bartel a écrit :
Julien,
Embedding
Dub,
Your ClassCast exceptions indicate that you have a class that
is loaded by your webapp's classloader (and therefore changes
on each redeploy) but that is set statically on some classes
that are in the system classpath (which doesn't change with
each redeploy).
I recently found a bug in the
that a Jetty6 plugin exists, and I
think it could be a good thing to start jetty before the JUnit tests,
and to stop Jetty after, because it exactly what I want. Do you know a
simple way to do this ?
Thanks
Julien
Jan Bartel a écrit :
Hi Julien.
Jetty 5.x is built by ant, but the artifacts
Hi dub,
The jetty maven plugin is up to release beta14
so I would give that a go and see if it helps
with your memory issue.
We don't currently have any reported issues with
out-of-memory problems for the plugin. The webapp
classloader is ditched and then re-created on
each restart so stuff
Hi Julien.
Jetty 5.x is built by ant, but the artifacts are made available on
ibiblio. The jetty5.x series, whilst the current stable series is
about to be superceded by the 6.x series.
Jetty 6.x is built by maven2 and has full poms with dependencies
listed which maven2 will transitively
Burkhard,
First, as someone else mentioned, please post this on the
[EMAIL PROTECTED] However, while we're
all here
What is going on inside the login jsp? Looks like some instance of a
class that is loaded by the webapp class loader is being set on
a class that is loaded from the system
Rolf,
FYI.
I have added your instructions for running the jetty plugin
under the eclipse debugger as a FAQ entry on the jetty6
site at:
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
I've credited your name.
regards
Jan
Rolf Strijdhorst wrote:
David,
Sorry for the very late response. I've made some changes to the
maven-jetty6-plugin recently that will make it a lot easier to
substitute logging at runtime.
Currently, this is only checked in to svn, but I will push a snapshot
later today.
Here's a snippet from the documentation:
Wayne,
Does offline mode help?
mvn jetty6:run -o
cheers
Jan
Wayne Fay wrote:
Just generate them! ;-)
No really, this has been annoying to me as well... Not sure how we've
got artifacts in the official Maven repo without corresponding poms,
but I have noticed this for all (??) Tomcat
Apologies for the noise, but as there's been some
discussion about the jetty6 plugin lately I thought
it may be useful to post this here:
A new snapshot release 20060111.124832-7 is available of Jetty6 and the
maven-jetty6-plugin from http://www.mortbay.com/maven2/snapshot/
The
,
Brett
On 12/1/05, Jan Bartel [EMAIL PROTECTED] wrote:
Brett,
The Jetty project has it's own Maven2 plugin. However, there doesn't
seem to be a central page on the Maven site listing all of the known
plugins. For that reason alone, I was considering having to move the
Jetty plugin across
Brett,
The Jetty project has it's own Maven2 plugin. However, there doesn't
seem to be a central page on the Maven site listing all of the known
plugins. For that reason alone, I was considering having to move the
Jetty plugin across to codehaus, even though it's natural home
is within the Jetty
to manipulate the expected filename, but
I guess that won't work since the webapp directory is src/main/ webapp.
Thanks,
-Ralph.
On 03.11.2005, at 12:37, Jan Bartel wrote:
Hi Ralph,
I've linked the doco for the plugin onto the Jetty site. You can
go directly to it here:
http://jetty.mortbay.org/jetty6
to manipulate the expected filename,
but I guess that won't work since the webapp directory is src/main/
webapp.
Thanks,
-Ralph.
On 03.11.2005, at 12:37, Jan Bartel wrote:
Hi Ralph,
I've linked the doco for the plugin onto the Jetty site. You can
go directly to it here:
http
/
webapp. Running mvn war:inplace works, but feels rather clumsy. I adds
files to src that aren't sources, and I have to make sure I don't
accidentally add them to svn.
Cheers,
-Ralph.
On 02.11.2005, at 19:31, Jan Bartel wrote:
Ralph,
Try putting the following in your pom.xml
Siegfried,
Here's a link to writing a plugin in Java:
http://maven.apache.org/maven2/guides/plugin/guide-java-plugin-development.html
And here's a link to the API:
http://maven.apache.org/maven2/developers/mojo-api-specification.html
regards,
Jan
Siegfried Heintze wrote:
Is there any
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Bartel
Sent: Thursday, November 03, 2005 8:30 AM
To: users@maven.apache.org
Subject: Re: Documentation for writing Pluggins for M2?
Siegfried,
Here's a link to writing a plugin in Java:
http://maven.apache.org/maven2/guides/plugin/guide-java-plugin
Ralph,
Just a suggestion: if you want to run your webapp without having to create a
war first,
you could try the Jetty6 plugin. It is extremely lightweight, you
don't have to have any external config files for it, plus it will automatically
hot-redeploy your webapp whenever you change any class
repository mirrored to the
central
Maven2 repository?
cheers
Jan
Ralph Pöllath wrote:
On 02.11.2005, at 16:55, Jan Bartel wrote:
Ralph,
Just a suggestion: if you want to run your webapp without having to
create a war first,
you could try the Jetty6 plugin. It is extremely lightweight, you
FYI,
I've created a new plugin that runs Jetty6 on a Maven war project
without first requiring that the project is built into a war or
exploded war. This allows you to develop in an IDE and to avoid
having to run the mvn packaging step to test.
But the really useful feature of this plugin is
On 28/10/05, Jan Bartel [EMAIL PROTECTED] wrote:
FYI,
I've created a new plugin that runs Jetty6 on a Maven war project
without first requiring that the project is built into a war or
exploded war. This allows you to develop in an IDE and to avoid
having to run the mvn packaging step to test
(DefaultPluginManager.java:417)
[..snip..]
My project looks like:
/helloworld
pom.xml
/src/main/java/sample/plugin
GreetingMojo.java
Again, pom.xml and GreetingMojo.java are straight from the website.
If someone could point me in the right direction I'd be grateful.
thanks
Jan Bartel
Jason,
Overnight I checked out svn head of Maven and built it and the
plugin generator is now working fine.
Thanks
Jan
Jason van Zyl wrote:
On Wed, 2005-10-19 at 16:31 +0200, Jan Bartel wrote:
Hi,
Using the 2.0-beta-3 release of Maven, I'm trying to create a Java
plugin. I've tried just
27 matches
Mail list logo