mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-17 04:26:00 +00:00
[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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user