Hi,

I've being using the "unofficial" J2ME maven plugin for a while. I
assume that by J2ME you mean Midlets, cause CDC is just vanilla Java
code and you will not need anything special to deal with that. The
pluging is good but requires a few tweaks (plan for a few hours of
messing around). I'm using it, along with custom scripts, to manage my
(very complicated) built process. 

However, I'm not really sure that maven is the right tool for this job.
First, constraints on MIDP development are so heavy that each
non-trivial project is pretty much unique. Granted, some are more
difficult than others, but still. Second, most maven plugins are not
compatible with CLDC/MIDP (test, code coverage..) so the advantage of
using Maven (many great tools under a common interface) is pretty much
lost until those tools are adapted to CLDC. So finally a good Ant script
may be all you need to compile/test/package your project. You can still
use Maven to generate the website (JavaDoc, source reference, docs...)

Best Regards,
David Garnier 


Le lun 29/12/2003 à 15:43, Erwin van der Koogh a écrit :
> Hello all,
> 
> I am evaluating Maven for a company wide setup and it's looking pretty good 
> at the moment, but the only problem I have run into is J2ME. We 
> occassionally have J2ME projects and the problem is that my pilot project 
> is one of them.
> 
> I have been unable to find any mention anywhere on how to get Maven up and 
> running with J2ME so I dug around some and tried some stuff but that failed.
> Basically I tried to set the bootclasspath option in my project.properties 
> file so that it used the appropriate classes.zip.
> 
> Now that worked just fine for my src/java tree, but it failed miserably on 
> my test tree, because that needs some of the IO classes.
> 
> Does anyone have any experience with this?
> 
> The problem is that I have a zip file with both java.lang classes and other 
> stuff. I only need the classes.zip when I compile my src files and I need 
> the other stuff in the zip file with a normal JDK when compiling junit 
> tests.
> 
> Thanks,
> 
> Erwin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
David Garnier <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to