SneakyThrows is the only exception right now, but other planned
transformations will also have runtime dependencies.
We'll spin out something lean and mean. In the mean time, just remove
the file lombok/Lombok.class from the jar and include that in your
distribution; it's the only actual dependency.
On Nov 27, 8:24 pm, Vít Šesták <
vit...@gmail.com> wrote:
> Well, you're right if you're writing about most of Lombok annotations
> (e.g. @Data, @Getter, @Setter).
> However, there is at least one exception:
http://projectlombok.org/features/SneakyThrows.html
> For example: I've a project with about 4000 lines with one
> @SneakyThrows so I've to include about 1.7MiB Lombok with one small
> runtime-useful class only :-D
> I understand why authors want to mix delombok, Eclipse plugin, javac
> handlers, Lombok compile-time annotations, Lombok installer and Lombok
> runtime together, but it would be useful to have special ultra thin
> distribution for runtime only.
> Vít Šesták AKA v6ak
>
> On 11/27/09, Michael Lorton <
mich...@circuspop.com> wrote:
>
>
>
> > I don't think there *is* any runtime library. All the annotations seems to
> > write their code on the fly and inject it into the class.
>
> > M.
>
> > On Fri, Nov 27, 2009 at 7:26 AM, v6ak <
v...@volny.cz> wrote:
>
> >> Well, I can write an app using Lombok and compile it (javac, eclipsec,
> >> delombok). However, when I want to run it, I sometimes (currently if
> >> @SneakyThrows is used) need lombok.jar. Well, I can include it to
> >> include path. However, it contains too much things: Lombok installer,
> >> Eclipse plugin, javac handlers, delombok (currently not in stable
> >> version) etc. I don't need many of them. What about separating a
> >> simple slim distribution lombok-runtime.jar which allows to run lombok-
> >> compiled code? Original distribution can be unaffected.
>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups group forhttp://
projectlombok.org/
> >>
project-lombo...@googlegroups.com<project-lombok%2Bunsubscribe@go
oglegroups.com>
> > Groups group forhttp://
projectlombok.org/