-
1. Re: Build issue
rhills Nov 30, 2008 11:09 AM (in response to rhills)Forgot to mention,
Ant 1.7.0
OS: Windows XP Professional SP3 -
2. Re: Build issue
jesper.pedersen Nov 30, 2008 12:01 PM (in response to rhills)Strange - I don't see this problem; and the file hasn't been changed for some time.
I use Ant 1.7.1 and Sun JDK-1.5.0_16... -
3. Re: Build issue
rhills Nov 30, 2008 12:13 PM (in response to rhills)I just upgraded ant to 1.7.1 but the problem persists.
I was using JDK 1.5.0_09 (which is my default for another project) but I've also tried it with JDK 1.6.0_07 - same result each time.
It's very frustrating, and it has me dead in the water ATM.
I'll try the windoze fixall - reboot and try again. Maybe there's something funny going on in my environment somewhere. It's strange that I had the problem yesterday for a short while but have built numerous times since without any problem until recently. -
4. Re: Build issue
jesper.pedersen Nov 30, 2008 2:00 PM (in response to rhills)I have added eol-style=native to the files -- maybe that helps on Windows...
Have you tried with 5.0_16 or 6.0_10 ? -
5. Re: Build issue
rhills Dec 1, 2008 6:52 AM (in response to rhills)I think it's a problem with windoze and java and file/directory deletion. I'm sure I've seen it in the past. That said, I'm also using Tortoise SVN, so it may be contributing somehow.
The problem went away when I rebooted my notebook. I tend to use "resume" mode a lot as I travel to work by train and I just shut the lid when I get to my station. This afternoon on the way home, the problem happened again. this time I noticed that the "build" directory didn't go away after a "clean". If I manually deleted the "build" directory, there'd be no error, but it wouldn't go away. I tried via both file mangler and via the command line, same result. After rebooting, the "build" directory was gone and the build process worked again.
Anyway, thanks for adding the eol-style, I'll see if it helps. I might also try a different version of java, though I'd prefer to stick with GA releases of 6 where I can. -
6. Re: Build issue
rhills Dec 1, 2008 8:16 AM (in response to rhills)Actually, there's one other thing that might help. Could you add the svn:ignore property to the "build" and "dist" directories?
If nothing else, it would help reduce clutter when committing files (or creating patches). -
-
8. Re: Build issue
rhills Dec 1, 2008 8:38 AM (in response to rhills)Thanks for that. Building cleanly ATM, but I'll reserve my judgement for a day or so!
At least the clutter has gone :-)