Closed joshuawarner32 closed 10 years ago
Looks fine to me. Any comments, @sgoings?
Actually, hold up. The 'macosx' platform is causing problems on mac:
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/jwarner/src/github.com/joshuawarner32/avian/build.gradle' line: 53
* What went wrong:
A problem occurred configuring root project 'avian'.
> Cannot convert the provided notation to an object of type OperatingSystem: macosx.
The following types/formats are supported:
- Instances of OperatingSystem.
- One of the following values: 'windows', 'osx', 'mac os x', 'linux', 'solaris', 'sunos'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.973 secs
Any preferences, @sgoings?
I pushed a fix; I implemented a custom SupportedOS extends OperatingSystem
class. It's not great, but it fixes the problem for now. I'm happy to hear any other solutions.
Seems like a good forward step. It's a bit messy, but that's to be expected for a complex project. :smile:
The new artifact organization (e.g.):
classpath-avian
runtime-avian-<target_config>
tools-<build_config>
Note that the tools- only depends on the config you're building ON, not the one you're targeting. BinaryToObject supports this mode of operation, and by default can generate objects for any target config. I'd like to eventually do the same with bootimage-generator.
Also note that all the modules have "-avian" in the name. This is so we can eventually publish openjdk and android artifacts, and keep the naming consistent.