Codenameone Projects and Library projects both building OK with macros.  Tested with J2ME build and worked ok.