[jboss-user] [Clustering/JBoss] - Re: Pull New Deployments on Startup Jboss 4.2.3

bstansberry@jboss.com do-not-reply at jboss.com
Sat Apr 25 05:48:10 EDT 2009

You're right. :(

I'd say it's more of a buggy design issue.

A possible fix would be to parse the value of the "depName" variable (e.g. "farm/foo.ear") into a parentName string (e.g. "farm") and a fileName string ("foo.ear").

You then use the findParent(parentName) method to get the File that points to the farm/ dir, then create a new File(parent, fileName) and use that for the timestamp comparison.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226745#4226745

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226745

More information about the jboss-user mailing list