• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JARs disappearing from Ant's lib directory

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I recently found this error in my colleagues system.

In her system the reason ant.jar from ANT_HOME\lib got deleted.

In fact all the jars from ANT_HOME\lib got deleted. Its strange but happening everytime she restarts her machine.

If any one has a fix for this please share.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What operating system? Especially the version. (I am guessing some version of Windows, but need to know the exact one)

Exactly where was Ant installed? Full path, please!

Is the PC in a corporate environment?

Have you checked the anti-virus software to see if it quaranteened the JARs?
 
Ramesh Sunkara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

What operating system? Especially the version.



MicroSoft Windows XP Profession Version 2002 Service Pack 3


Exactly where was Ant installed? Full path, please!


C:\Work\apache-ant-1.6.2

Is the PC in a corporate environment?


Yes

Have you checked the anti-virus software to see if it quaranteened the JARs?


No, I didn't i will check now.

Thanks a lot for your time
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One of the possibilities in a corporate environment is that an automatic startup script is removing "questionable" files. One thing your colleague might try doing in change the security on the lib directory to read only. I did a similar thing to prevent "helpful" corporate scripts from doing things I didn't want them doing.

At least she is not running Vista (with UAC active) and didn't place Ant in Program Files; that is a good combination for a disaster!

You could also try using Process Monitor from sysinternals to check the disk events for the lib directory; that might also help identify the culprit.
 
Ramesh Sunkara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will do that and post here the consequences
 
Ramesh Sunkara
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The anti virus is not moving those files.\\May be start-up script is moving them.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic