[Eclipseme-users] Need Help on BB Build after wtkpreprocess
Brought to you by:
setera
From: Aggarwal A. <aa...@ko...> - 2008-09-01 09:13:24
|
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, eo...@j2... <mailto:eo...@j2...> * [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" |