most probably by using profiles. You would add plugin configurations for different devices and then do a specific binary by activating a certain profiles.
AFAIK what the netbeans j2me projects do is just about that. I've done some basic evaluation of this nb project type to figure out if similar results could be achieved using maven. My idea is that yes, it's possible but one still won't get any UI support in netbeans for that as the mobility pack doesn't expose any APIs that maven projects could plug into. At that point I stopped caring, I don't do any j2me development anyway, was researching for future features of mevenide module for netbeans. Regards Milos PS: is you get something working that's a maven equivalent to the netbeans mobility projects, please let me know. it would be interesting to show such setup to the netbeans mobility people. On 9/16/06, Srepfler Srgjan <[EMAIL PROTECTED]> wrote:
Frank Seidinger wrote: > Vandermi Joao da Silva wrote: > >> Is there some plugin for J2ME? >> If that exist plugin ,is possible create a file jad to project J2me? >> I see one plugin in mojo site but the URL is down. >> >> > > Dear Vandermi, > > I've created a j2me plugin for maven2. Actually it does excactly what your > are looking for. It preverifies your classes and creates a java descriptor > after packaging your jar. The manifest entries are generated through > configuration. > > The plugin is currently in the mojo-sandbox on the codehaus site. You can > find the plugins documentation at: > > http://mojo.codehaus.org/j2me-maven-plugin > > If you have any questions regarding the plugin, please feel free email or > post me, > > Kind regards, > > Frank Seidinger > > Hi Frank, I've noticed that the netbeas IDE now features some sort of a preprocessor that allows multiple jar file outputs (in order to tackle the device fragmentation issue). Can your plugin use this preprocessor (I don't know if it's a part of the standard j2me sdk)? If so how do you tackle the "one artifact per module" issue as effectually one source code base could generate more then one artifact? Thanks, Srgjan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
