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 | |
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.
-rw-r--r-- | buildScripts/compile.ant.xml | 2 | ||||
-rw-r--r-- | buildScripts/maven.ant.xml | 4 | ||||
-rw-r--r-- | buildScripts/setup.ant.xml | 2 |
3 files changed, 4 insertions, 4 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> diff --git a/buildScripts/maven.ant.xml b/buildScripts/maven.ant.xml index 329eacec..dcba2ccb 100644 --- a/buildScripts/maven.ant.xml +++ b/buildScripts/maven.ant.xml @@ -37,7 +37,7 @@ This buildfile is part of projectlombok.org. It makes maven-compatible repositor <jar destfile="dist/lombok-${lombok.version}-javadoc.jar"> <fileset dir="doc/api" /> </jar> - + <jar destfile="dist/lombok-${lombok.version}-sources.jar"> <fileset dir="src/core" /> <fileset dir="src/launch" /> @@ -48,7 +48,7 @@ This buildfile is part of projectlombok.org. It makes maven-compatible repositor <fileset dir="test/transform/src" /> <fileset dir="test/core/src" /> </jar> - + <copy tofile="build/pom.xml" overwrite="true" file="doc/maven-pom.xml"> <filterchain> <replacetokens> diff --git a/buildScripts/setup.ant.xml b/buildScripts/setup.ant.xml index c72517c8..d6713222 100644 --- a/buildScripts/setup.ant.xml +++ b/buildScripts/setup.ant.xml @@ -36,7 +36,7 @@ This buildfile is part of projectlombok.org. It sets up the build itself. <property name="ssh.configuration.file" location="ssh.configuration" /> <target name="-setup.ssh.ask"> - <propertyfile file="${ssh.configuration.file}" /> + <property file="${ssh.configuration.file}" /> <fail> Your ssh.configuration file is corrupted; delete it and rerun this script. <condition> |