tdiesler / fabric8poc

POC for the new Fabric8 API
Apache License 2.0
2 stars 5 forks source link

#6 Remove generic getProfileItemBuilder from ProfileBuilder. Add addConf... #7

Closed iocanel closed 10 years ago

iocanel commented 10 years ago

...igurationItem and removeConfigurationItem from ProfileBuilder.

tdiesler commented 10 years ago

This doesn't compile

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project fabric8-spi: Compilation failure: Compilation failure:
[ERROR] /Users/tdiesler/git/fabric8poc/fabric/spi/src/main/java/io/fabric8/spi/utils/ProfileUtils.java:[77,77] cannot find symbol
[ERROR] symbol:   method getProfileItemBuilder(java.lang.String,java.lang.Class<io.fabric8.api.ConfigurationProfileItemBuilder>)
[ERROR] location: variable prfBuilder of type io.fabric8.api.ProfileBuilder
[ERROR] /Users/tdiesler/git/fabric8poc/fabric/spi/src/main/java/io/fabric8/spi/utils/ProfileUtils.java:[78,39] cannot find symbol
[ERROR] symbol:   method setConfiguration(java.util.Map<java.lang.String,java.lang.Object>)
[ERROR] location: variable itemBuilder of type io.fabric8.api.ConfigurationProfileItemBuilder
iocanel commented 10 years ago

I am working on it.

iocanel commented 10 years ago

Rebased and fix all compile and test failures.