Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to invoke all project builders?
How to invoke all project builders? [message #178510] Tue, 05 September 2006 06:14 Go to next message
Eclipse UserFriend
Originally posted by: borut.bolcina.gmail.com

Hello,

I am developing a web project (with Tapestry) with WTP 1.5 (Tomcat 5.5).
All is OK, except that this web application is also a RMI client, so
stubs have to be made. RMI compiler (eclipse genady plugin) is invoked
when cleaning the project or on demand, but when I change something in
my running (hot deploy) application, the application gets recompiled on
the fly, but the RMI compiler is not invoked. Is there a way to persuade
WTP to invoke the RMI Builder which is listed and checked in project's
Preferences/Builders?

Regards,
Borut
Re: How to invoke all project builders? [message #178695 is a reply to message #178510] Thu, 07 September 2006 18:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kosta.bea.com

Borut,

It sounds like the problem is with the RMI builder that you are using.
Every builder gets a chance to execute its compilation logic whenever
any resource in a project changes. The builder decides whether to take
any action or not.

- Konstantin
Re: How to invoke all project builders? [message #178829 is a reply to message #178695] Sat, 09 September 2006 18:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: borut.bolcina.gmail.com

When I change Java source and save, this happens

9.9.2006 20:38:40 org.apache.catalina.core.StandardContext reload
INFO: Reloading this Context has started
9.9.2006 20:38:41 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(C:\Documents and
Settings\borutb\Desktop\Workspace\.metadata\.plugins\org.ecl ipse.wst.se
rver.core\tmp0\webapps\post\WEB-INF\lib\servlet-api-2.4.jar) - jar not
loaded. See Servlet Spec 2.3, section 9
..7.2. Offending class: javax/servlet/Servlet.class
INFO [09 sep 2006 20:38:43:765] Initialized application servlet
'posting': 984 millis to create HiveMind Regi
stry, 2.140 millis overall.


and stub class disappears from WEB-INF/classes. I have also Maven2
builder for my project, but of course it doesn't trigger, 'couse it is
only activated with external tools launcher. RMI builder
(http://www.genady.net/rmi/index.html) gets triggered when I do
Project/Clean or right click on project then RMI/Re-generate RMI Stubs.
Even this does not work if Tomcat is running as it immediately deletes
the stub class, so I have to shutdown Tomcat, regenerate stub, start
Tomcat and see changes. Horrible.

I guess I should contact the author of RMI plugin.

Regards,
Borut



On 7.9.2006 20:08, Konstantin Komissarchik wrote:
> Borut,
>
> It sounds like the problem is with the RMI builder that you are using.
> Every builder gets a chance to execute its compilation logic whenever
> any resource in a project changes. The builder decides whether to take
> any action or not.
>
> - Konstantin
Re: How to invoke all project builders? [message #179268 is a reply to message #178829] Mon, 18 September 2006 12:15 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Can you confirm that the stubs disappear even when Tomcat is not
running, i.e. it is the Web Tools publish operation that is making them
disappear?

Cheers,
Larry

Borut wrote:
> When I change Java source and save, this happens
>
> 9.9.2006 20:38:40 org.apache.catalina.core.StandardContext reload
> INFO: Reloading this Context has started
> 9.9.2006 20:38:41 org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO: validateJarFile(C:\Documents and
> Settings\borutb\Desktop\Workspace\.metadata\.plugins\org.ecl ipse.wst.se
> rver.core\tmp0\webapps\post\WEB-INF\lib\servlet-api-2.4.jar) - jar not
> loaded. See Servlet Spec 2.3, section 9
> .7.2. Offending class: javax/servlet/Servlet.class
> INFO [09 sep 2006 20:38:43:765] Initialized application servlet
> 'posting': 984 millis to create HiveMind Regi
> stry, 2.140 millis overall.
>
>
> and stub class disappears from WEB-INF/classes. I have also Maven2
> builder for my project, but of course it doesn't trigger, 'couse it is
> only activated with external tools launcher. RMI builder
> (http://www.genady.net/rmi/index.html) gets triggered when I do
> Project/Clean or right click on project then RMI/Re-generate RMI Stubs.
> Even this does not work if Tomcat is running as it immediately deletes
> the stub class, so I have to shutdown Tomcat, regenerate stub, start
> Tomcat and see changes. Horrible.
>
> I guess I should contact the author of RMI plugin.
>
> Regards,
> Borut
>
>
>
> On 7.9.2006 20:08, Konstantin Komissarchik wrote:
>> Borut,
>>
>> It sounds like the problem is with the RMI builder that you are using.
>> Every builder gets a chance to execute its compilation logic whenever
>> any resource in a project changes. The builder decides whether to take
>> any action or not.
>>
>> - Konstantin
Previous Topic:HTML Editor errors/bugs
Next Topic:Programmatically add a defined JSF component library to a web project
Goto Forum:
  


Current Time: Fri Apr 26 04:07:38 GMT 2024

Powered by FUDForum. Page generated in 0.03429 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top