NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
charles.bosquet
Joined: 27 Feb 2010 Posts: 3
|
Posted: Sat Feb 27, 2010 4:47 pm Post subject: Compile on save support on maven war project |
|
|
Compile on save on maven war project will be supported ?
Actually .class files are copied in target/classes but in a war project i think files should be also copied in target/appname/WEB-INF/classes.
Best regards
Charles
|
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Sun Feb 28, 2010 8:01 pm Post subject: Compile on save support on maven war project |
|
|
I haven't tried for a while, but I think it should be generally working for web projects. If I recall correctly, it also depends on the server you deploy to, not all app servers support deploy on save.
Milos
On Sat, Feb 27, 2010 at 5:47 PM, charles.bosquet <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Compile on save on maven war project will be supported ?
Actually .class files are copied in target/classes but in a war project i think files should be also copied in target/appname/WEB-INF/classes.
Best regards
Charles
|
|
|
| Back to top |
|
 |
charles.bosquet
Joined: 27 Feb 2010 Posts: 3
|
Posted: Mon Mar 01, 2010 10:45 pm Post subject: Re: Compile on save support on maven war project |
|
|
I deploy my application on Tomcat 6 server using Run or Debug menu on Netbeans 6.x.
I think that it can't work because the application server use classes that are in target/artifactId/WEB-INF/classes but "compile on save" copy classes only in target/classes folder.
I have attached a very simple sample project to show the case.
Charles
| Milos Kleint wrote: | I haven't tried for a while, but I think it should be generally working for web projects. If I recall correctly, it also depends on the server you deploy to, not all app servers support deploy on save.
Milos
On Sat, Feb 27, 2010 at 5:47 PM, charles.bosquet <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Compile on save on maven war project will be supported ?
Actually .class files are copied in target/classes but in a war project i think files should be also copied in target/appname/WEB-INF/classes.
Best regards
Charles
|
|
| Description: |
|
 Download |
| Filename: |
CompileOnSaveTest.zip |
| Filesize: |
4.83 KB |
| Downloaded: |
59 Time(s) |
|
|
| Back to top |
|
 |
Milos Kleint Posted via mailing list.
|
Posted: Tue Mar 02, 2010 7:28 am Post subject: Compile on save support on maven war project |
|
|
Please file it as an issue, however I'm not sure if deploy on save is supported on tomcat. We will have to discuss in the issue with server plugins people.
Milos
On Mon, Mar 1, 2010 at 11:46 PM, charles.bosquet <address-removed ([email]address-removed[/email])> wrote:
| Quote: | I deploy my application on Tomcat 6 server using Run or Debug menu on Netbeans 6.x.
I think that it can't work because the application server use classes that are in target/artifactId/WEB-INF/classes but "compile on save" copy classes only in target/classes folder.
I have attached a very simple sample project to show the case.
Charles
Milos Kleint wrote:
| Quote: | I haven't tried for a while, but I think it should be generally working for web projects. If I recall correctly, it also depends on the server you deploy to, not all app servers support deploy on save.
Milos
|
| Quote: | On Sat, Feb 27, 2010 at 5:47 PM, charles.bosquet <address-removed (address-removed)> wrote:
| Quote: | Compile on save on maven war project will be supported ?
Actually .class files are copied in target/classes but in a war project i think files should be also copied in target/appname/WEB-INF/classes.
Best regards
Charles
|
|
Attachments:
http://forums.netbeans.org//files/compileonsavetest_181.zip
|
|
|
| Back to top |
|
 |
rdehuyss
Joined: 02 Mar 2010 Posts: 1
|
Posted: Tue Mar 02, 2010 9:30 am Post subject: Would be great! |
|
|
Did you log the issue? If so, where can I vote for it?
This would indeed be great - it's the only thing keeping me and my colleagues to use Eclipse.
Best regards,
Ronald
|
|
| Back to top |
|
 |
charles.bosquet
Joined: 27 Feb 2010 Posts: 3
|
Posted: Tue Mar 02, 2010 7:19 pm Post subject: Re: Would be great! |
|
|
I filed the issue
You will find it on http://netbeans.org/bugzilla/show_bug.cgi?id=181444
I am glad to see that you have wrotten what I did not wrote...
Charles
| rdehuyss wrote: | Did you log the issue? If so, where can I vote for it?
This would indeed be great - it's the only thing keeping me and my colleagues to use Eclipse.
Best regards,
Ronald |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|