Skip to main content

Build problem after revision 8077 (PackageManager.java)

3 replies [Last post]
johnemb
Offline
Joined: 2006-06-14
Points: 0

I have checked out the cdc trunk from the SVN repository and have previously built phoneme_advanced_mr2_b47 Foundation Profile on (and for) linux-x86-generic successfully. However, when I update my repository to the head of trunk the build fails:

---------------------
... generating PackageManager.java
Compiling build-time classes...
../../build/linux-x86-generic/./generated/classes/com/sun/cdc/config/PackageManager.java:34: expected
public class {
^
../../build/linux-x86-generic/./generated/classes/com/sun/cdc/config/PackageManager.java:48: '{' expected
^
2 errors
make: *** [.compile.btclasses] Error 1

---------------------

I have tracked the difference in behavior to revision 8077 (rev. 8076 works). SVN log is:
------------------------------------------------------------------------
r8077 | RomanZ | 2007-11-20 11:10:42 +0100 (Tue, 20 Nov 2007) | 1 line

CR 6631492: MIDPPackageManager is obsolete. Merged from cdc-cr-6631492 8044:8069. Reviewed by Chris.

Do I need to change something in my build environment for the build to work after this revision?

Thanks,

--
John

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cjplummer
Offline
Joined: 2006-10-16
Points: 0

Your tools component is out of date. svn up it, do a clean build, and then the problem will go away.

Chris

johnemb
Offline
Joined: 2006-06-14
Points: 0

Ah! Rookie mistake, I forgot about the "tools" checkout. I guess I'm still not used to phoneME's repository structure - live and learn :)

Thanks guys!

romanz
Offline
Joined: 2006-10-16
Points: 0

Hello John,

I have done the commit that you are referring to, but it is not supposed to require any build configuration/environment changes.

Are you sure you have updated your working copies for all components?
Specifically, this change involved cdc, midp and tools. What "svn info" output do you get for these components?

Please try doing "svn up" for cdc and tools (if you do not use midp) and a clean build after that. If it still fails, please provide your build log, and I will look into it deeper.

Regards,
Roman