[jboss-jira] [JBoss JIRA] (DROOLS-4029) Quarkus Extension: Simplify file watch routine to account for DRL, BPMN files compiler

Edoardo Vacchi (Jira) issues at jboss.org
Wed May 15 04:44:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edoardo Vacchi updated DROOLS-4029:
-----------------------------------
    Description: 
Quarkus core hot code reload is assuming that the compiled class file for "Foo.ext" is always "Foo.class", whatever is the ext, whatever the contents.
This is false for DRL, BPMN but it is also false for java. Consider the case:

{code}
/* package-private */ class Blah {}
{code}

which always generates {{{Blah.class}} regardless of the java file name.

see https://github.com/quarkusio/quarkus/issues/2371

  was:
Quarkus core is limited, as it does not support file watches outside src/main/java. We need to watch src/main/resources, so we have to patch core to support extra "source" directories.

see https://github.com/quarkusio/quarkus/issues/2370



> Quarkus Extension: Simplify file watch routine to account for DRL, BPMN files compiler
> --------------------------------------------------------------------------------------
>
>                 Key: DROOLS-4029
>                 URL: https://issues.jboss.org/browse/DROOLS-4029
>             Project: Drools
>          Issue Type: Task
>            Reporter: Edoardo Vacchi
>            Assignee: Edoardo Vacchi
>            Priority: Major
>              Labels: drools-core, submarine
>
> Quarkus core hot code reload is assuming that the compiled class file for "Foo.ext" is always "Foo.class", whatever is the ext, whatever the contents.
> This is false for DRL, BPMN but it is also false for java. Consider the case:
> {code}
> /* package-private */ class Blah {}
> {code}
> which always generates {{{Blah.class}} regardless of the java file name.
> see https://github.com/quarkusio/quarkus/issues/2371



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list