mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Change to the build process of the eclipse agent: Any dependencies it has on stuff in lombok-core is now explicitly added in build.xml. Less code duplication that way.
This commit is contained in:
1 parent
76f50ccf2e
commit
3986d1ff54
1 file changed
+12
-1
@@ -22,6 +22,11 @@
|
||||
<project name="lombok" default="dist">
|
||||
<property name="SNIPPET_TAB_STOP" value="2" />
|
||||
<property name="build.compiler" value="javac1.6" />
|
||||
<fileset dir="src" id="eclipse.agent.main.deps">
|
||||
<include name="lombok/core/SpiLoadUtil.java" />
|
||||
<include name="lombok/Lombok.java" />
|
||||
</fileset>
|
||||
|
||||
<path id="lombok.deps.path">
|
||||
<fileset dir="deps">
|
||||
<include name="*.jar" />
|
||||
@@ -195,7 +200,13 @@
|
||||
<echo file="build/lombok/META-INF/services/javax.annotation.processing.Processor">lombok.javac.apt.Processor</echo>
|
||||
|
||||
<mkdir dir="build/eclipse.agent" />
|
||||
<javac srcdir="src_eclipseagent" debug="on" destdir="build/eclipse.agent" target="1.5">
|
||||
<mkdir dir="build/eclipse.agent.src" />
|
||||
<copy todir="build/eclipse.agent.src">
|
||||
<fileset dir="src_eclipseagent" />
|
||||
<fileset refid="eclipse.agent.main.deps" />
|
||||
</copy>
|
||||
|
||||
<javac debug="on" destdir="build/eclipse.agent" target="1.5" srcdir="build/eclipse.agent.src">
|
||||
<classpath refid="eclipse.agent.deps.path" />
|
||||
<classpath refid="eclipse.agent.libs.path" />
|
||||
</javac>
|
||||
|
||||
Reference in new issue
Block a user