diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-07-02 23:34:07 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-07-02 23:34:54 +0200 |
commit | 88918e9eb3e65645fddd0f5f850795ce3fec25df (patch) | |
tree | d386bd51123a00b3352fadd97452764352fd962d /buildScripts/compile.ant.xml | |
parent | 91f576e7e5930f3f7f730a2d3e779f26262adbf3 (diff) | |
download | lombok-88918e9eb3e65645fddd0f5f850795ce3fec25df.tar.gz lombok-88918e9eb3e65645fddd0f5f850795ce3fec25df.tar.bz2 lombok-88918e9eb3e65645fddd0f5f850795ce3fec25df.zip |
[build] fixed a build issue (on 'ant dist') on windows.
apparently on windows symlinking requires admin rights because ?????
This can be fixed with an explicit update to group policies, which I
can't assume anybody working on lombok is going to actually do.
/bin/ln in msysgit just copies (interesting choice). I could write a mechanism
that tries /bin/ln and if not there, try <copy> instead, either in the build scripts
or in ivyplusplus, but that's way too much effort to avoid a 2MB copy. So,
for now, we just copy... if more symlinking is to be done later, we'll revisit, though.
copying is such a silly waste of time, slowing down the build for no reason.
Diffstat (limited to 'buildScripts/compile.ant.xml')
-rw-r--r-- | buildScripts/compile.ant.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml index a68d6dc1..0bcc55bb 100644 --- a/buildScripts/compile.ant.xml +++ b/buildScripts/compile.ant.xml @@ -294,7 +294,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo> </manifest> </jar> <delete file="release-timestamp.txt" /> - <symlink overwrite="true" link="dist/lombok.jar" resource="lombok-${lombok.version}.jar" /> + <copy overwrite="true" tofile="dist/lombok.jar" file="lombok-${lombok.version}.jar" /> <property name="lombok.dist.built" value="true" /> </target> |