Skip to content

IO / play precompile broken #1450

@JohannesBeranek

Description

@JohannesBeranek

Play Version (1.5.x / etc)

framework/src/play/libs/IO.java
broken in d6dae44

Issue

We've been using play 1 for about 10 years now, together with lombok.

Recently tried to update to master and hit an issue where our lombok module python before() method was not executed - turned out the commands.py wasn't copied.

By going back and forth with versions and individual files I could nail down the file and revision at fault.

I don't know the exact change yet, but in
576fcc0

everything works.

Going to d6dae44
our lombok module isn't running anymore when precompile is executed.

Switching just
framework/src/play/libs/IO.java
back to the previous commit
576fcc0
everything works again.

Same with master - if I just switch that single file back, everything works again.

Reproducible Test Case

Add a module with a before(...) function in commands.py and add some print statement there. Now run play precompile and you should see the difference. Didn't test this exact case, as this is just fyi, as we're probably going to fork play going forward, as it seems there won't be much development happening anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions