Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

R.java files for ANT building (Mac os 10.9)

$
0
0

Hi all,

I am trying to build my project with ant.  Build->Generate Ant Build. I have needed xml files - no problems. But for every module in "gen" forlder I have stubbed resource classes like

 

/*___Generated_by_IDEA___*/

 

package com.actionbarsherlock;

 

/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */

public final class R {

}

 

This cause ant failing compilation.
Also I found that needed R.java files are stored in user/Library/Caches/IdeaIC13/compile-server/android_rapid_rote_5_8d3d0687/targets/java-production/actionbarsherlock/android/generated_sources/aapt/com/actionbarsherlock/R.java - This class contains all what I need.

 

How to make IDEA to generate this class to "gen" folder of corresponding module? (digged a lot in web, but found no strict answer)
Or I need to confugure ant some how to pick right files?

 

Thanks in advance,

Anton


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>