Hi, On Wed, Feb 9, 2011 at 2:06 PM, Knut Anders Hatlen <[email protected]>wrote:
> siddharth srivastava <[email protected]> writes: > > > Hi > > > > After my failed effort to build derby on Fedora 14, I switched to > > windows for derby development. > > I noticed a few things, which I would like to share: > > > > 1) when we re-build derby once it has already been built, then we need > > to manually remove all the jar files ffrom the ..\sane folder > > otherwise during building jars (ant buildjars), it fails to progress > > as it is unable to overwrite the existing jars. > > I don't know that if it is supposed to behave so then why or does it > > depend upon the platform in some way ? > > I can recall that I also faced the same problem in Windows Vista, but not faced it in Ubuntu! Since I didn't find a solution, I used a script to delete all jars. > I don't know what's causing the problems you're seeing, but perhaps > "ant buildjarsclean" would work better for you than "ant buildjars"? > That build target deletes the jar files before recreating them, so you > wouldn't have to delete them manually. > > Thanks Knut for the easy solution! > -- > Knut Anders > -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka. Blog: http://nirmalfdo.blogspot.com/
