https://bugzilla.novell.com/show_bug.cgi?id=643202

https://bugzilla.novell.com/show_bug.cgi?id=643202#c1


--- Comment #1 from Jonathan Pobst <[email protected]> 2010-10-01 16:09:04 UTC 
---
[Pasting mailing list message, since it's a private list]

I get this compilation error when the MainLauncher Activity inherits from
another Activity in a Class Library that the main assembly has a reference
to.

Error      1              System.InvalidOperationException: Command failed.
Command: C:\Program Files (x86)\Java\jdk1.6.0_20\bin\javac.exe "-d"
"bin\classes" "-classpath"
"C:\android-sdk-windows\platforms\android-8\android.jar;d:\MonoDroid\MonoDro
idInheritActivity\obj\Debug\android\bin\mono.android.jar"
"d:\MonoDroid\MonoDroidInheritActivity\obj\Debug\android\src\com\novell\mono
droid\runtimeservice\IMonoRuntimeService.java"
"d:\MonoDroid\MonoDroidInheritActivity\obj\Debug\android\src\mono\MonoPackag
eManager.java"
"d:\MonoDroid\MonoDroidInheritActivity\obj\Debug\android\src\monoDroidInheri
tActivity\Activity1.java"
"d:\MonoDroid\MonoDroidInheritActivity\obj\Debug\android\src\monoDroidInheri
tActivity\__Proxy__Activity1.java"
d:\MonoDroid\MonoDroidInheritActivity\monodroid    MonoDroidInheritActivity

This was tested on Preview 4 of MonoDroid.

You can reproduce by:
1. Create a Monodroid Application.
2. Create a MonoDroid Class Library.
3. Reference the class library.
4. Add class ParentActivity : Activity (which inherits Activity) to the
Class Library.
5. Change the MainLauncher Activity of the MonoDroid Application to inherit
from ParentActivity (located in the Class Library).

The result is the error message above.

If I move the ParentActivity to the main assembly project, there are no
compilation errors.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to