I support this wholeheartedly... I know having Windows on your desktop
might be a slap-in-the-face for some, but the reality is many of us work
in a hybrid environment.
I once posted a message asking for small adjustments to the build.xml
file that would make ANT build script usable under regular Windows shell
-- tarballs and such. I will be pleased to work on this if you want to;
takes a few minutes in fact.
Doug -- is there any strong rationale of having CygWin as the
development shell for Windows?
Dawid
Andrzej Bialecki wrote:
Dawid Weiss wrote:
Hi there,
JIRA seems to be offline, so here:
My CygWin installation reports an error when running a repeated 'ant
jar' -- symlink fails with:
jar:
[symlink] ln -s ./build/nutch-0.7-dev.jar
D:\nutch\nutch\trunk/nutch.jar
[symlink] ln: `D:\\nutch\\nutch\\trunk/nutch.jar': File exists
A quick and dirty hack is to attempt to delete the link:
$ svn diff build.xml
Index: build.xml
===================================================================
--- build.xml (revision 179742)
+++ build.xml (working copy)
@@ -101,6 +101,7 @@
jarfile="${build.dir}/${final.name}.jar"
basedir="${build.classes}"
/>
+ <delete failonerror="false" file="${basedir}/${name}.jar.lnk" />
<symlink overwrite="true" link="${basedir}/${name}.jar"
resource="${build.dir}/${final.name}.jar"/>
</target>
Is anyone having the same issue?
Dawid
Same here. I don't think using symlinks on Windows is a good idea. I
think this should be replaced by a copy.