Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread Damien Lecan
thx for this hint. i already tried ${settings.localRepository} but since i use the default (and no ${settings.localRepository} is specified in my settings.xml) maven can't resolve the property. I'm using default local repository location, and it's working ! ${settings.localRepository} can be use

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread CodingPlayer
Hi Damien, thx for this hint. i already tried ${settings.localRepository} but since i use the default (and no ${settings.localRepository} is specified in my settings.xml) maven can't resolve the property. and the second reason why i didn't investigate more time to get rid of the ${env.WTK_HOME}

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread Damien Lecan
${env.WTK_HOME}/lib/cldcapi11.jar;${env.WTK_HOME }/lib/midpapi20.jar Glad to see that working. At least, if you have an internal maven repository, you might have a more portable build system. You could deploy cldcapi11.jar and midpapi20.jar into your interna

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread CodingPlayer
Hi Damien, i just found some time to try out your hint (configuring the compile plugin to use a bootclasspath). here is the config, that worked for me finally: org.apache.maven.plugins maven-compiler-plugin ${env.WTK_HOME}/lib/cldcapi11.jar;$

Re: [M2] j2me-maven-plugin: preverification error

2007-06-26 Thread CodingPlayer
thx, i'll try this out very soon, and let u know if it worked. Damien Lecan-2 wrote: > >> u might have misunderstood my problem: >> >> - in the J2ME API java.io.DataInputStream IS INCLUDED. > > Ok > You need to change compiler bootclasspath, with J2ME API classes. In > my company, we are using

Re: [M2] j2me-maven-plugin: preverification error

2007-06-25 Thread Damien Lecan
u might have misunderstood my problem: - in the J2ME API java.io.DataInputStream IS INCLUDED. Ok You need to change compiler bootclasspath, with J2ME API classes. In my company, we are using our own J2ME API jars, but Pyx4me provides J2ME API jars you can add in your compiler bootclasspath. Ex

Re: [M2] j2me-maven-plugin: preverification error

2007-06-25 Thread CodingPlayer
Hi Damien, u might have misunderstood my problem: - in the J2ME API java.io.DataInputStream IS INCLUDED. - the problem is that the J2ME is derived from an old JDK 1.1 (just slightly changed), and therefore the inheritence structure for the java.io.DataInputStream (in J2ME) is: java.lang.Object

Re: [M2] j2me-maven-plugin: preverification error

2007-06-25 Thread Damien Lecan
Hello, i'm using a java.io.DataInputStream in my application, which is derived from: So how can i tell the maven-compile-plugin, to use the J2ME API insteaed of JDK? (When compiling with my old eclipseME-plugin, everything works fine, for JDK 1.3) Your question is not clear :) You want to use

[M2] j2me-maven-plugin: preverification error

2007-06-25 Thread CodingPlayer
Hi, i just try to get my J2ME application running under Maven2. here is my pom: ... 1.3 1.1 . com.pyx4me j2me-maven-plugin 2.0.1