Is there any way to pass props/defines to the stub generator?

20 views
Skip to first unread message

erich.oliphant

unread,
Apr 25, 2021, 1:29:44 PM4/25/21
to Cursive
Hi, I'm using a feature of a lib (Malli + custom registry) that, for now at least, requires me to set a java system property.   It not being set causes an exception to be thrown and that in turn blows up stub generation. 

Colin Fleming

unread,
Apr 27, 2021, 12:05:27 AM4/27/21
to Cursive Group
Hi Erich,

There isn't a way to do this at the moment. I've filed https://github.com/cursive-ide/cursive/issues/2540 to track this, and marked it for the next release.

Cheers,
Colin


On Sun, Apr 25, 2021, at 5:29 PM, erich.oliphant wrote:
Hi, I'm using a feature of a lib (Malli + custom registry) that, for now at least, requires me to set a java system property.   It not being set causes an exception to be thrown and that in turn blows up stub generation. 


--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.

erich.oliphant

unread,
Apr 28, 2021, 10:50:45 AM4/28/21
to Cursive
Sweet thx!.  I think I've gotten around it in the meantime with an alter-var-root hack
Reply all
Reply to author
Forward
0 new messages