Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Changes in stage directory, no change to application
Changes in stage directory, no change to application [message #659611] Mon, 14 March 2011 15:38 Go to next message
gkontos  is currently offline gkontos
Messages: 10
Registered: January 2011
Junior Member
I've been using STS to deploy things to Virgo. This may be a question for them and not for you, but I figured that asking here would help me learn a little better how virgo is working.

When I make a change to my project within eclipse (say editing a .jspx file or updating a .css file), the change moves (via STS) to the stage directory. Unfortunately, I the change doesn't show up in a browser. I can refresh 'til my heart's content, but no change.

I was thinking that the stage directory was, more or less, the same as Tomcat's webapp directory. Since the autoDeploy in the tomcat-server.xml file is set to true, I figured that the changes would propagate.

Conceptually, what am I missing? Also, is there someway to get my changes to deploy to the development server?

Thanks for your help!
Re: Changes in stage directory, no change to application [message #659685 is a reply to message #659611] Tue, 15 March 2011 05:15 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
When static resources are updated, the tooling is meant to call the updateEntry operation of the ManageableBundleArtifact mxbean. This is because the contents of the stage directory are deployed into Virgo, which involves copying into Virgo's work directory and Virgo needs to be involved to update the resources in that directory.

I'm not sure what types of resources the tooling does this for and it may be that the types you are using do not work properly. Try updating a .html resource and put a breakpoint on the mxbean to see if it is driven. Then you can see whether or not it is driven for the resources you are having problems with. Please raise a bug if you find a problem and we can add it to the backlog of things to work on after the Virgo tooling is donated to Eclipse.

Hope that helps.
Re: Changes in stage directory, no change to application [message #659986 is a reply to message #659685] Wed, 16 March 2011 09:48 Go to previous messageGo to next message
gkontos  is currently offline gkontos
Messages: 10
Registered: January 2011
Junior Member
Unfortunately, I've gone off and created all sorts of other errors. If I end up in the same spot again I'll try testing a static resource and let you know.
Re: Changes in stage directory, no change to application [message #659988 is a reply to message #659986] Wed, 16 March 2011 09:50 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
Ouch, but thanks.
Re: Changes in stage directory, no change to application [message #659997 is a reply to message #659988] Wed, 16 March 2011 10:17 Go to previous message
gkontos  is currently offline gkontos
Messages: 10
Registered: January 2011
Junior Member
Razz I've been a one man wrecking machine this week!
Previous Topic:Repository takes precedence over stage for bundle selection
Next Topic:Split packages in single scope
Goto Forum:
  


Current Time: Wed Aug 20 22:42:04 EDT 2014

Powered by FUDForum. Page generated in 0.09326 seconds