[android-developers] Re: changing path r.java

2008-10-02 Thread Xavier Ducrohet
Ah this is a different problem. The plugin just look at all the source folders, and takes the first one that contains the package declared in the manifest. There is no way at this point to specify which source folder you want to use in case several actually contains the package. Xav On Wed, Oc

[android-developers] Re: changing path r.java

2008-10-02 Thread Alan Birtles
Yes but you can have multiple parent folders. I have now solved the problem by creating a special package that only exists in the folder that i want r.java to be in then using that package as the parent package for the application Quoting "Mark Murphy" <[EMAIL PROTECTED]>: > > Alan Birtles wrot

[android-developers] Re: changing path r.java

2008-10-02 Thread Mark Murphy
Alan Birtles wrote: > Im not trying to get it in a different package, I want it in the same > package but in a different source folder In Java, the package and the source folder must match. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009

[android-developers] Re: changing path r.java

2008-10-01 Thread Alan Birtles
Im not trying to get it in a different package, I want it in the same package but in a different source folder hackbod wrote: > Don't do this. The R class is created for you by the build system, > and just there for you to get constants out of. If you need those > constants from another java p

[android-developers] Re: changing path r.java

2008-10-01 Thread hackbod
Don't do this. The R class is created for you by the build system, and just there for you to get constants out of. If you need those constants from another java package, just important the R class into that java file. On Oct 1, 4:03 pm, "Chris Chiappone" <[EMAIL PROTECTED]> wrote: > I was tryin

[android-developers] Re: changing path r.java

2008-10-01 Thread Chris Chiappone
I was trying to think of a way to solve this also. Basically if you extend R.java somewhere else then just reference your new subR.java class and it would work. But you would still need to have the super class in the the main packaged declared in the manifest. ~chris On Wed, Oct 1, 2008 at 3:3

[android-developers] Re: changing path r.java

2008-10-01 Thread Xavier Ducrohet
The R.java class is always created in the package declared in manifest. The only option you have is changing the package. Xav On Tue, Sep 30, 2008 at 8:42 AM, alan <[EMAIL PROTECTED]> wrote: > > Is it possible to change the path of r.java? My application has shared > source folders with a J2ME