|
Re: Problem with republish not getting triggered [message #652949 is a reply to message #652886] |
Mon, 07 February 2011 17:32 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
On 2/7/2011 8:18 AM, Erik wrote:
> I have a most annoying situation in Eclipse / Tomcat.
>
> The situation i am used to is this:
> - Change a Java code file
> - Save the file
> - Right click project and build
>
> If the Tomcat server is not running its status changes from synchronised
> to republish
> If the Tomcat server is running a republish automatically happens within
> a few seconds.
> Just the way i want it.
>
> Unfortunately i had a disk crash and i have had to switch to a different
> laptop and re-install everything. The new situation i'm working in is this:
>
> - Change a Java code file
> - Save the file
> - Right click project and build
>
> No effect on the server wether its running or not.
>
> The weird thing is that i can only trigger a republish with this
> sequence of actions:
>
> - Change a Java code file
> - Save the file
> - Right click project and build
> - Change a Java code file again, even a dummy change like add a space
> - Save the file
>
> Then, and only then, is there an effect.
> If the server is not running the status changes from synchronised to
> republish.
> If it is running the status also cahnges from synchronised to republish
> but the actual republish does not occer.
> The weird part being that even the rebuild does not trigger the
> republish, only the second edit and save of the code file.
>
>
> I have installed:
> Version: Helios Service Release 1 Build id: 20100917-0705
> Tomcat: Version 6.0.30
> When examining the server settings there is a section called
> "Publishing" , i have that set to "Automatically republish after a build
> event" with interval of 0 (zero) seconds
>
> Anyone got any idea what's going on and what setting or log files i
> might examine to get it working back with a simple automatic republish
> after each build.
Just to make sure, is Project -> Build Automatically still enabled? In
case it helps, right-clicking on the server in the Servers view and
selecting "Clean..." will force a "full" publish for that server.
Cheers,
Larry
|
|
|
|
|
Re: Problem with republish not getting triggered [message #655348 is a reply to message #652949] |
Sat, 19 February 2011 17:46 |
linen Messages: 10 Registered: February 2011 |
Junior Member |
|
|
Larry Isaacs wrote on Mon, 07 February 2011 17:32 |
Just to make sure, is Project -> Build Automatically still enabled? In
case it helps, right-clicking on the server in the Servers view and
selecting "Clean..." will force a "full" publish for that server.
Cheers,
Larry
|
Hi, I have a related issue with Tomcat failing to publish my project after I manually deleted it from the directory. I've got Build Automatically selected. I've selected to clean the project itself numerous times but it does not publish. I'm on a Mac OS X and when I right click the Server I don't see a "Clean" option. Do I select the server and then select "Clean" from the Project Menu? I tried that and it did not publish the project.
ETA - Resolved this issue by just deleting the server configuration entirely and creating a new one.
[Updated on: Sat, 19 February 2011 18:14] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03805 seconds