Skip to content

Conversation

@Flamenco
Copy link

@Flamenco Flamenco commented Dec 8, 2016

@Flamenco Flamenco force-pushed the feature_system_bundle branch from 108c17b to 8091ee3 Compare December 8, 2016 13:26
Copy link
Member

@hwellmann hwellmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check README.md in the repository root, add some tests and use the project's formatting style.

Thanks!

import org.ops4j.pax.exam.options.ProvisionOption;
import org.ops4j.pax.exam.options.UrlReference;
import org.ops4j.pax.exam.karaf.options.SystemBundleOption;
import org.ops4j.pax.exam.options.*;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use wildcard import.

private File file;


public SystemBundleOption(String aGroup, String artifact, String version, File file) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add Javadoc to all public classes.

}

/**
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete

}

/**
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete

if (file != null) {
try {
return new RawUrlReference(file.toURI().toURL().toString());
} catch (MalformedURLException e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect formatting.

@Flamenco
Copy link
Author

Besides these issues, are we OK with combining both adding to system directory AND adding to properties file at same time?

@Flamenco
Copy link
Author

OK. Test added. I did not see any other tests for the standard options though...

We probably should add a start level parameter defaulting to '5', but besides that, anything else?

@rhierlmeier
Copy link

Any progress with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants