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 our own J2ME API jars, but Pyx4me provides
> J2ME API jars you can add in your compiler bootclasspath.
> 
> Example (not tested)
> 
> <plugin>
> ...
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-compiler-plugin</artifactId>
>       <configuration>
>               <source>1.3</source>
>               <target>1.1</target>
>               <compilerArguments>
>               
> <bootclasspath>${settings.localRepository}/org/microemu/microemu-cldc/2.0.1/microemu-cldc-2.0.1.jar</bootclasspath>
>               </compilerArguments>
>       </configuration>
>       <dependencies>
>               <dependency>
>                       <groupId>org.microemu</groupId>
>                       <artifactId>microemu-cldc</artifactId>
>                       <version>2.0.1</version>
>               </dependency>
>       </dependencies>
> ...
>  </plugin>
> 
> Notice the path to jar relative to Maven repository and the dependency
> tag which allows Maven to download used libraries in bootclasspath.
> 
> It works with our internal J2ME jars, it should work with those from
> pyx4me.
> Other jars :
> http://repo1.maven.org/maven2/org/microemu/
> 
> Good luck
> 
> Damien Lecan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M2--j2me-maven-plugin%3A-preverification-error-tf3975257s177.html#a11302366
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to