开发者

tiny changes of properties file doesn't take effective after an "ant all" build

I'm new to Java and currently involve in a project, this problem confuses me a lot. When I updated my properties files and run "ant all", normally it works when I check it on webpage.

But it didn't work every time, for example, if there is just a tiny change: like from word "Cookiex" => "Cookies"

AccountLogin.cookiesJavaScript=(Cookiex and JavaScript must be enabled)

=>

AccountLogin.cookiesJavaScript=(Cookies and JavaScript must be enabled)

After I do the change, and run "ant all", I couldn't find the change takes effective on webpage.

Incidentally, I found if I tried to make some more changes (even just adding one blank at the end of line) :

AccountLogin.cookiesJavaScript=(Cookies and JavaScript must be enabled) 

then run "ant all", the开发者_开发问答 change takes effective! - it seems the first "ant all" ignored my tiny changes?

I don't know the root cause of this problem and hope someone can explain it for me and help to solve it. Thanks!


I found where the problem is:

I use Bitvise SFTP of Bitvise Tunnelier 4.32 to update file, it didn't really update server file at that time! When I change to use filezilla, this problem is gone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜