aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-15 20:58:33 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-15 20:58:33 +0200
commitc4cd04b7d2ebf39821466bcd5d2285fdd25b221f (patch)
treee8c3574004c9d62896bbb2f9efe2be936e172147 /build.xml
parentd7e5537b9e5afd299bd88aa4566ca343ba12edd7 (diff)
downloadlombok-c4cd04b7d2ebf39821466bcd5d2285fdd25b221f.tar.gz
lombok-c4cd04b7d2ebf39821466bcd5d2285fdd25b221f.tar.bz2
lombok-c4cd04b7d2ebf39821466bcd5d2285fdd25b221f.zip
Just in case people run lombok.jar as a java app (e.g. by double-clicking it), open a browser window with info, and print some useful help to the console.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 25657d12..6f44f40c 100644
--- a/build.xml
+++ b/build.xml
@@ -71,7 +71,11 @@
<target name="dist" depends="clean, compile, getVersion, unpackLibs">
<mkdir dir="dist" />
- <jar basedir="build/lombok" destfile="dist/lombok-${lombok.version}.jar" />
+ <jar basedir="build/lombok" destfile="dist/lombok-${lombok.version}.jar">
+ <manifest>
+ <attribute name="Main-Class" value="lombok.core.ShowUserHelp" />
+ </manifest>
+ </jar>
<jar basedir="build/eclipse.agent" destfile="dist/lombok.eclipse.agent-${lombok.version}.jar">
<manifest>
<attribute name="Premain-Class" value="lombok.agent.eclipse.EclipseParserPatcher" />