Hi, 
 
I have a src directory which has code specific to Blackberry build and
others. So i preprocess it using wtkpreprocess before finally doing the
build.
Now, after preprocessing it, i am not able to use wtkrapc task to
compile. The error i get is I/O error (Access Denied)
 
Below is the Script and error output.
============
Script
===========
 <target name="-eclipseme-bb-8100" 
  description="Build for 8100 Pearl">
    <echo message="Building for Blackberry Pearl 8100 "/>
    <mkdir dir="${path.build.output.BlackBerry.Pearl}" /> 
     <wtkrapc 
    verbose="true"
    jadfile="${path.build.output.BlackBerry}/${midlet.name}.jad"
    source = "${path.preprocessed}/src"
       codename="${midlet.name}" 
    import="${bb.buildjars.home.lib}\net_rim_api.jar"
    destdir="${path.build.output.BlackBerry.Pearl}" 
    quiet="true" midlet="true"
   />
   </target>
 
 
================
Error Output
===============
eclipseme-bb-8100:
    [echo] Building for Blackberry Pearl 8100
   [mkdir] Created dir: C:\JAVA\J2ME\Phase2\deployed\BlackBerry\BBPearl
 [wtkrapc]
**************************************************************
 [wtkrapc] * Antenna 1.0.1 initialized for project "Phase2"
*
 [wtkrapc] * Using Sun Wireless Toolkit 2.5 (CLDC-1.1; MIDP-2.0)
*
 [wtkrapc]
**************************************************************
 [wtkrapc]
**************************************************************
 [wtkrapc] * RAPC Ant Task v0.1 initialized for project "Phase2"
*
 [wtkrapc] * Ant task by C. Enrique Ortiz, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>      *
 [wtkrapc] * For JDE 3.7 (C:\Program Files\Research In Motion\BlackBerry
JDE 4.3.0\bin) *
 [wtkrapc]
**************************************************************
 [wtkrapc] Codename   : Phase2
 [wtkrapc] JAD        :
C:\JAVA\J2ME\Phase2\deployed\BlackBerry\Phase2.jad
 [wtkrapc] Source(s)  : C:\JAVA\J2ME\Phase2\preprocessed\src
 [wtkrapc] Imports    : C:\Program Files\Research In Motion\BlackBerry
JDE 4.3.0\lib\net_rim_api.ja
 
 [wtkrapc] MIDlet mode: true
 [wtkrapc] Quiet mode : true
 [wtkrapc] DestDir    : C:\JAVA\J2ME\Phase2\deployed\BlackBerry\BBPearl
 [wtkrapc] Compiling now...
 [wtkrapc]
 [wtkrapc] I/O Error: C:\JAVA\J2ME\Phase2\preprocessed\src (Access is
denied)
 [wtkrapc] Exception: Failed (result=1)
 [wtkrapc] Done
 
UILD FAILED"
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to