[Gvsig_english] Maven build problem gvSIG Mini trunk version

Just van den Broecke justb4 at gmail.com
Sun Nov 21 18:09:47 CET 2010


Hi,

I am trying to build gvSIG Mini from trunk (r632) according to
https://confluence.prodevelop.es/display/GVMN/How+to+build+the+gvSIG+Mini+workspace 
with Maven.

I had to include 3 more dependencies (es.prodevelop.android.common, 
es.prodevelop.android.spatialindex.base, 
es.prodevelop.android.spatialindex.provider) and some small mods to 
pom.xml. I now have only one build failure that I cannot resolve. It has 
to do with SlidingDrawer2.java that imports the com.android.internal.R 
class. Any help is appreciated. Relevant Maven output is below.

thanks,

--Just

Just van den Broecke
The Netherlands
www.justobjects.nl

---------------- Maven output ----------
  + Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Building es.prodevelop.gvsig.mini.android
[INFO]    task-segment: [clean, install]
[INFO] 
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /opt/gvsig-mini/svn/gvsigmini/target
[INFO] Deleting file-set: bin (included: [**/*], excluded: [])
[INFO] Deleting file-set: gen (included: [**/*], excluded: [])
[INFO] [android:generate-sources {execution: default-generate-sources}]
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] Copying local resource files to combined resource directory.
[INFO] /opt/dev/android/platforms/android-7/tools/aapt [package, -m, -J, 
/opt/gvsig-mini/svn/gvsigmini/target/generated-sources/r, -M, 
/opt/gvsig-mini/svn/gvsigmini/AndroidManifest.xml, -S, 
/opt/gvsig-mini/svn/gvsigmini/target/generated-sources/combined-resources/res, 
-A, /opt/gvsig-mini/svn/gvsigmini/assets, -I, 
/opt/dev/android/platforms/android-7/android.jar]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/opt/gvsig-mini/svn/gvsigmini/src/main/resources
[INFO] skip non existing resourceDirectory 
/opt/gvsig-mini/svn/gvsigmini/target/generated-sources/extracted-dependencies/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 159 source files to 
/opt/gvsig-mini/svn/gvsigmini/target/classes
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

/opt/gvsig-mini/svn/gvsigmini/src/es/prodevelop/gvsig/mini/views/overlay/SlidingDrawer2.java:[34,27] 
package com.android.internal does not exist

/opt/gvsig-mini/svn/gvsigmini/src/es/prodevelop/gvsig/mini/views/overlay/SlidingDrawer2.java:[184,62] 
package R does not exist

/opt/gvsig-mini/svn/gvsigmini/src/es/prodevelop/gvsig/mini/views/overlay/SlidingDrawer2.java:[186,36] 
package R does not exist

etc




More information about the Gvsig_internacional mailing list