mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-20 02:17:52 +00:00
Refactored the source folders.
This commit is contained in:
1 parent
7fd947ea40
commit
1a0e611a9c
85 files changed
+35
-14
No files matched your search
+3
-2
@@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="src/core"/>
|
||||
<classpathentry kind="src" path="src/eclipseAgent"/>
|
||||
<classpathentry kind="src" path="src/installer"/>
|
||||
<classpathentry kind="src" path="experimental/src"/>
|
||||
<classpathentry kind="src" path="src_eclipseagent"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="deps/lombok/org.eclipse.jdt.core_3.5.0.v_963.jar"/>
|
||||
<classpathentry kind="lib" path="deps/lombok/org.eclipse.jdt.ui_3.5.1.r351_v20090821-0800.jar"/>
|
||||
|
||||
@@ -31,7 +31,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
|
||||
|
||||
<target name="version" description="Shows the version number" unless="lombok.version">
|
||||
<mkdir dir="build/lombok" />
|
||||
<javac includeDestClasses="false" srcdir="src" debug="on" destdir="build/lombok" target="1.5" includes="lombok/core/Version.java" />
|
||||
<javac includeDestClasses="false" srcdir="src/core" debug="on" destdir="build/lombok" target="1.5" includes="lombok/core/Version.java" />
|
||||
<java
|
||||
classname="lombok.core.Version"
|
||||
classpath="build/lombok"
|
||||
|
||||
@@ -80,12 +80,19 @@ lombok code including the various agents.
|
||||
<findbugs home="deps/buildScripts/findBugs" output="html" outputFile="findbugsReport.html" jvmargs="-Xmx512m">
|
||||
<auxClasspath path="build/lombok" />
|
||||
<auxClasspath path="build/lombok_aux" />
|
||||
<sourcePath path="src" />
|
||||
<sourcePath path="src_eclipseagent" />
|
||||
<sourcePath path="src/core" />
|
||||
<sourcePath path="src/installer" />
|
||||
<sourcePath path="src/eclipseAgent" />
|
||||
<class location="build/lombok/lombok" />
|
||||
</findbugs>
|
||||
</target>
|
||||
|
||||
<patternset id="copyables">
|
||||
<exclude name="**/*.java" />
|
||||
<exclude name="**/*.class" />
|
||||
<exclude name="**/*.svg" />
|
||||
</patternset>
|
||||
|
||||
<target name="compile" description="Compiles the code">
|
||||
<mkdir dir="build/lombok" />
|
||||
<!-- ant includes the destination dir on the classpath (and there are good reason to do this), but that also means
|
||||
@@ -101,21 +108,30 @@ lombok code including the various agents.
|
||||
and partly because our injection mechanism (annotations) doesn't work very
|
||||
well on javac 1.5, hence, when using javac, we do demand you're on 1.6. -->
|
||||
<javac debug="on" destdir="build/lombok" target="1.5">
|
||||
<src path="src" />
|
||||
<src path="src_eclipseagent" />
|
||||
<src path="src/core" />
|
||||
<src path="src/installer" />
|
||||
<src path="src/eclipseAgent" />
|
||||
<exclude name="lombok/javac/**" />
|
||||
<classpath refid="deps.path" />
|
||||
<classpath refid="libs.path" />
|
||||
</javac>
|
||||
<javac srcdir="src" debug="on" destdir="build/lombok" target="1.6" includes="lombok/javac/**">
|
||||
<javac debug="on" destdir="build/lombok" target="1.6">
|
||||
<src path="src/core" />
|
||||
<src path="src/installer" />
|
||||
<src path="src/eclipseAgent" />
|
||||
<include name="lombok/javac/**" />
|
||||
<classpath refid="deps.path" />
|
||||
<classpath refid="libs.path" />
|
||||
</javac>
|
||||
<copy todir="build/lombok">
|
||||
<fileset dir="src">
|
||||
<exclude name="**/*.java" />
|
||||
<exclude name="**/*.class" />
|
||||
<exclude name="**/*.svg" />
|
||||
<fileset dir="src/installer">
|
||||
<patternset refid="copyables" />
|
||||
</fileset>
|
||||
<fileset dir="src/core">
|
||||
<patternset refid="copyables" />
|
||||
</fileset>
|
||||
<fileset dir="src/eclipseAgent">
|
||||
<patternset refid="copyables" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
|
||||
@@ -78,7 +78,11 @@ the maven repository that contains lombok's deliverables for those using maven.
|
||||
<checksum property="mvn.bin.sha1" file="${mvn.bin}/lombok-${lombok.version}.jar" algorithm="SHA1" />
|
||||
<echo file="${mvn.bin}/lombok-${lombok.version}.jar.md5">${mvn.bin.md5}</echo>
|
||||
<echo file="${mvn.bin}/lombok-${lombok.version}.jar.sha1">${mvn.bin.sha1}</echo>
|
||||
<jar destfile="${mvn.bin}/lombok-${lombok.version}-sources.jar" basedir="src" excludes="**/.DS_Store" />
|
||||
<jar destfile="${mvn.bin}/lombok-${lombok.version}-sources.jar" excludes="**/.DS_Store">
|
||||
<fileset dir="src/core" />
|
||||
<fileset dir="src/installer" />
|
||||
<fileset dir="src/eclipseAgent" />
|
||||
</jar>
|
||||
<checksum property="mvn.src.md5" file="${mvn.bin}/lombok-${lombok.version}-sources.jar" algorithm="MD5" />
|
||||
<checksum property="mvn.src.sha1" file="${mvn.bin}/lombok-${lombok.version}-sources.jar" algorithm="SHA1" />
|
||||
<echo file="${mvn.bin}/lombok-${lombok.version}-sources.jar.md5">${mvn.src.md5}</echo>
|
||||
|
||||
@@ -230,7 +230,7 @@ such as converting the changelog into HTML, and creating javadoc.
|
||||
check the <a href="lombok/package-summary.html">lombok</a> package. If you're trying to extend lombok or
|
||||
write your own plugins, the other packages are what you're looking for.</body></html>
|
||||
]]></echo>
|
||||
<javadoc sourcepath="src" defaultexcludes="yes" destdir="build/api" windowtitle="Lombok" Overview="${javadoc.overview.html}">
|
||||
<javadoc sourcepath="src/core" defaultexcludes="yes" destdir="build/api" windowtitle="Lombok" Overview="${javadoc.overview.html}">
|
||||
<classpath refid="deps.path" />
|
||||
<classpath refid="libs.path" />
|
||||
<link href="http://java.sun.com/javase/6/docs/api/" offline="true" packagelistLoc="./deps/javadoc/java6"/>
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user