Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dash-dev] Re: Athena OS X Local Build


Looks like we crossed emails a bit, but I'll respond to your initial reply. I had all this right, I think. I think the issue was that I was assuming that build would use the properties file specified in the project.releng build.xml but it appears to bring build.properties as well in some places. So I was changing all of this stuff and of course it wasn't having any effect. :( Renaming to build.properties looks to have solved this issue.

* a) you have plugins with MANIFEST.MFs which don't declare BREEs
I've checked these over pretty carefully but will look again. I don't think this is issue w/ Enum tho..

*b) your J2SE-* variables are missing jars which you need included on the bootclasspath. If you open a bug and attach a patch (it's easy to test it locally) [2] I can include *more jars in the default bootclasspath entry so everyone benefits. *c) you're using a 32-bit OS with a 64-bit Eclipse, or some similar mismatch. If you're running a 64-bit Eclipse, you need a 64-bit JVM [3]. AFAIK your only option for Java on* *Mac is to install it from the apple.com site (or perhaps from MacPorts). I don't think Sun provides Mac downloads.

Right.. If I mod JavaSE-1.6, J2SE-1.5, etc.. in my build- custom.properties file then that should fix it locally, correct? Or do I need to modify something else? When I use the settings that I sent in other msg, no joy.

My setup is all 64. And you're right, its just installed through update manager. But as Mac OS doesn't provide libraries in standard way; i.e. lre/lib/rt.jar, I've modified the JavaSE-1.6 entries, etc.. Instead I'm using the jars that are specified

One thing I noted is that the compiler being used is actually Eclipse Java Compiler 0.A06, 3.6.0 M1, Copyright IBM Corp 2000, 2009. All rights reserved. Is that 64-bit? If not should I be specifying the Apple javac somehow?


Note too that your tests will not run on MacOSX or Windows in a headlessly-integrated-as-part-of-the-build way [4]. They should run in Eclipse using the AntRunner, but that's a different mechanism.

--

[1]http://wiki.eclipse.org/Common_Build_Infrastructure/Getting_Started/FAQ#My_build_complains_it_can.27t_find_java.lang.Object._Seriously.2C_WTF.3F
[2]https://bugs.eclipse.org/bugs/show_bug.cgi?id=287240
[3]http://wiki.eclipse.org/IRC_FAQ#I_just_installed_Eclipse_on_my_64-bit_system.2C_but_it_does_not_start._What_is_the_problem.3F
[4]https://bugs.eclipse.org/bugs/show_bug.cgi?id=268420



Back to the top