[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.
This commit is contained in:
Reinier Zwitserloot
2020-07-02 23:34:54 +02:00
parent 91f576e7e5
commit 88918e9eb3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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>
+1 -1
View File
@@ -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>