Re: Jetty not reloading

2018-11-28 Thread Mats Andersson
It seems to be the same problem running the Jetty plugin in IntelliJ, but a workaround if you edit the files inside IntelliJ is to CTRL-s followed by CTRL-9 /Mats On 2018-11-28 13:19, Qbyte Consulting wrote: So it turns out IntelliJ doesn’t copy resources to the target folder. Gotta do a mvn

Re: Jetty not reloading

2018-11-28 Thread Qbyte Consulting
So it turns out IntelliJ doesn’t copy resources to the target folder. Gotta do a mvn compile. Sent from my iPhone > On 28 Nov 2018, at 15:34, Mats Andersson wrote: > > Usually tapestry.production-mode is used to check for updates less often so > how can that help? > > Maybe tapestry.file-che

Re: Jetty not reloading

2018-11-28 Thread Dmitry Gusev
Yeah, sorry, I wasn't clear, the tapestry.production-mode should be FALSE in development mode. On Wed, Nov 28, 2018 at 11:34 AM Mats Andersson wrote: > Usually tapestry.production-mode is used to check for updates less often > so how can that help? > > Maybe tapestry.file-check-interval is defin

Re: Jetty not reloading

2018-11-28 Thread Mats Andersson
Usually tapestry.production-mode is used to check for updates less often so how can that help? Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which should be enough in development. Also, make sure resources are actually copied to the target directory when they are chang

Re: Jetty not reloading

2018-11-28 Thread Dmitry Gusev
Hi! Make sure you have tapestry.production-mode=true set in one of your tapestry modules, or set in the system properties section in your pom.xml. Execution mode only specifies a list of additional tapestry modules (usually just one) for runtime configuration. On Wed, Nov 28, 2018 at 6:12 AM Qby

Re: Jetty or NetBeans issue?

2014-03-28 Thread John
NetBeans 8 on Java 8 with 1.7 compiler for project, Tapestry 5.3.6, Jetty 6 - now I'm thinking the Java 8 may be a problem! - Original Message - From: Boris Horvat To: Tapestry Users Sent: Friday, March 28, 2014 10:06 AM Subject: Re: Jetty or NetBeans issue? No problem

Re: Jetty or NetBeans issue?

2014-03-28 Thread Boris Horvat
No problem here as well. What versions are you using? On 28 Mar 2014 10:00, "Rural Hunter" wrote: > I use netbeans+maven+tomcat+tapestry and there is no problem. > > 于 2014/3/28 16:51, John 写道: > >> I run my dev server using a Maven goal under NetBeans. Quite often Jetty >> becomes completely unr

Re: Jetty or NetBeans issue?

2014-03-28 Thread Rural Hunter
I use netbeans+maven+tomcat+tapestry and there is no problem. 于 2014/3/28 16:51, John 写道: I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running in NetBeans, or something to do with Tapestry? John --- This

Re: Jetty or NetBeans issue?

2014-03-28 Thread Chris Mylonas
Hi If u just run mvn jetty:run >From the command line it will eliminate the netbeans component. Cm On 28/03/2014 7:51 pm, "John" wrote: > I run my dev server using a Maven goal under NetBeans. Quite often Jetty > becomes completely unresponsive. > > Is this a problem of Jetty running in NetBean

Re: Jetty/Tappestry for different class locations?

2013-10-18 Thread Martin Kersten
I am unsure. I had problems detecting my test classes while running inside a jetty. I solved this issue by using some kind of a directory bundle (lame name but hadnt found something better yet). Since I saw this in the plastic IOC part I guess tapestry also can deal with fragmented classpath direct

Re: Jetty/Tappestry for different class locations?

2013-10-18 Thread Thiago H de Paula Figueiredo
On Fri, 18 Oct 2013 11:22:40 -0300, Martin Kersten wrote: I have the problem that all those projects render the classes to: parent.project/classes web.project/classes using maven jetty:run gets all those classes copied to a new location what makes the startup dead slow (several seconds).

Re: Jetty/Tappestry for different class locations?

2013-10-18 Thread Martin Kersten
I have the problem that all those projects render the classes to: parent.project/classes web.project/classes using maven jetty:run gets all those classes copied to a new location what makes the startup dead slow (several seconds). I use an emebedded jetty where I just give the webapp directory lo

Re: Jetty/Tappestry for different class locations?

2013-10-18 Thread Muhammad Gelbana
I'm not sure what you're trying to do but I think you are looking for a way to load specific Tapestry modules. I use this "tapestry.modules" i.e. -Dtapestry.modules=my.app.AppModule,my.other.app.TestModule *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Thu, Oc

Re: Jetty Restarts every time i save

2011-11-16 Thread Dragan Sahpaski
Hi, If you are using 5.3. than live class realoading is turned off in production mode [1]. Please check if SymbolConstants.PRODUCTION_MODE is false in your contributeApplicationDefaults method in your IOC Module (AppModule by default). something like public static void contributeApplicationDefau

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Trsvax, I when i turned off scanning or set interval to a very high number, tapestry live classloading didnt work. Josh. On Wed, Nov 16, 2011 at 11:10 PM, trsvax wrote: > The latest version of runJettyrun has an option to scan the project for > changes and restart. I think the default is 5 sec

Re: Jetty Restarts every time i save

2011-11-16 Thread trsvax
The latest version of runJettyrun has an option to scan the project for changes and restart. I think the default is 5 seconds. For Tapestry you want to turn it off. I think it's on the Jetty table after you pick run configurations. -- View this message in context: http://tapestry.1045711.n5.nabb

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Thanks guys. I ended up using mvn jetty:run and making neccesary changes to eclipse. Everything is working fine. Josh. On Wed, Nov 16, 2011 at 9:32 PM, Juan Alba wrote: > If you are using maven you can try something like this in the application > pom: > > > > > org.mortbay.jetty > jetty-mave

Re: Jetty Restarts every time i save

2011-11-16 Thread Juan Alba
If you are using maven you can try something like this in the application pom: org.mortbay.jetty jetty-maven-plugin manual On Wed, Nov 16, 2011 at 3:29 PM, Josh Kamau wrote: > May be its because am using eclipse 3.7(Indigo). I can al

Re: Jetty Restarts every time i save

2011-11-16 Thread Thiago H. de Paula Figueiredo
On Wed, 16 Nov 2011 16:08:40 -0200, derkoe wrote: I think live reloading doesn't work when starting with "mvn jetty:run" It does, but you need to change the project configuration in Eclipse to not exclude /src/main/resources/** from being copied to the classpath when a file is changed.

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
May be its because am using eclipse 3.7(Indigo). I can also remember making it work months ago. On Wed, Nov 16, 2011 at 9:26 PM, Michael Gentry wrote: > On Wed, Nov 16, 2011 at 1:08 PM, derkoe > wrote: > > I think live reloading doesn't work when starting with "mvn jetty:run" > > That's almost a

Re: Jetty Restarts every time i save

2011-11-16 Thread Michael Gentry
On Wed, Nov 16, 2011 at 1:08 PM, derkoe wrote: > I think live reloading doesn't work when starting with "mvn jetty:run" That's almost always how I start Jetty (with T5) and it works fine, including live class-reloading. mrg - T

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
I start it from 'Run Configurations' screen. On Wed, Nov 16, 2011 at 9:08 PM, derkoe < tapestry.christian.koeb...@gmail.com> wrote: > > Josh Kamau wrote: > > > > Hi there, > > > > I am learning tapestry using eclipse/jetty/maven. I have followed the > > instructions on the tapestry page. However,

Re: Jetty Restarts every time i save

2011-11-16 Thread derkoe
Josh Kamau wrote: > > Hi there, > > I am learning tapestry using eclipse/jetty/maven. I have followed the > instructions on the tapestry page. However, every time i save on eclipse, > jetty automatically restarts. Is this the ways it is supposed to be? when > i > disable 'scanning' in jetty run

Re: Jetty lock on JS-file [Redux]

2011-09-14 Thread Thiago H. de Paula Figueiredo
On Wed, 14 Sep 2011 18:33:21 -0300, Wechsung, Wulf wrote: Hi Guys, Hi! Please post new discussions in new threads instead of hijacking other unrelated threads. ;) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor

Re: Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-17 Thread Ben Tomasini
This is the initial issue I encountered which prompted me to do the exclusion and explicit dependency declaration for tapestry5-annotations in the first place: http://tapestry.1045711.n5.nabble.com/Gradle-install-and-missing-tapestry-annotations-dependency-td4500534.html As mentioned previously,

Re: Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-17 Thread Ben Tomasini
Thanks. The test scope is a copy-and-paste typo. Removing it did the trick. On Fri, Jun 17, 2011 at 9:52 PM, Josh Canfield wrote: > Ah, I see you're excluding tapestry-annotations, and including > tapestry5-annotations, but only for test scope. Drop that and you > should be gold > > On Fri, Jun

Re: Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-17 Thread Josh Canfield
Ah, I see you're excluding tapestry-annotations, and including tapestry5-annotations, but only for test scope. Drop that and you should be gold On Fri, Jun 17, 2011 at 9:48 PM, Josh Canfield wrote: > From your pom: > >>     >>      org.apache.tapestry >>      tapestry-core >>      ${tapestry-rele

Re: Jetty startup error with 5.3.1-SNAPSHOT in project working before with 5.2.4

2011-06-17 Thread Josh Canfield
>From your pom: >     >      org.apache.tapestry >      tapestry-core >      ${tapestry-release-version} >       >         >                tapestry-annotations >                org.apache.tapestry >         >       >     >     >      org.apache.tapestry >      tapestry5-annotations >      ${tapes

Re: Jetty and live class re-loading (again)

2010-11-26 Thread Kalle Korhonen
Jetty is a fine choice, but Tomcat works just the same for live class reloading: http://tynamo.org/Developing+with+Tomcat+and+Eclipse Kalle On Fri, Nov 26, 2010 at 8:31 AM, Richard Hill wrote: > > Hi All, > > I today have attempted switching from Tomcat to Jetty in order to take > advantage of

Re: Jetty and live class re-loading (again)

2010-11-26 Thread Richard Hill
Of course, having mucked around for over an hour, finally caved in and decided to ask the mailing list, I immediately found the problem: You need to include your web project in the Jetty classpath, not just project dependencies. (This was T5.1 btw) Thanks all -Original Message- From

Re: jetty embeded

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 17:09:51 -0200, Alfonso Quiroga escreveu: Hi! I'm using by now RunJettyRun plugin and works OK (I have my projects managed with M2ECLIPSE -maven-). Now I'm trying to do a StartUp.java, without the jetty plugin... I can't find util doc about this... Take a look at http://

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Thiago H. de Paula Figueiredo
I'm not using any Eclipse plugins: I just wrote a class (I call it Main) in the test sources folder and added Jetty 6.1.14 as a test dependency. My Main class has code in its main() method: Server server = new Server(); Connector connector = new SelectChannelConnector(); connector.setPort(80

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Howard Lewis Ship
I've hit this problem too, on a client's project using RunJettyRun. The solution is to move classpath resources from src/main/java (or equivalent) to src/main/resources (or equivalent) and add src/main/resources as a class folder. Thiis keeps Eclipse from trying to copy the files (from src/main/j

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Luther Baker
I had this same problem - but it was solved with the useFileMappedBuffer=false solution. One difference was that I didn't change /etc/webdefault.xml - I actually copied webdefault.xml into my project and updated my pom file: org.mortbay.jetty maven-jett

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Felix Gonschorek
Hi Inge, one of our developers had the same issues (eclipse, jetty, maven) on windows XP - we tried several configurations (including the disabled jetty lock) without success. the problem disappeared after a fresh install of windows xp; we could not get rid of the problem with in any other wa

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-06 Thread Peter Stavrinides
. - Original Message - From: "Inge Solvoll" To: "Tapestry users" Sent: Wednesday, 7 October, 2009 09:40:36 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Jetty lock on JS-files in classpath breaks eclipse autobuild The file synch approach worked nicely.

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-06 Thread Inge Solvoll
The file synch approach worked nicely. But it would be nice to hear about other and possibly better solutions, as this is a hack that is a bit cumbersome to distribute among our developers... My environment: T5.1.0.5 Eclipse 3.4 Vista 64 bit Java 1.6u17 64 bit Jetty 6.1.12rc1 I have configured j

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-06 Thread Howard Lewis Ship
One option here is to put your non-Java resources into a folder, src/main/resources, and mark that folder as a classes folder (not a source folder). classes folder are simply added to the runtime path with no copying. This is what I do. On Tue, Oct 6, 2009 at 7:59 AM, Peter Stavrinides wrote: > W

Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-06 Thread Peter Stavrinides
What is your exact environment / configuration? - Original Message - From: "Inge Solvoll" To: "Tapestry users" Sent: Tuesday, 6 October, 2009 10:57:30 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Jetty lock on JS-files in classpath breaks eclipse autobuild Hi! I'm having pr

RE: Jetty 6.16 and T5.0.13

2009-08-12 Thread Eldred Mullany
, 2009 12:50 AM To: Tapestry users Subject: Re: Jetty 6.16 and T5.0.13 Use true. You can see a setup that works in the second half of this page: http://jumpstart.doublenegative.com.au/jumpstart4.4/installation.html On 12/08/2009, at 1:32 AM, Fernando Padilla wrote: > So.. read the exception st

Re: Jetty 6.16 and T5.0.13

2009-08-11 Thread Geoff Callender
Use true. You can see a setup that works in the second half of this page: http://jumpstart.doublenegative.com.au/jumpstart4.4/installation.html On 12/08/2009, at 1:32 AM, Fernando Padilla wrote: So.. read the exception stack trace fully.. If down at the bottom it talks about slf4j or some lo

Re: Jetty 6.16 and T5.0.13

2009-08-11 Thread Fernando Padilla
So.. read the exception stack trace fully.. If down at the bottom it talks about slf4j or some logging issue.. then it's because Jetty purposefuly hides the slf4j libraries from tapestry (because jetty ships with slf4j for itself ) and you have to add a particular vmarg to fix that. At least

Re: Jetty 6.16 and T5.0.13

2009-08-11 Thread Bryan Lewis
I'm building Tapestry 5.0.18 apps in Eclipse with Jetty with no problem. What plugin are you using to run jetty in eclipse? At first I tried JettyLauncher because it was recommended in the Tapestry tutorial (for older versions of Jetty and Eclipse), but I got ClassNotFoundExceptions when running w

Re: Jetty 6.16 and T5.0.13

2009-08-11 Thread Thiago H. de Paula Figueiredo
Em Tue, 11 Aug 2009 02:56:27 -0300, Eldred Mullany escreveu: Hi All Hi! I am having a strange problem with an old t5.0.13 app and jetty. When I startup the application in Eclipse it shows that it connects to db, starts up all services etc, however when hit a web page that contains any com

Re: Jetty 6.16 and T5.0.13

2009-08-11 Thread Sebastian Hennebrueder
Eldred Mullany schrieb: Hi All I am having a strange problem with an old t5.0.13 app and jetty. When I startup the application in Eclipse it shows that it connects to db, starts up all services etc, however when hit a web page that contains any component such as throws an exception java.la

Re: jetty and intellij

2009-03-15 Thread Luther Baker
Thanks for all the suggestions. I'll try these out Monday morning. -Luther On Sat, Mar 14, 2009 at 7:29 PM, Angelo Chen wrote: > > Hi, > > I have similar problem in 8.0, but when I upgraded to 8.1, it went away, my > config is very simple, just add a Maven configuration, add jetty:run, > that's

Re: jetty and intellij

2009-03-14 Thread Angelo Chen
Hi, I have similar problem in 8.0, but when I upgraded to 8.1, it went away, my config is very simple, just add a Maven configuration, add jetty:run, that's all. I did not do this, but might worth trying: settings/compiler/resources patterns add ?*.tml; actually when I switch to Maven config

Re: jetty and intellij

2009-03-14 Thread Richard Clark
On Fri, Mar 13, 2009 at 2:28 PM, Luther Baker wrote: > In this specific case, I was just looking for the magic flag inside of > IntelliJ to push changes out ... not complaining about it. The wiki page also has the procedure to make reloading work with Jetty. It's a combination of running with an

Re: jetty and intellij

2009-03-14 Thread Otho
Just make a second run config with only "compile" as maven goal. 2009/3/13 Luther Baker > Hey Howard, > > > I know I must be missing a setting in IntelliJ - thoughts? > > Who's complaining? My original post asked for thoughts ... > > The majority of my second post was was in brackets. Don't tak

Re: jetty and intellij

2009-03-13 Thread Luther Baker
Hey Howard, > I know I must be missing a setting in IntelliJ - thoughts? Who's complaining? My original post asked for thoughts ... The majority of my second post was was in brackets. Don't take that too too seriously - your response to my original question - with another question was essential

Re: jetty and intellij

2009-03-13 Thread Howard Lewis Ship
Ok, then, why are you then complaining on the Tapestry mailing list about your Maven stuff not working correctly? I don't mean to be insulting ... I'm just saying that the myth of Maven seems to far outdistance the reality. It's always just one more little tweak, one more refactoring, one more up

Re: jetty and intellij

2009-03-13 Thread Luther Baker
Thanks Richard. That helps and I'll take a look ... One build process. Cross platform. IDE agnostic. That is our motto. Our continuous integration / build process is IDE agnostic. Maven builds, runs and tests the app on Unix servers, windows boxes and Macs. Additionally, NetBeans has native supp

Re: jetty and intellij

2009-03-13 Thread Richard Clark
P.S. http://wiki.apache.org/tapestry/Tapestry5_Run_Jetty_From_IDEA (5 minutes and 2 page loads later) - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: jetty and intellij

2009-03-13 Thread Richard Clark
On Fri, Mar 13, 2009 at 10:43 AM, Howard Lewis Ship wrote: > Why do people use jetty:run in IDEA when there's a very good IntelliJ > plugin that runs Jetty perfectly for Tapestry applications? Simplicity, I suspect. (There are setup instructions for the Jetty plugin on the wiki, however.) BTW, d

Re: jetty and intellij

2009-03-13 Thread Howard Lewis Ship
Why do people use jetty:run in IDEA when there's a very good IntelliJ plugin that runs Jetty perfectly for Tapestry applications? On Fri, Mar 13, 2009 at 8:45 AM, Luther Baker wrote: > I just fired up a new download of IntelliJ 8.1. Haven't used it much - so > pulled an existing Maven/Tapestry pr

Re: jetty, tapestry and realms

2009-03-09 Thread Peter Stavrinides
It is easy to get this to work in Tomcat, Jetty should be similar... In Tomcat all you nee is two things: 1. A JDBC realm defined in server.xml 2. A role in web.xml BASIC My App Users

Re: jetty, tapestry and realms

2009-03-08 Thread Thiago H. de Paula Figueiredo
Em Sun, 08 Mar 2009 23:55:54 -0300, Luther Baker escreveu: Do Maven, Jetty, Realms and Tapestry play nice out of the box? Maven does not affects this because it is a buid tool. I don't think Tapestry affects this too, as, AFAIK, realms are handled at servlet container level, before any

Re: jetty

2008-10-04 Thread Luther Baker
Thanks .. that works. I wasn't sure what HAD to be in the webdefault.xml file - and since I didn't explicitly download the jetty.jar - I'm still not sure where the embedded MAVEN puts plugins so I just needed to download jetty and look for a complete webdefault.xml file. Once I did that - it was j

Re: jetty

2008-10-04 Thread Sven Homburg
??? add the webdefault.xml to your context path, where your web.xml resists and change the maven jetty plugin configuration like described here http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin and search for the webDefaultXml keyword 2008/10/4 Luther Baker <[EMAIL PROTECTED]> > Thanks!

Re: jetty

2008-10-04 Thread Luther Baker
Thanks! Although .. I'm using the the m2 plugin for Jetty and I'm not sure how easily I can find the pieces referenced in that article. -Luther On Sat, Oct 4, 2008 at 1:43 PM, Sven Homburg <[EMAIL PROTECTED]>wrote: > seems you use jetty under windows, so look here > http://docs.codehaus.org/dis

Re: jetty

2008-10-04 Thread Sven Homburg
seems you use jetty under windows, so look here http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows 2008/10/4 Luther Baker <[EMAIL PROTECTED]> > Per some earlier posts: I successfully configured eclipse to run jetty (mvn > jetty:run) and its is blazing! BMW M5 was no lie. > > But havin

Re: Jetty 6 / Tapestry 4 sample code?

2006-09-27 Thread Jesse Kuhnert
You'll find that all of the demo applications (workbench / timetracker ) in tapestry4 all use iddy bitty little jetty.xml conf files to run them off of as well. It's weird finding the right configuration at first but then copying + pasting is a cinche ;) On 9/27/06, D&J Gredler <[EMAIL PROTECTED]

Re: Jetty 6 / Tapestry 4 sample code?

2006-09-27 Thread D&J Gredler
I was able to do this recently without too much trouble by studying this code (though I use HtmlUnit as the client, rather than Selenium): http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?view=markup http://svn