Search the web
Sign In
New User? Sign Up
jetty-discuss · Jetty Discussion
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
maven2 plugin, windows still locking.   Message List  
Reply | Forward Message #7519 of 8501 |
(warning: i think my original reply was filtered, i'm posting it again,
sorry for this)

Hello Jan,

On 6/2/06, Jan Bartel <janb@...> wrote:
>
> jetty-6.0.0beta17 - 1/6/2006
> + Added option to disable memory mapped file buffers for windows


is this option also compatible when using maven2 jetty6 plugin ? it doesn't
seem to be working.

In fact, this is how I modified my pom.xml (the relevant parts only):
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty6-plugin</artifactId>
<version>6.0-SNAPSHOT</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webDefaultXml>${ jetty.webdefaultxml}</webDefaultXml>
</configuration>
</plugin>
....
<profile>
<id>jetty-win</id>
<activation>
<property>
<name>env</name>
<value>win</value>
</property>
</activation>
<properties>
<jetty.webdefaultxml
>src/main/resources/webdefault.xml</jetty.webdefaultxml>
</properties>
</profile>

I extracted from the beta17 archive the original webdefault.xml file, and
properly modified according to
http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows

Then I launch jetty with:
mvn -Devn=win jetty6:run

scanning the log, i can see something like:

1. [INFO] Web defaults = c:\Documents and
Settings\valerio\workspace\commercialisti\src\main\resources\webdefault.xml

the above log should confirm that the webDefaultXml properties is being
used.

Unfortunatly, i'm still facing the infamous lock problem. What is the best
thing I can do to help you better understand the problem ?

thanks,
Valerio

--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

----------


----------

_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss


[Non-text portions of this message have been removed]




Wed Jun 7, 2006 8:05 am

jetty-discuss@...
Send Email Send Email

Forward
Message #7519 of 8501 |
Expand Messages Author Sort by Date

(warning: i think my original reply was filtered, i'm posting it again, sorry for this) Hello Jan, ... is this option also compatible when using maven2 jetty6...
Valerio Schiavoni
jetty-discuss@...
Send Email
Jun 7, 2006
10:18 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help